delvtech / agent0

Analysis & simulation repo for Delv
https://agent0.readthedocs.io/en/latest/
Apache License 2.0
52 stars 21 forks source link

Fixing setting nonce in agent0 #1551

Closed slundqui closed 4 months ago

slundqui commented 4 months ago

Using eth_transaction_count should be querying the pending block, not latest block to set nonce. This allows a single account to send multiple transactions on the same block with proper nonce setting.

This matches default web3py behavior.