NethermindEth / near-sffl

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

Group mock constructors returns into structs #270

Open Hyodar opened 3 months ago

Hyodar commented 3 months ago

Some mock constructors, like createMockAggregator are currently returning way too many values. Those are useful in specific tests to get direct access to the mocked components, but we usually just use one or two for each test. That said, simply refactoring these functions to return a struct instead would make things a lot cleaner.