diff --git a/test-foundry/AtomicTokenBridgeFactory.t.sol b/test-foundry/AtomicTokenBridgeFactory.t.sol index 1cb4e9a12..9a90a159e 100644 --- a/test-foundry/AtomicTokenBridgeFactory.t.sol +++ b/test-foundry/AtomicTokenBridgeFactory.t.sol @@ -53,7 +53,7 @@ contract MockInbox is Test { return address(this); } - function hasRole(bytes32, address) external view returns (bool) { + function hasRole(bytes32, address) external pure returns (bool) { return true; } @@ -61,7 +61,7 @@ contract MockInbox is Test { return address(this); } - function calculateRetryableSubmissionFee(uint256, uint256) external view returns (uint256) { + function calculateRetryableSubmissionFee(uint256, uint256) external pure returns (uint256) { return 0; } @@ -103,6 +103,7 @@ contract MockInbox is Test { } } vm.stopPrank(); + return 0; } } diff --git a/test-foundry/L1ArbitrumGateway.t.sol b/test-foundry/L1ArbitrumGateway.t.sol index 8240b4f2a..cfbd389e6 100644 --- a/test-foundry/L1ArbitrumGateway.t.sol +++ b/test-foundry/L1ArbitrumGateway.t.sol @@ -215,7 +215,7 @@ abstract contract L1ArbitrumGatewayTest is Test { contract L1ArbitrumGatewayMock is L1ArbitrumGateway { function calculateL2TokenAddress(address x) public - view + pure override(ITokenGateway, TokenGateway) returns (address) { diff --git a/test-foundry/L1ForceOnlyReverseCustomGateway.t.sol b/test-foundry/L1ForceOnlyReverseCustomGateway.t.sol index 1cbf40c2a..7ebcd1728 100644 --- a/test-foundry/L1ForceOnlyReverseCustomGateway.t.sol +++ b/test-foundry/L1ForceOnlyReverseCustomGateway.t.sol @@ -295,19 +295,11 @@ contract L1ForceOnlyReverseCustomGatewayTest is L1ReverseCustomGatewayTest { ); } - function test_registerTokenToL2_CustomRefund(address, address) public virtual override { - 0; // N/A - } + function test_registerTokenToL2_CustomRefund(address, address) public virtual override {} - function test_registerTokenToL2_UpdateToSameAddress(address, address) public virtual override { - 0; // N/A - } + function test_registerTokenToL2_UpdateToSameAddress(address, address) public virtual override {} - function test_registerTokenToL2_revert_NoUpdateToDifferentAddress() public virtual override { - 0; // N/A - } + function test_registerTokenToL2_revert_NoUpdateToDifferentAddress() public virtual override {} - function test_registerTokenToL2_revert_NotArbEnabled() public virtual override { - 0; // N/A - } + function test_registerTokenToL2_revert_NotArbEnabled() public virtual override {} }