statechannels / dispute-game

A prototype of the dispute game in typescript and solidity.
MIT License
9 stars 0 forks source link

Testing Refactor #3

Closed lalexgap closed 3 years ago

lalexgap commented 3 years ago

This refactors the auto disputer a bit.

There are now two AutoDisputerAgents (which could probably evolve into the ChallengeAgent) that are used for the tests.

I've also tried to remove some hardcoded values where I could.

This PR should allow us to write a more thorough test.