Skip to content

Commit

Permalink
add view
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Nov 19, 2024
1 parent 3b2cfda commit e58657a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/Verify.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "forge-std/Script.sol";
import "forge-std/console.sol";

contract VerificationTester is Script {
function run() public {
function run() external view {
// Load environment variables;
address CONTRACT_ADDRESS = 0xEaf1db02ad660f832AAa6F84F2Cb639c0F1cB5C6;

Expand Down
2 changes: 1 addition & 1 deletion test/AvailWormhole.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract AvailWormholeTest is Test {
avail.initialize(rand);
}

function test_initialize() external {
function test_initialize() external view {
assertEq(avail.totalSupply(), 0);
assertNotEq(avail.owner(), address(0));
assertEq(avail.owner(), governance);
Expand Down

0 comments on commit e58657a

Please sign in to comment.