Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
f5a4cf4
feat: moved contracts from goodprotocol
blueogin Jan 19, 2026
25fcc43
feat: implement bridge limits and minting logic in GoodDollarMinterBu…
blueogin Jan 19, 2026
3f395ad
feat: add upgradeable GoodDollarOFTAdapter contract with mint/burn lo…
blueogin Jan 19, 2026
0852dca
feat: enhance GoodDollarOFTAdapter with bridge fee management and rec…
blueogin Jan 19, 2026
dc0c00a
refactor: streamline GoodDollarMinterBurner and GoodDollarOFTAdapter …
blueogin Jan 19, 2026
38fcaf5
chore: moved layerzero.config.ts file
blueogin Jan 19, 2026
7dad3d7
chore: remove obsolete OFT scripts and configuration files for XDC an…
blueogin Jan 23, 2026
38e1cf5
refactor: simplify GoodDollarOFTAdapter by removing bridge fees, limi…
blueogin Jan 23, 2026
867eed0
chore: update dependencies and configuration for bridge contracts, in…
blueogin Jan 23, 2026
b8f127f
chore: update dependencies and configurations for bridge contracts, i…
blueogin Jan 23, 2026
1949fc5
refactor: update imports and streamline GoodDollarOFTAdapter contract…
blueogin Jan 23, 2026
69b9df6
chore: update Hardhat version to 2.28.3, re-enable hardhat-deploy, an…
blueogin Jan 27, 2026
7840412
Merge branch 'feat/oft-adapter-step1' into feat/oft-adapter-step2
blueogin Jan 27, 2026
5670101
feat: implement fee deduction and minting logic in GoodDollarOFTAdapt…
blueogin Jan 29, 2026
3cb13d7
chore: remove unused Superfluid dependencies and update contract impo…
blueogin Feb 2, 2026
c7c358e
Merge branch 'feat/oft-adapter-step1' into feat/oft-adapter-step2
blueogin Feb 2, 2026
f6bac2e
refactor: simplify limit enforcement in GoodDollarOFTAdapter by conso…
blueogin Feb 2, 2026
826ffa9
fix: update parameter name in _enforceLimits function for clarity in …
blueogin Feb 2, 2026
af45780
feat: enforce minFee and maxFee bounds in _takeFee function of GoodDo…
blueogin Feb 2, 2026
c08bd79
feat: enhance GoodDollarOFTAdapter with UUPS upgradeability and refin…
blueogin Feb 2, 2026
2c21728
refactor: integrate IMessagePassingBridge structures into GoodDollarO…
blueogin Feb 2, 2026
837dcf8
refactor: replace IMessagePassingBridge structures with local structs…
blueogin Feb 2, 2026
5488ae0
refactor: streamline limit enforcement logic in GoodDollarOFTAdapter …
blueogin Feb 4, 2026
0edbbd3
refactor: comment out limit enforcement checks in GoodDollarOFTAdapte…
blueogin Feb 4, 2026
b01b344
refactor: implement UUPS upgradeability in GoodDollarOFTAdapter and e…
blueogin Feb 6, 2026
36e1c86
chore: downgrade hardhat version to 2.26 in package.json and bridge-c…
blueogin Feb 9, 2026
bf88a15
refactor: enhance request approval mechanism in GoodDollarOFTAdapter …
blueogin Feb 9, 2026
028d132
refactor: reorder inheritance and enhance initialization in GoodDolla…
blueogin Feb 9, 2026
cf6abf6
refactor: remove commented-out tests and streamline unsafeAllow confi…
blueogin Feb 9, 2026
4dcc06d
refactor: update predictNextGuid function in GoodDollarOFTAdapter to …
blueogin Feb 9, 2026
765351f
refactor: enhance GoodDollarOFTAdapter by implementing GUID generatio…
blueogin Feb 9, 2026
4b84566
refactor: simplify request approval mechanism in GoodDollarOFTAdapter…
blueogin Feb 9, 2026
ce5f70c
refactor: replace request approval mechanism with failed receive requ…
blueogin Feb 11, 2026
6cf23fd
refactor: streamline limit checks in GoodDollarOFTAdapter by consolid…
blueogin Feb 11, 2026
1614e9e
refactor: update test description in GoodDollarOFTAdapter fork tests …
blueogin Feb 11, 2026
0c3a7e5
refactor: add feeRecipient parameter to initialize function in GoodDo…
blueogin Feb 11, 2026
1aa8439
refactor: include feeRecipient parameter in GoodDollarOFTAdapter test…
blueogin Feb 11, 2026
98d73be
refactor: add ReceiveRequestFailed event to GoodDollarOFTAdapter for …
blueogin Feb 13, 2026
514bcc1
refactor: add timestamp to FailedReceiveRequest in GoodDollarOFTAdapt…
blueogin Mar 2, 2026
05f72f4
refactor: enhance GoodDollarOFTAdapter with additional error handling…
blueogin Mar 2, 2026
5a3e63d
refactor: simplify documentation in GoodDollarMinterBurner and GoodDo…
blueogin Mar 3, 2026
28c3aa5
refactor: remove unused IIdentity interface and simplify _toBytes32 f…
blueogin Mar 3, 2026
eb08888
refactor: modify approveFailedRequest function in GoodDollarOFTAdapte…
blueogin Mar 11, 2026
e5943e5
refactor: simplify documentation in GoodDollarMinterBurner by removin…
blueogin Mar 16, 2026
6b22862
refactor: update approveFailedRequest function in GoodDollarOFTAdapte…
blueogin Mar 16, 2026
348ad96
refactor: add validation to GoodDollarOFTAdapter to prevent sending t…
blueogin Mar 18, 2026
1d6970a
feat: add mock contracts for testing including ControllerMock, LayerZ…
blueogin Mar 18, 2026
e41969d
feat: add unit and end-to-end tests for GoodDollarOFT and GoodDollarO…
blueogin Mar 18, 2026
077cff0
feat: add end-to-end tests for GoodDollarOFTAdapter on Celo mainnet f…
blueogin Mar 19, 2026
41f5d4f
feat: introduce GoodDollarOFTMinterBurner contract for minting and bu…
blueogin Mar 19, 2026
0e1c1bf
feat: add input validation for addresses in GoodDollarOFTAdapter and …
blueogin Apr 15, 2026
d63c9c3
chore: initial plan setup
Copilot Apr 19, 2026
99eeaa5
feat: add unit tests for receive path, fees, limits, and zero-address…
Copilot Apr 19, 2026
72c00b8
chore: revert yarn.lock to original state
Copilot Apr 19, 2026
29d1f27
fix: add explicit permissions to GitHub Actions workflow and remove t…
Copilot Apr 19, 2026
92451a1
fix: add missing-initializer to harness unsafeAllow; update CI to run…
Copilot Apr 19, 2026
e91a855
chore: update GitHub Actions workflow to run specific tests for GoodD…
blueogin Apr 20, 2026
ad4dcea
test: add unit test for bridging limits exceeded scenario in GoodDoll…
blueogin Apr 20, 2026
693f82d
chore: update GitHub Actions workflow to rename test step for clarity…
blueogin Apr 20, 2026
9d2989f
fix: enhance token decimals validation in GoodDollarOFTAdapter to ens…
blueogin Apr 20, 2026
8f5a5cf
fix: update handling of failed receive requests in GoodDollarOFTAdapt…
blueogin Apr 20, 2026
686bb4d
fix: add innerTokenDecimals to GoodDollarOFTAdapter for improved toke…
blueogin Apr 28, 2026
b673f4c
chore: update GitHub Actions workflow to run all unit tests for bridg…
blueogin Apr 28, 2026
164f893
Merge branch 'master' into feat/oft-adapter-step2
blueogin Apr 29, 2026
4af9303
chore: update GitHub Actions workflow to run OFT unit tests for bridg…
blueogin Apr 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/bridge-contracts-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Bridge Contracts Unit Tests

on:
push:
branches:
- master
paths:
- 'packages/bridge-contracts/**'
- '.github/workflows/bridge-contracts-tests.yml'
pull_request:
paths:
- 'packages/bridge-contracts/**'
- '.github/workflows/bridge-contracts-tests.yml'

permissions:
contents: read

jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'

- name: Install dependencies
run: yarn install --immutable
env:
YARN_NODE_LINKER: node-modules

- name: Compile contracts
run: yarn build
working-directory: packages/bridge-contracts

- name: Run OFT unit tests
run: yarn test:oft
working-directory: packages/bridge-contracts

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
**/node_modules
**/.yarn/cache
**/.DS_STORE
.pnp.cjs
.pnp.loader.mjs
package-lock.json
packages/**/dist
packages/bridge-app/.yarn/install-state.gz
packages/bridge-contracts/.yarn/install-state.gz
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
],
"packageManager": "yarn@4.6.0",
"resolutions": {
"hardhat": "2.28.3"
"hardhat": "2.26"
}
}
Loading
Loading