contract MagicNum {
address public solver;
constructor() {}
function setSolver(address _solver) public {
solver = _solver;
}
/*
____________/\\\_______/\\\\\\\\\_____
__________/\\\\\_____/\\\///////\\\___
________/\\\/\\\____\///______\//\\\__
______/\\\/\/\\\______________/\\\/___
____/\\\/__\/\\\___________/\\\//_____
__/\\\\\\\\\\\\\\\\_____/\\\//________
_\///////////\\\//____/\\\/___________
___________\/\\\_____/\\\\\\\\\\\\\\\_
___________\///_____\///////////////__
*/
}
- check
test/18/MagickNumber.t.sol
:
> forge test --match-contract MagickNumberTest -vvvv
- submit with
script/18/MagickNumber.s.sol
:
> forge script ./script/18/MagickNumber.s.sol --broadcast -vvvv --rpc-url sepolia