Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Redeploy Lisk chain adapter for OP USDC #740

Open
wants to merge 11 commits into
base: pxrl/genericOP
Choose a base branch
from

Conversation

pxrl
Copy link
Contributor

@pxrl pxrl commented Nov 8, 2024

No description provided.

This change permits an incremental step towards a totally generic chain
adapter deployment for OP stack chains. It does this be restructuring
the address mappings for OP stack chains, such that the L1 contract
addresses can be resolved solely with the combination of HubPool and
SpokPool chain IDs. It also updates the new OP_Adapter deployment script
to support a runtime-defined SpokePool chain ID. This is clunkily
supplied via the environment because hardhat deploy doesn't seem to
permit arbitrary runtime arguments being supplied, but that aside, this
should ease subsequent deployments.
tasks/testChainAdapter.ts Outdated Show resolved Hide resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bugfixes after testing w/ bridged USDC.

@@ -20,7 +20,7 @@
"SpokePoolVerifier": { "address": "0xB4A8d45647445EA9FC3E1058096142390683dBC2", "blockNumber": 19510875 },
"Mode_Adapter": { "address": "0xf1B59868697f3925b72889ede818B9E7ba0316d0", "blockNumber": 19914094 },
"MulticallHandler": { "address": "0x924a9f036260DdD5808007E1AA95f08eD08aA569", "blockNumber": 20277013 },
"Lisk_Adapter": { "address": "0x8229E812f20537caA1e8Fb41749b4887B8a75C3B", "blockNumber": 20184545 },
"Lisk_Adapter": { "address": "0x370B162f1e8335B368C77a3004F8c2C7BA18d451", "blockNumber": 21145174 },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pxrl pxrl changed the title Redeploy Lisk chain adapter for OP USDC chore: Redeploy Lisk chain adapter for OP USDC Nov 8, 2024
This change permits an incremental step towards a totally generic chain
adapter deployment for OP stack chains. It does this be restructuring
the address mappings for OP stack chains, such that the L1 contract
addresses can be resolved solely with the combination of HubPool and
SpokPool chain IDs. It also updates the new OP_Adapter deployment script
to support a runtime-defined SpokePool chain ID. This is clunkily
supplied via the environment because hardhat deploy doesn't seem to
permit arbitrary runtime arguments being supplied, but that aside, this
should ease subsequent deployments.
Copy link
Contributor

@bmzig bmzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants