-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
could you perhaps attach the rlp file? this looks like a codec issue cc @joshieDo |
Beta Was this translation helpful? Give feedback.
-
Hey, here's the RLP file. Note that this file starts from AFTER the last block in reth. Another thing, is it recommended to run it with |
Beta Was this translation helpful? Give feedback.
-
hey, from what i checked, i can import blocks without transactions. seems to me like the tx encoding is the issue. i'm RLP encoding the signed tx and using that to create the block rlp, so a decoded block would look like this: parent : a133198478cb01b4585604d07f584633f1f147103b49672d2bd87a5a3ba2c06e
uncle : 1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
coinbase : 0000000000000000000000000000000000000000
stat root: 7adc7fb014030c18240e97c5407c07cbf1177b1534c194174f346410234f3596
tx root : 465eb65b1309316e03886fe942b423dab71553ddf02ccf4243e880c9af3274db
rcpt root: f78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa
bloom : 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
diff : 0
number : 26478651
gas limit: 30000000
gas used : 21000
timestamp: 1676401685
extra : Nethermind
mix hash : c5d0c5d500df9ad703ba7f17264fbed0f2f1dd513ef373e508b656ce62beab56
nonce : 0000000000000000
base fee/g: 07
trxs : ["02f870640384908a904084908a904882520894214a33ad7cf5010fc8cee8d501b0ca20c12fdf9e86a11746d62d1080c080a08b911ecfd856becba8508df356629269b5467b8aa7ef6490de4469061817d55fa027c2940c0caef2d43b682e8e6676650facf2150cc749cd79dbec7f134ae11c06"]
uncles : [] i'm not sure what i'm doing wrong, can you pls help me out? |
Beta Was this translation helpful? Give feedback.
-
the issue seems to be the block ordering (blocks should be in reverse order), and different tx types needed to be stored in different ways (for eg RLP-fied for type 1 and 2, only serialised (without RLP-fication) for legacy) while the closing this issue |
Beta Was this translation helpful? Give feedback.
the issue seems to be the block ordering (blocks should be in reverse order), and different tx types needed to be stored in different ways (for eg RLP-fied for type 1 and 2, only serialised (without RLP-fication) for legacy)
while the
ERROR reth::cli: Chain was partially imported
issue still persists, it doesn't cause issues, and is fixed with a subsequentreth node
closing this issue