statechannels / dispute-game

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

Rename stateHashes to lastCalldata #30

Closed kerzhner closed 3 years ago

kerzhner commented 3 years ago

It looks like a commit was missing from https://github.com/statechannels/dispute-game/pull/23.

This PR completes PR #23 by renaming stateHashes to lastCalldata. The rename hopefully discourages the reading lastCalldata inside the ChallengeManager (as it would not be possible to read calldata from past transactions in a contract).