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 {
IMIPSMemory immutable mem;
/// @notice State hash of the fault proof program's initial MIPS state.
bytes32 immutable globalStartState;
bytes32 public immutable globalStartState;
constructor(IMIPS _mips, bytes32 _globalStartState) {
owner = msg.sender;
......@@ -74,7 +74,7 @@ contract Challenge {
uint256 public lastChallengeId = 0;
/// @notice Maps challenge IDs to challenge data.
mapping(uint256 => ChallengeData) challenges;
mapping(uint256 => ChallengeData) public challenges;
/// @notice Emitted when a new challenge is created.
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