Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From zkevm_getBatchByNumber that the field of "accInputHash" is "0x0000000000000000000000000000000000000000000000000000000000000000" #1596

Open
lyh169 opened this issue Dec 27, 2024 · 1 comment
Assignees

Comments

@lyh169
Copy link

lyh169 commented Dec 27, 2024

I have deploy the the cdk-erigon by https://github.com/0xPolygon/kurtosis-cdk , that i query the batch by zkevm_getBatchByNumber .

the version of cdk-erigon is : v2.60.0

the curl commend is :
curl -s http://127.0.0.1:32822 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"zkevm_getBatchByNumber","params ": ["0x10"],"id":1}'
the result is :
{"jsonrpc":"2.0","id":1,"result":{"accInputHash":"0x0000000000000000000000000000000000000000000000000000000000000000","batchL2Data":"0x0b00000006000000000b00000006000000000b0000000600000000","blocks":["0x780e2d68d36bc787a91cd74f3065a152a5dd6a788f6b94d3dd1e6477ac1d6cfb","0x18524c05a3766c683fcbc541aac92bb3cefdbbef92054124343336ec3324f30a","0xc090a96d7f7900a6bbe5cd9676e2ec7b9be0aeb029e7d676382d46c58cfa95c4"],"closed":true,"coinbase":"0x5b06837a43bdc3dd9f114558daf4b26ed49842ed","globalExitRoot":"0xbdf2dfec6a652651e2e3aba0364c0f68d524583aa62a48fd1b03a43df2793952","localExitRoot":"0x0000000000000000000000000000000000000000000000000000000000000000","mainnetExitRoot":"0x87b3e82db67d821f34d17c794ca490bbaf5a2b9cf2c602474a13c1bb0d617c5c","number":"0x10","rollupExitRoot":"0x27ae5ba08d7291c96c8cbddcc148bf48a6d68c7974b94356f53754ef6171d757","sendSequencesTxHash":"0xe633f0ab53ff59e74385912f30c3960620e5cfb38f749cf4f67c63e57b79c3c3","stateRoot":"0xb3ff65194a9c376f3820a3c6fc1045925fb61627628fef837a00fe2b2c82284a","timestamp":"0x676cb712","transactions":null,"verifyBatchTxHash":"0xf985b774acc6ac1b6af9acfe89d1075dc9baa90c7e3d0b149ebfb13bddd959d9"}}

@revitteth
Copy link
Collaborator

This is a known issue - pre-etrog accInputHash is not easily calculated by the node at this point. I will update further shortly.

@revitteth revitteth self-assigned this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants