Skip to content

chore(reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxy): merge from release/v3.2.5#104

Open
github-actions[bot] wants to merge 523 commits intofeature/reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxyfrom
merge/release/v3.2.5-feature/reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxy
Open

chore(reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxy): merge from release/v3.2.5#104
github-actions[bot] wants to merge 523 commits intofeature/reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxyfrom
merge/release/v3.2.5-feature/reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxy

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

nxqbao and others added 30 commits April 16, 2024 13:46
TuDo1403 and others added 27 commits August 28, 2024 16:08
script: simulate reimburse bridge reward
Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
Signed-off-by: tu-do.ron <tudo.dev@gmail.com>
…okens

script: add script for mapping tokens 2024-14-10
feat(WBTC, LegacyTokenMigrator): add new WBTC, add Legacy Token Migrator
tu-do.ron and others added 2 commits May 4, 2025 10:48
* feat(AssetMigrationUpgradeable): add extension for admin migrating asset into another pools

* chore: pump solc version

* chore: storage layout

* fix(AssetMigration): delete pendingMigrator when transfer migrator role

* fix(AssetMigration): remove initializable extension

* chore: storage layout

* chore: revert format

* Update src/extensions/AssetMigrationUpgradeable.sol

Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* Update src/extensions/AssetMigrationUpgradeable.sol

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* feat(AssetMigration, FunctionalPausable): update interface, allow BM to set whitelist, add functional pausable module

* Update src/extensions/FunctionalPausable.sol

Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* chore: storage layout

* fix(GatewayV3): remove virtual

* BREAKING_CHANGE(PauseEnforcer): add function to pause/unpause function

* fix(MainchainGatewayV3): forbid deposit ERC20

* chore: storage layout

* feat(FunctionRestrictable): add logic

* chore: storage layout

* fix(MainchainGatewayV3): remove fallback create deposit logic

* chore: storage layout

* fix(FunctionRestrictable): refine logic and doc

* Update src/extensions/AssetMigrationUpgradeable.sol

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* chore: storage layout

* fix(FunctionRestrictable): simplify logic

* chore: storage layout

* chore: remove Upgradeable suffix

* chore: storage layout

* fix(Gateway): reduce code size by remove prev initialize function

* Delete logs/storage/FunctionalPausable.sol:FunctionalPausable.log

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* Delete logs/storage/TokenTypePausable.sol:TokenTypePausable.log

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* chore: storage layout

* fix(PauseEnforcer): use constructor to init

* chore: storage layout

* fix(AssetMigration): fix require logic

* chore: storage layout

* fix(FunctionRestrictable): reuse func

* chore: storage layout

* fix(FunctionRestrictable): fix doc

* fix: apply suggestions

* chore: storage layout

* chore: storage layout

* fix(RoninGatewayV3, MainchainGatewayV3): combine previous initialize fn into one, split it to other contract for testing

* chore: storage layout

* fix(AssetMigration): reorder param

* fix(AssetMigration): rename param

* fix: adapt new requirements

* fix: rename interface + add doc

* fix(AssetMigration): minor refactor, delete unused migrateERC721 function

* fix(AssetMigration): whitelist phase move into proposal, minor doc enhancement

* fix: allow passing empty whitelist info when initialize (to support unit-testing)

* chore: storage layout

* test(AssetMigration): add unit tests

* chore: storage layout

* test: adapt new impl

* fix(MainchainGatewayV3): allow withdrawing ERC20 while snapshot

* chore: storage layout

* chore: storage layout

* script: implement poc script

* Delete script/20241217-migrate-assets/Migration_20241217_MigrateAssets.s.sol

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* fix(PauseEnforcer): use constructor to init

* script: update script and post check

* script: fix script path

* fix(RoninGatewayV3, MainchainGatewayV3):
- add whenNotPaused to whitelist, migrateERC20 functions
- forbid all deposit/withdrawal for all standard in initialization (RoninGatewayV3, MainchainGatewayV3)

* chore: storage layout

* fix(RoninGatewayV3, MainchainGatewayV3):
- forbid bulkSubmitWithdrawalSignatures

* script: updae testnet script

* fix(RoninGatewayV3, MainchainGatewayV3):
- add new interface for providing liquidity provideSiloedLiquidity(uint64 remoteChainSelector, uint256 amount)

* chore: storage layout

