Skip to content

Commit

Permalink
fix: remove unnecessary "view" causing compile to fail in aptos oft e…
Browse files Browse the repository at this point in the history
…xamples

Signed-off-by: Ryan Goulding <goulding@layerzerolabs.org>
  • Loading branch information
ryandgoulding committed Jan 14, 2025
1 parent 12faec8 commit 6d35a18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ contract MyOFTTest is TestHelperOz5 {
deal(address(bOFT), userB, initialBalance);
}

function test_constructor() public view {
function test_constructor() public {
assertEq(aOFT.owner(), address(this));
assertEq(bOFT.owner(), address(this));

Expand Down
2 changes: 1 addition & 1 deletion examples/oft-aptos-move/test/evm/foundry/MyOFT.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ contract MyOFTTest is TestHelperOz5 {
deal(address(bOFT), userB, initialBalance);
}

function test_constructor() public view {
function test_constructor() public {
assertEq(aOFT.owner(), address(this));
assertEq(bOFT.owner(), address(this));

Expand Down

0 comments on commit 6d35a18

Please sign in to comment.