statechannels / dispute-game

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

ChallengeManager no longer relies on stored hash list #23

Closed kerzhner closed 3 years ago

kerzhner commented 3 years ago

Before this PR, the ChallengeManager stored state hashes passed in during initialization and split calls. The ChallengeManager has been modified to mimic chain behavior by storing the "last calldata". In practice, this is still the list of state hashes. However, this list is never read internally by the ChallengeManager. It is only used by disputers.

andrewgordstewart commented 3 years ago

However, this list is never read internally by the ChallengeManager. It is only used by disputers.

Is there a concept of a public only type in programming languages? 😆.