-
Notifications
You must be signed in to change notification settings - Fork 124
Description
some error
Different field StateRoot. Virtual: stateA, Trusted: stateB
Different field Coinbase. Virtual: coinbaseA, Trusted: coinbaseB
https://github.com/0xPolygon/cdk-validium-node/blob/v0.6.7%2Bcdk/synchronizer/actions/etrog/processor_l1_sequence_batches.go#L371
When submitting to L1, use "Coinbase" from the configuration file as the Coinbase
When generating a batch, use "sequencer" as the Coinbase
https://github.com/0xPolygon/cdk-validium-node/blob/v0.6.7%2Bcdk/sequencer/batch.go#L307
The sequencer is defined here
https://github.com/0xPolygon/cdk-validium-node/blob/v0.6.7%2Bcdk/sequencer/sequencer.go#L58
https://github.com/0xPolygon/cdk-validium-node/blob/v0.6.7%2Bcdk/sequencer/sequencer.go#L102
https://github.com/0xPolygon/cdk-validium-node/blob/v0.6.7%2Bcdk/sequencer/finalizer.go#L109
After changing Coinbase=sequencer, the error disappeared. Here are some clues for assistance.
If coinbase must equal trustedSequencer, then why set coinbase? It can be obtained directly in the contract.