erigon icon indicating copy to clipboard operation
erigon copied to clipboard

Unprocessable payload for type 2 eth_sendRawTransaction transaction

Open kolyasapphire opened this issue 4 years ago • 2 comments

System information

Official docker image from Docker Hub, stable tag

git_branch=stable git_tag=v2022.01.02 git_commit=ea9ad474467af7a924063a50a6c9f9c82ad5d1d9

OS & Version: Unraid 6.9.2

erigon --chain goerli --private.api.addr=0.0.0.0:9090
rpcdaemon --datadir=/home/erigon/.local/share/erigon --private.api.addr=127.0.0.1:9090 --txpool.api.addr=127.0.0.1:9090 --http.api=eth,erigon,web3,net,debug,trace,txpool --http.addr=0.0.0.0 --http.vhosts=* --http.corsdomain=*

Expected behaviour

eth_sendRawTransaction type 2 transaction is parsed correctly

Actual behaviour

Transaction is submitted, but can't be parsed, making txpool stuck

Steps to reproduce the behaviour

Submit a type 2 transaction using eth_sendRawTransaction

Backtrace

today at 16:10:01[WARN] [01-23|16:10:01.166] OnNewTx rpc filters, unprocessable payload err=EOF data=02
today at 16:10:01[INFO] [01-23|16:10:01.166] Submitted transaction hash=0x123 from=0x123 nonce=1234 recipient=0x123 value=0x0

Then, on restart:

Error: pool not started yet

Same type 2 transaction was working correctly on latest Erigon version ~December 6. Would be happy to test further if you need more info.

I deleted txpool folder and changed the transaction to type 1 to temporarily fix the issue.

kolyasapphire avatar Jan 24 '22 11:01 kolyasapphire

#3326 might be the same problem, but not enough info to know for sure.

kolyasapphire avatar Jan 24 '22 11:01 kolyasapphire

Saw #3350 and updated to latest :stable, everything now works as expected.

kolyasapphire avatar Jan 27 '22 12:01 kolyasapphire