Commit 83879cee authored by Nicolas "Norswap" Laurent's avatar Nicolas "Norswap" Laurent Committed by norswap

make some variables public

parent 3e6e6c39
...@@ -46,7 +46,7 @@ contract Challenge { ...@@ -46,7 +46,7 @@ contract Challenge {
IMIPSMemory immutable mem; IMIPSMemory immutable mem;
/// @notice State hash of the fault proof program's initial MIPS state. /// @notice State hash of the fault proof program's initial MIPS state.
bytes32 immutable globalStartState; bytes32 public immutable globalStartState;
constructor(IMIPS _mips, bytes32 _globalStartState) { constructor(IMIPS _mips, bytes32 _globalStartState) {
owner = msg.sender; owner = msg.sender;
...@@ -74,7 +74,7 @@ contract Challenge { ...@@ -74,7 +74,7 @@ contract Challenge {
uint256 public lastChallengeId = 0; uint256 public lastChallengeId = 0;
/// @notice Maps challenge IDs to challenge data. /// @notice Maps challenge IDs to challenge data.
mapping(uint256 => ChallengeData) challenges; mapping(uint256 => ChallengeData) public challenges;
/// @notice Emitted when a new challenge is created. /// @notice Emitted when a new challenge is created.
event ChallengeCreated(uint256 challengeId); event ChallengeCreated(uint256 challengeId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment