Skip to content

Commit

Permalink
generate
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Oct 23, 2024
1 parent ac17ac8 commit 126183f
Show file tree
Hide file tree
Showing 22 changed files with 79 additions and 22 deletions.
2 changes: 1 addition & 1 deletion v2/contracts/Errors.sol
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ pragma solidity 0.8.26;
/// @notice Interface for contracts that with non supported methods.
interface INotSupportedMethods {
error ZETANotSupported();
error CallOnRevertNotSupported();
error CallOnRevertNotSupported();
}
2 changes: 2 additions & 0 deletions v2/data/addresses.mainnet.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


[
{
"address": "0x000007Cf399229b2f5A4D043F20E90C9C98B7C6a",
Expand Down
2 changes: 2 additions & 0 deletions v2/data/addresses.testnet.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


[
{
"address": "0x0000ecb8cdd25a18f12daa23f6422e07fbf8b9e1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ Interface for contracts that with non supported methods.
error ZETANotSupported();
```

### CallOnRevertNotSupported

```solidity
error CallOnRevertNotSupported();
```

2 changes: 1 addition & 1 deletion v2/pkg/erc20custody.t.sol/erc20custodytest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/errors.sol/inotsupportedmethods.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions v2/pkg/gatewayevm.sol/gatewayevm.go

Large diffs are not rendered by default.

25 changes: 23 additions & 2 deletions v2/pkg/gatewayevm.t.sol/gatewayevminboundtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayevm.t.sol/gatewayevmtest.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v2/pkg/gatewayevmupgradetest.sol/gatewayevmupgradetest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayevmzevm.t.sol/gatewayevmzevmtest.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v2/pkg/gatewayzevm.sol/gatewayzevm.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayzevm.t.sol/gatewayzevminboundtest.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/gatewayzevm.t.sol/gatewayzevmoutboundtest.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v2/pkg/zrc20.t.sol/zrc20test.go

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion v2/test/GatewayEVM.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,13 @@ contract GatewayEVMTest is Test, IGatewayEVMErrors, IGatewayEVMEvents, IReceiver
}
}

contract GatewayEVMInboundTest is Test, IGatewayEVMErrors, IGatewayEVMEvents, IReceiverEVMEvents, INotSupportedMethods {
contract GatewayEVMInboundTest is
Test,
IGatewayEVMErrors,
IGatewayEVMEvents,
IReceiverEVMEvents,
INotSupportedMethods
{
using SafeERC20 for IERC20;

address proxy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ import type {
} from "../../Errors.sol/INotSupportedMethods";

const _abi = [
{
type: "error",
name: "CallOnRevertNotSupported",
inputs: [],
},
{
type: "error",
name: "ZETANotSupported",
Expand Down
7 changes: 6 additions & 1 deletion v2/types/factories/GatewayEVMUpgradeTest__factory.ts

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion v2/types/factories/GatewayEVM__factory.ts

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion v2/types/factories/GatewayZEVM__factory.ts

Large diffs are not rendered by default.

0 comments on commit 126183f

Please sign in to comment.