NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

Reduce constructor code #249

Closed emlautarom1 closed 3 weeks ago

emlautarom1 commented 3 weeks ago

Current Behavior

After #211 we ended up with code that deals with low level details about how certain dependencies are initialized. This code is pure plumbing and provides no value to the reader so we would like to encapsulate it when possible.

New Behavior

We encapsulate the construction of dependencies behind BuildX functions, and reuse when possible existing code.

Breaking Changes

There are no breaking changes, this is purely a refactor task