Skip to content

Commit

Permalink
test: integration test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
adu-web3 committed Dec 13, 2024
1 parent 8e03169 commit 7e98598
Show file tree
Hide file tree
Showing 31 changed files with 491 additions and 55 deletions.
258 changes: 247 additions & 11 deletions package-lock.json

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

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@
"license": "ISC",
"devDependencies": {
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@cosmjs/stargate": "^0.32.2",
"@evmos/address-converter": "^0.1.9",
"@evmos/evmosjs": "github:evmos/evmosjs#main",
"@evmos/proto": "^0.2.1",
"@nomicfoundation/hardhat-foundry": "^1.1.3",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"bip39": "^3.1.0",
"dotenv": "^16.4.7",
"esm": "^3.2.25",
"ethereumjs-wallet": "^1.0.2",
"hardhat": "^2.22.17"
},
"resolutions": {
"@buf/cosmos_cosmos-sdk.bufbuild_es": "1.0.0-20230125164018-54d184078b88.1"
}
}
2 changes: 1 addition & 1 deletion script/10_DeployExocoreGatewayOnly.s.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.8.19;

import {ILayerZeroEndpointV2} from "@layerzero-v2/protocol/contracts/interfaces/ILayerZeroEndpointV2.sol";
import {ILayerZeroEndpointV2} from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";

import {ProxyAdmin} from "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol";
import {TransparentUpgradeableProxy} from "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/11_SetPeers.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Action, GatewayStorage} from "../src/storage/GatewayStorage.sol";
import {BaseScript} from "./BaseScript.sol";
import "forge-std/Script.sol";

import "@layerzero-v2/protocol/contracts/libs/AddressCast.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/AddressCast.sol";

contract SetPeersAndUpgrade is BaseScript {

Expand Down
2 changes: 1 addition & 1 deletion script/12_RedeployClientChainGateway.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol";
import {BaseScript} from "./BaseScript.sol";

import "@beacon-oracle/contracts/src/EigenLayerBeaconOracle.sol";
import {ILayerZeroEndpointV2} from "@layerzero-v2/protocol/contracts/interfaces/ILayerZeroEndpointV2.sol";
import {ILayerZeroEndpointV2} from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";
import {ERC20PresetFixedSupply} from "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "forge-std/Script.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/13_DepositValidator.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import "../src/interfaces/IVault.sol";

import {Action, GatewayStorage} from "../src/storage/GatewayStorage.sol";
import "@beacon-oracle/contracts/src/EigenLayerBeaconOracle.sol";
import "@layerzero-v2/protocol/contracts/interfaces/ILayerZeroEndpointV2.sol";
import "@layerzero-v2/protocol/contracts/libs/AddressCast.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/AddressCast.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/GUID.sol";
import {ERC20PresetFixedSupply} from "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "forge-std/Script.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/14_CorrectBootstrapErrors.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {Vault} from "../src/core/Vault.sol";
import {ICustomProxyAdmin} from "../src/interfaces/ICustomProxyAdmin.sol";

import {BaseScript} from "./BaseScript.sol";
import {ILayerZeroEndpointV2} from "@layerzero-v2/protocol/contracts/interfaces/ILayerZeroEndpointV2.sol";
import {ILayerZeroEndpointV2} from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";
import {ERC20PresetFixedSupply} from "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "forge-std/Script.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/17_WithdrawalValidator.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import "../src/interfaces/IVault.sol";

import "../src/storage/GatewayStorage.sol";
import "@beacon-oracle/contracts/src/EigenLayerBeaconOracle.sol";
import "@layerzero-v2/protocol/contracts/interfaces/ILayerZeroEndpointV2.sol";
import "@layerzero-v2/protocol/contracts/libs/AddressCast.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/AddressCast.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/GUID.sol";
import {ERC20PresetFixedSupply} from "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "forge-std/Script.sol";
Expand Down
2 changes: 1 addition & 1 deletion script/18_SimulateReceive.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {Script, console} from "forge-std/Script.sol";
import {StdCheats} from "forge-std/StdCheats.sol";
import "forge-std/StdJson.sol";

import {IOAppCore} from "@layerzero-v2/oapp/contracts/oapp/interfaces/IOAppCore.sol";
import {IOAppCore} from "@layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/IOAppCore.sol";

import {Origin} from "../src/lzApp/OAppReceiverUpgradeable.sol";

Expand Down
4 changes: 2 additions & 2 deletions script/3_Setup.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import "../src/interfaces/IVault.sol";
import {NonShortCircuitEndpointV2Mock} from "../test/mocks/NonShortCircuitEndpointV2Mock.sol";

import {BaseScript} from "./BaseScript.sol";
import "@layerzero-v2/protocol/contracts/interfaces/ILayerZeroEndpointV2.sol";
import "@layerzero-v2/protocol/contracts/libs/AddressCast.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol";
import "@layerzerolabs/lz-evm-protocol-v2/contracts/libs/AddressCast.sol";
import {ERC20PresetFixedSupply} from "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetFixedSupply.sol";
import "forge-std/Script.sol";

Expand Down
Loading

0 comments on commit 7e98598

Please sign in to comment.