EVM/Node: txpool should share implementation with Ethereum_types Maps
The following discussion from !12873 (merged) should be addressed:
-
@picdc started a discussion: I've just realized Pkey_map and Nonce_map are a strict subset of
Ethereum_types.AddressMap
andEthereum_types.NonceMap
, and your are reimplementingMap.partition is_transaction_pending
(I don't understand why the type hasn't been reused, there is no good reason). This needs to be changed in a follow-up MR.