[Dev Tools] cast run <tx>
fails with "lack of funds (0) for max fee"
#999
Answered
by
dutterbutter
donosonaumczuk
asked this question in
Dev Tooling
-
Team or ProjectNo response ZK chainLens Chain EnvironmentMainnet Select the Dev Tool you are usingFoundry Provide the version of the tool (if applicable)1.0.0-dev (274cc622bde9b0c8c17ff469260e10e2d3b7c36b) Provide a brief description of the functionality you're trying to implement and the issue you are running into.This
Repo Link (Optional)https://github.com/lens-protocol/lens-v3 Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
dutterbutter
Apr 15, 2025
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
donosonaumczuk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
For just user traces: