[Dev Tools] anvil-zksync forking existing zkchain #857
-
Team or ProjectSophon EnvironmentMainnet Select the Dev Tool you are usingLocal Node Provide the version of the tool (if applicable)anvil-zksync 0.2.1 Provide a brief description of the functionality you're trying to implement and the issue you are running into.I am trying to fork sophon-mainnet locally. so that I can test and debug. Repo Link (Optional)No response Additional DetailsI am starting fork this with this command
this will open rpc on 8545 port, connecting to it using eth-brownie framework
executing a transaction
first transaction is confirmed. If I try to execute another transaction the RPC just dies and stops responding to any calls . |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It seems like you are encountering an issue with the Here are a few steps you can take to troubleshoot and potentially resolve the issue:
If these steps do not resolve the issue, I recommend reaching out for more in-depth support on the ZKsync developers discussions on Github. This platform can provide more specialized assistance for development tool issues. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
To expand on the above, |
Beta Was this translation helpful? Give feedback.
-
Expanding further, i can reproduce the hang without forking using |
Beta Was this translation helpful? Give feedback.
@rbrick @RomanHiden I've tried to replicate the issue but it does not hang on my end. Tried with both
--log=trace
and--log=debug
and forking Sophon mainnet, I managed to deploy multiple contracts running separated scripts and the node remains up and responsive (see a log below).Can you confirm you're using the latest version of anvil-zksync? Can you try without using a paymaster just to see if that's causing the issue?
11:44:17 TRACE read value [137, 134, 208, 142, 248, 145, 171, 189, 15, 132, 18, 146, 30, 33, 204, 248, 149, 218, 174, 120, 34, 163, 77, 123, 181, 132, 112, 0, 137, 220, 190, 58] [1, 0, 0, 21, 155, 48, 203, 169, 226, 9, 99, 83, 105, 91, 99, 202, 92, 191, 86, 100, 22, 165, …