Skip to content

[Dev Tools] cast run <tx> fails with "lack of funds (0) for max fee" #999

Discussion options

You must be logged in to vote

This error is expected as there is no support for custom base token in Foundry.

You may use anvil-zksync instead, although full custom base token support is still a WIP. Example command:

anvil-zksync -vvv replay_tx --fork-url https://api.lens.matterhosted.dev/  0x77ec77ce1472da4542ba140eb966654e3fb8a449aa7182acb73c365187b4917e

For just user traces:

anvil-zksync -vv replay_tx --fork-url https://api.lens.matterhosted.dev/  0x77ec77ce1472da4542ba140eb966654e3fb8a449aa7182acb73c365187b4917e

Replies: 1 comment 1 reply

Comment options

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

Answer selected by donosonaumczuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devtools Questions related to zkSync Tooling
2 participants