Skip to content

Commit

Permalink
thanks juno
Browse files Browse the repository at this point in the history
  • Loading branch information
devtooligan committed Aug 22, 2023
1 parent 0324df9 commit 0669e1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/NERVCommand.huff
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
__FUNC_SIG(eva_TEN) 0x00 mstore CONFIRM_EVA_CONTRACT()
}

#define macro ATTACK_WAVE2() = takes (1) returns (2) {
#define fn ATTACK_WAVE2() = takes (1) returns (2) {
__FUNC_SIG(eva_SEVEN) 0x00 mstore CALL_EVA_CONTRACT()
__FUNC_SIG(eva_EIGHT) 0x00 mstore CALL_EVA_CONTRACT()
__FUNC_SIG(eva_NINE) 0x00 mstore CALL_EVA_CONTRACT()
Expand Down
3 changes: 2 additions & 1 deletion test/Puzzle.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ contract PuzzleTest is Test {
/// @notice Good luck!
function testFuzzSolvePuzzle(uint256 solution) public {
address player = address(this);
(bool success, bytes memory data) = address(puzzle).call(abi.encodeWithSignature("verify(uint256,uint256)", solution, puzzle.generate(player)));
(bool success, bytes memory data) = address(puzzle).call(
abi.encodeWithSignature("verify(uint256,uint256)", puzzle.generate(player), solution ));
if (success) {
bool solved = abi.decode(data, (bool));
if (solved) {
Expand Down

0 comments on commit 0669e1f

Please sign in to comment.