chore(reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxy): merge from release/v3.2.5#104
Conversation
Script: deploy v3.2.0-rc testnet
deploy: v3.2.0-rc testnet
release: v3.2.0-rc testnet
deploy: batcher sepolia
feat(MockECR1155): MockERC1155 contract
script: simulate reimburse bridge reward
chore: add artifact of mainchain gw
Script: remap wbtc testnet
Release: v3.2.4-mainnet
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
…nRestrictable` (#88)
* 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
PR to merge from release/v3.2.5 to feature/reduce-gas-on-withdraw--clone-operators-to-gateway--bridge-manager-as-proxy.