-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
--dev: transactions get stuck in pending #23396
Comments
If you look at the genesis block
You'll see that |
@karalabe Thank you! So I take it baseFeePerGas price is different from the |
|
Actually, it's a bit more, I think it can go |
Thanks for the explanation! Indeed after waiting for many blocks my initial fee of 50 does go through from pending in the original setup. |
System information
OS & Version: Linux casper 5.10.56-1-MANJARO #1 SMP PREEMPT Thu Aug 5 10:51:27 UTC 2021 x86_64 GNU/Linux
I'm was trying to follow the directions here to use
geth --dev
as a drop-in replacement for my ganache-cli tests as an entry to switching to geth, and while I connect to RPC and it lists the dev account with balance etc, when I submit my contract it gets promoted into the queue but gets stuck pending in the pool and never mined. This happens both with rust-web3 and truffle web3js clients.This happens both with --dev.period=0 (default) and --dev.period=1 (I see new blocks mined, but the contract is still stuck in the pool).
rm -rf /tmp/geth_testchain/* && geth --datadir /tmp/geth_testchain/ --http --dev --verbosity 7 --miner.gasprice 1 --dev.period=1
period1.log
geth attach /tmp/geth_testchain/geth.ipc --exec "eth.pendingTransactions"
(run twice a few blocks apart)p1.txpool.log
The same thing happens with --dev.period=0, just without the extra mined blocks.
As you can see from the log it gets promoted to queued transaction, but just stays as executable in the transaction pool as new blocks are mined.
This seems very similar to #21951, however:
The text was updated successfully, but these errors were encountered: