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

ethstorage mine tranction will fail with "execution reverted" #141

Open
ping-ke opened this issue Apr 18, 2023 · 1 comment
Open

ethstorage mine tranction will fail with "execution reverted" #141

ping-ke opened this issue Apr 18, 2023 · 1 comment

Comments

@ping-ke
Copy link

ping-ke commented Apr 18, 2023

System information
branch: `tm_w3q_sstorage_miner_debug
testnet: (https://testnet.web3q.io:8545)

Expected behavior
runs the node with --sstorage.mine=true, mined one shard and submit a tx, the tx will fail with "execution reverted".

From the node log, we see 16 unmask log as follow. that means the proof verification is pass. should the diff check may cause it fail.
WARN [04-16|19:16:48.145] unmask info encodeType=2 chunkIdx=1855 kvHash=0
00000..000000 miner=0xcD21538aF6e33fF6fcF1E2Ca20F771413004CFd3 datalen=4096 mask data=73c00866a5bab84815ff32b77b54c7f3a1db74b7 unmask data=0000000000000000000000000000000000000000

Actual behavior
The nine transactions should succeed.

Steps to reproduce the behavior
run the node with mine enabled, and wait for mine tx.
sample params: --sstorage.mine
(--sstorage.shard=128k,0 --sstorage.file="C:\data\weqdata3\ss0.dat" --sstorage.mine=true --sstorage.minercontract="0x0000000000000000000000000000000003330001" --sstorage.txsigner=0xcd21538af6e33ff6fcf1e2ca20f771413004cfd3)

@ping-ke
Copy link
Author

ping-ke commented May 4, 2023

this is caused by the diff calculation mismatch, it will be fixed by #131.

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

1 participant