Skip to content

Commit

Permalink
generate
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Jul 17, 2024
1 parent 20363a5 commit f0cce4c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/openzeppelin-foundry-upgrades
Submodule openzeppelin-foundry-upgrades deleted from 4cd15f
4 changes: 2 additions & 2 deletions test/ZetaTokenConsumer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import { ethers } from "hardhat";
import { getNonZetaAddress } from "lib";
const { reset } = require("@nomicfoundation/hardhat-network-helpers");

import { getTestAddress} from "../lib/address.helpers";
import { getTestAddress } from "../lib/address.helpers";
import {
deployZetaNonEth,
getZetaTokenConsumerUniV2Strategy,
getZetaTokenConsumerUniV3Strategy,
} from "../lib/contracts.helpers";
import { parseZetaConsumerLog, MAINNET_FORK_URL, MAINNET_FORK_BLOCK } from "./test.helpers";
import { MAINNET_FORK_BLOCK, MAINNET_FORK_URL, parseZetaConsumerLog } from "./test.helpers";

chai.should();

Expand Down
2 changes: 1 addition & 1 deletion test/ZetaTokenConsumerZEVM.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { ethers } from "hardhat";
const { reset } = require("@nomicfoundation/hardhat-network-helpers");

import { WETH9__factory } from "../typechain-types/factories/contracts/zevm/WZETA.sol/WETH9__factory";
import { parseZetaConsumerLog, MAINNET_FORK_URL, MAINNET_FORK_BLOCK } from "./test.helpers";
import { MAINNET_FORK_BLOCK, MAINNET_FORK_URL, parseZetaConsumerLog } from "./test.helpers";

chai.should();

Expand Down
4 changes: 2 additions & 2 deletions test/test.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { BigNumber, ContractReceipt } from "ethers";

export const FUNGIBLE_MODULE_ADDRESS = "0x735b14BB79463307AAcBED86DAf3322B1e6226aB";

export const MAINNET_FORK_URL = "https://rpc.ankr.com/eth"
export const MAINNET_FORK_BLOCK = 14672712
export const MAINNET_FORK_URL = "https://rpc.ankr.com/eth";
export const MAINNET_FORK_BLOCK = 14672712;

export const parseZetaConsumerLog = (logs: ContractReceipt["logs"]) => {
const iface = ZetaTokenConsumer__factory.createInterface();
Expand Down

0 comments on commit f0cce4c

Please sign in to comment.