[ZK Stack] - "invalid sender" error from eth client when sending txs #516
-
Module Affected
Rust Version1.74.0-nightly Operating System
Issue DescriptionI have ran local hyperchain based on docker setup and using prover setup (CPU) of core-v23.10 version. To make it all work, I had to make some changes:
My current problem is that zkstack-core service tries to send transactions to the ValidatorTimelock contract on L1, but gets "invalid sender" error from eth client. All transactions are signed by ETH_SENDER_SENDER_OPERATOR_BLOBS_ETH_ADDR. Expected BehaviorTransactions are sent to the L1 successfully with correct signature. Current BehaviorTransactions get rejected by eth client Repository Link (if applicable)No response Additional Details
Prior Research
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Thanks for posting. Will have the team take a look and get back to you. |
Beta Was this translation helpful? Give feedback.
-
Hello. The problem was with wrong chain_id that is used in transactions. I use personal L1 network, but as I found the list of available L1 networks is hardcoded and it is not possible to set it via config - https://github.com/matter-labs/zksync-era/blob/main/core/lib/basic_types/src/network.rs#L18. I had to add my network to the list. I'm sorry, I did not mention it, because I thought that the chain_id is configured by Now I see 2 errors in the
I'm not sure if it is related, but when I ran |
Beta Was this translation helpful? Give feedback.
-
The issue seem to be related to mismatching versions of VM in core/prover. We have different releases of prover and core components, so that's where you caught this mismatch. In revision core-v23.1.0 which you are using, core VM is v1.5.0, while provers are using VM v1.4.1. As a solution I recommend switching to tag prover-v14.0.0 where these versions are matching |
Beta Was this translation helpful? Give feedback.
The issue seem to be related to mismatching versions of VM in core/prover. We have different releases of prover and core components, so that's where you caught this mismatch. In revision core-v23.1.0 which you are using, core VM is v1.5.0, while provers are using VM v1.4.1. As a solution I recommend switching to tag prover-v14.0.0 where these versions are matching