arbiter icon indicating copy to clipboard operation
arbiter copied to clipboard

refactor(arbiter-core): simplify `Environment::run()`

Open Autoparallel opened this issue 2 years ago • 0 comments

Idea

The Environment::run() method is really long and hard to work with. It would be better to have the match cases call helper functions and to also consolidate some into cheatcodes where possible.

Solution

Break the logic in the run function match statements into separate functions.

Autoparallel avatar Jan 05 '24 00:01 Autoparallel