bluealloy/revm

Simplify Transaction trait

Closed this issue · 3 comments

Transaction trait currently require all types of tx to be implemented, this clogs the interface in not a nice way.

Try to introduce simpler trait where all fields are a option.
As first step try to implement this generic on the current trait:
impl<T: TxSimpler> Transaction for TxSimpler {..} this would simplify usage for people

Wait for https://github.com/bluealloy/revm/pull/1865/files to be merged

i'll give it a try!

rakita commented

i'll give it a try!

I am already close to done it

ah thanks for telling me got started with it will
have a look at yours!