* script: update config mainnet and postchecks (#98)

* script: add script testnet

* chore: storage layout

* chore: fix version

* chore: add deployment artifact for release/v3.2.5-mainnet

* chore: update migrator address in mainnet.config

* chore: add broadcast artifact

---------

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>
Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
* feat(AssetMigrationUpgradeable): add extension for admin migrating asset into another pools

* chore: pump solc version

* chore: storage layout

* fix(AssetMigration): delete pendingMigrator when transfer migrator role

* fix(AssetMigration): remove initializable extension

* chore: storage layout

* chore: revert format

* Update src/extensions/AssetMigrationUpgradeable.sol

Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* Update src/extensions/AssetMigrationUpgradeable.sol

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* feat(AssetMigration, FunctionalPausable): update interface, allow BM to set whitelist, add functional pausable module

* Update src/extensions/FunctionalPausable.sol

Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* chore: storage layout

* fix(GatewayV3): remove virtual

* BREAKING_CHANGE(PauseEnforcer): add function to pause/unpause function

* fix(MainchainGatewayV3): forbid deposit ERC20

* chore: storage layout

* feat(FunctionRestrictable): add logic

* chore: storage layout

* fix(MainchainGatewayV3): remove fallback create deposit logic

* chore: storage layout

* fix(FunctionRestrictable): refine logic and doc

* Update src/extensions/AssetMigrationUpgradeable.sol

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* chore: storage layout

* fix(FunctionRestrictable): simplify logic

* chore: storage layout

* chore: remove Upgradeable suffix

* chore: storage layout

* fix(Gateway): reduce code size by remove prev initialize function

* Delete logs/storage/FunctionalPausable.sol:FunctionalPausable.log

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* Delete logs/storage/TokenTypePausable.sol:TokenTypePausable.log

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* chore: storage layout

* fix(PauseEnforcer): use constructor to init

* chore: storage layout

* fix(AssetMigration): fix require logic

* chore: storage layout

* fix(FunctionRestrictable): reuse func

* chore: storage layout

* fix(FunctionRestrictable): fix doc

* fix: apply suggestions

* chore: storage layout

* chore: storage layout

* fix(RoninGatewayV3, MainchainGatewayV3): combine previous initialize fn into one, split it to other contract for testing

* chore: storage layout

* fix(AssetMigration): reorder param

* fix(AssetMigration): rename param

* fix: adapt new requirements

* fix: rename interface + add doc

* fix(AssetMigration): minor refactor, delete unused migrateERC721 function

* fix(AssetMigration): whitelist phase move into proposal, minor doc enhancement

* fix: allow passing empty whitelist info when initialize (to support unit-testing)

* chore: storage layout

* test(AssetMigration): add unit tests

* chore: storage layout

* test: adapt new impl

* fix(MainchainGatewayV3): allow withdrawing ERC20 while snapshot

* chore: storage layout

* chore: storage layout

* script: implement poc script

* Delete script/20241217-migrate-assets/Migration_20241217_MigrateAssets.s.sol

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>

* fix(PauseEnforcer): use constructor to init

* script: update script and post check

* script: fix script path

* fix(RoninGatewayV3, MainchainGatewayV3):
- add whenNotPaused to whitelist, migrateERC20 functions
- forbid all deposit/withdrawal for all standard in initialization (RoninGatewayV3, MainchainGatewayV3)

* chore: storage layout

* fix(RoninGatewayV3, MainchainGatewayV3):
- forbid bulkSubmitWithdrawalSignatures

* script: updae testnet script

* fix(RoninGatewayV3, MainchainGatewayV3):
- add new interface for providing liquidity provideSiloedLiquidity(uint64 remoteChainSelector, uint256 amount)

* chore: storage layout

* script: update config mainnet and postchecks (#98)

* script: add script testnet

* chore: storage layout

* chore: fix version

* chore: add deployment artifact for release/v3.2.5-mainnet

* chore: update migrator address in mainnet.config

* chore: add broadcast artifact

* [create-pull-request] automated change

---------

Signed-off-by: tu-do.ron <tudo.dev@gmail.com>
Co-authored-by: tu-do.ron <tudo.dev@gmail.com>
Co-authored-by: HuyHuynh <63286199+huyhuynh3103@users.noreply.github.com>
Co-authored-by: TuDo1403 <47299896+TuDo1403@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants