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

Feedback for “Bridging your standard ERC-20 token using the Standard Bridge” #1163

Closed
plamarque opened this issue Dec 6, 2024 · 0 comments · Fixed by #1164
Closed

Feedback for “Bridging your standard ERC-20 token using the Standard Bridge” #1163

plamarque opened this issue Dec 6, 2024 · 0 comments · Fixed by #1164

Comments

@plamarque
Copy link
Contributor

https://docs.optimism.io/builders/app-developers/tutorials/standard-bridge-standard-token

last script has a wrong variable. $PRIVATE_KEY instead of $TUTORIAL_PRIVATE_KEY

current

cast send 0x4200000000000000000000000000000000000012 "createOptimismMintableERC20(address,string,string)" $TUTORIAL_L1_ERC20_ADDRESS "My Standard Demo Token" "L2TKN" --private-key $PRIVATE_KEY --rpc-url $TUTORIAL_RPC_URL --json | jq -r '.logs[0].topics[2]' | cast parse-bytes32-address

expected

cast send 0x4200000000000000000000000000000000000012 "createOptimismMintableERC20(address,string,string)" $TUTORIAL_L1_ERC20_ADDRESS "My Standard Demo Token" "L2TKN" --private-key $TUTORIAL_PRIVATE_KEY --rpc-url $TUTORIAL_RPC_URL --json | jq -r '.logs[0].topics[2]' | cast parse-bytes32-address

plamarque added a commit to plamarque/docs that referenced this issue Dec 6, 2024
updates the hash related to standard-bridge-standard-token.sh following change for ethereum-optimism#1163
@krofax krofax closed this as completed in 19fa26b Dec 6, 2024
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 a pull request may close this issue.

1 participant