FuelLabs / fuel-core

Rust full node implementation of the Fuel v2 protocol.
Other
58.15k stars 2.77k forks source link

Allow insertion of transactions in the TxPool v2 #2186

Open AurelienFT opened 2 weeks ago

AurelienFT commented 2 weeks ago

Currently, in the TxPool V2 you can only insert PoolTransaction. We need to instantiate the workflow to pass from Transaction to PoolTransaction. In fact it already exists in the transaction_conversion.rs file but it's a copy paste from the previous TxPool and used in tests only for now.

We want to change the behavior to verify in this order :

@xgreenx can you confirm me the order ?

It will also be a great time to instantiate more tests and standardize them all. Better type for the insert result in the pool

xgreenx commented 2 weeks ago

Yeah, the order it right=)