Skip to content

Custom bridge and 7702 test #27

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

Merged
merged 2 commits into from
Jun 7, 2025
Merged

Custom bridge and 7702 test #27

merged 2 commits into from
Jun 7, 2025

Conversation

qzhodl
Copy link
Contributor

@qzhodl qzhodl commented Jun 6, 2025

No description provided.

5. initiate deposit via bridge: `cast send $OPTIMISM_PORTAL_PROXY_ADDRESS "depositERC20Transaction(address _to,uint256 _mint,uint256 _value,uint64 _gasLimit,bool _isCreation,bytes memory _data)" $GS_ADMIN_ADDRESS 100000000000000000000 100000000000000000000 100000 false 0x --private-key=$GS_ADMIN_PRIVATE_KEY --rpc-url=$L1_RPC_URL`
6. wait for a few seconds and check if the token is received and reflected on native balance on L2: `cast balance $GS_ADMIN_ADDRESS`
2. Disable native deposit: `cast send $OPTIMISM_PORTAL_PROXY_ADDRESS "setNativeDeposit(bool)" true --private-key=$GS_ADMIN_PRIVATE_KEY --rpc-url=$L1_RPC_URL`
3. Set miner for portal: `cast send $OPTIMISM_PORTAL_PROXY_ADDRESS "setMinter(address)" $GS_ADMIN_ADDRESS --private-key=$GS_ADMIN_PRIVATE_KEY --rpc-url=$L1_RPC_URL`
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be minter instead of miner.

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.

3 participants