pub async fn maintain_2d_nonce_pool<Client>(pool: TempoTransactionPool<Client>)where
Client: StateProviderFactory + ChainSpecProvider<ChainSpec = TempoChainSpec> + CanonStateSubscriptions<Primitives = TempoPrimitives> + 'static,Expand description
An endless future that maintains the TempoTransactionPool 2d nonce pool based on the storage changes of the NonceManager precompile.
The NonceManager contains
mapping(address => mapping(uint256 => uint64)) public nonceswhere each slot tracks the current nonce for a nonce key assigned to the transaction. The next executable nonce is the current value of in the contract’s state.