From 6d35a18a9a99cadc61e51b91604819890d7fccab Mon Sep 17 00:00:00 2001 From: Ryan Goulding Date: Tue, 14 Jan 2025 15:36:11 -0500 Subject: [PATCH] fix: remove unnecessary "view" causing compile to fail in aptos oft examples Signed-off-by: Ryan Goulding --- examples/oft-adapter-aptos-move/test/evm/foundry/MyOFT.t.sol | 2 +- examples/oft-aptos-move/test/evm/foundry/MyOFT.t.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/oft-adapter-aptos-move/test/evm/foundry/MyOFT.t.sol b/examples/oft-adapter-aptos-move/test/evm/foundry/MyOFT.t.sol index 406e2e93f..2f8841555 100644 --- a/examples/oft-adapter-aptos-move/test/evm/foundry/MyOFT.t.sol +++ b/examples/oft-adapter-aptos-move/test/evm/foundry/MyOFT.t.sol @@ -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)); diff --git a/examples/oft-aptos-move/test/evm/foundry/MyOFT.t.sol b/examples/oft-aptos-move/test/evm/foundry/MyOFT.t.sol index 406e2e93f..2f8841555 100644 --- a/examples/oft-aptos-move/test/evm/foundry/MyOFT.t.sol +++ b/examples/oft-aptos-move/test/evm/foundry/MyOFT.t.sol @@ -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));