Skip to content

I AM UNABLE TO DEPLOY TO ZKSYNC-SEPOLIA CHAIN USING THE FORGE CREATE COMMAND IN THE FOUNDRY-ZKSYNC DOC[Deployment] <Title> #1011

Discussion options

You must be logged in to vote

Try putting --zksync flag before src/PipsToken.sol:PipsToken. For example this works for me: forge create --rpc-url "https://sepolia.era.zksync.dev" --private-key "0x..." --zksync src/PipsToken.sol:PipsToken

Deploying without --zksync flag works because of a very recent upgrade of zksync which added support for evm equivalent bytecode. If you visit Block Explorer page for your contract you will see EVM tag. However, running EVM equivalent bytecode might be more expensive, depending on each specific case.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Answer selected by JackHamer09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Questions for deployment
2 participants