Skip to content

Commit

Permalink
refactor: move arbitrum sepolia TX to the folder used by the arbitrum…
Browse files Browse the repository at this point in the history
… one TX
  • Loading branch information
chechu committed Sep 9, 2024
1 parent f49d8dc commit 343576e
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { makeProposal } from "src/utils";

export const NATIVE_TOKEN_GATEWAY_LIQUID_STAKED_ETH_POOL = "0x63cEE24b12648E36d708163587aC17a777096a47";

const vip014 = () => {
const vip013 = () => {
return makeProposal([
{
target: NATIVE_TOKEN_GATEWAY_LIQUID_STAKED_ETH_POOL,
Expand All @@ -12,4 +12,4 @@ const vip014 = () => {
]);
};

export default vip014;
export default vip013;
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const wstETH_ONE_JUMP_ORACLE = "0x06b47B32d9C4D8f948EB3FFDB4a1ecE93794f922";
const weETH_ONE_JUMP_ORACLE = "0x4f894aC6F5e2E2bD72632B137E28234339Db3D53";

// IL configuration
const vip015 = () => {
const vip013 = () => {
return makeProposal([
{
target: COMPTROLLER_BEACON,
Expand Down Expand Up @@ -224,4 +224,4 @@ const vip015 = () => {
]);
};

export default vip015;
export default vip013;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ethers } from "hardhat";
import { NETWORK_ADDRESSES } from "src/networkAddresses";
import { forking, pretendExecutingVip } from "src/vip-framework";

import vip014, { NATIVE_TOKEN_GATEWAY_LIQUID_STAKED_ETH_POOL } from "../../../proposals/arbitrumsepolia/vip-014";
import vip013, { NATIVE_TOKEN_GATEWAY_LIQUID_STAKED_ETH_POOL } from "../../../proposals/arbitrumsepolia/vip-013/addendum";
import GATEWAY_ABI from "./abi/NativeTokenGateway.json";

const VWETH = "0xd7057250b439c0849377bB6C3263eb8f9cf49d98";
Expand All @@ -15,7 +15,7 @@ forking(77510100, async () => {

before(async () => {
nativeTokenGateway = await ethers.getContractAt(GATEWAY_ABI, NATIVE_TOKEN_GATEWAY_LIQUID_STAKED_ETH_POOL);
await pretendExecutingVip(await vip014());
await pretendExecutingVip(await vip013());
});

describe("Post tx checks", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { checkIsolatedPoolsComptrollers } from "src/vip-framework/checks/checkIs
import { checkVToken } from "src/vip-framework/checks/checkVToken";
import { checkInterestRate } from "src/vip-framework/checks/interestRateModel";

import vip015, {
import vip013, {
COMPTROLLER_LIQUID_STAKED_ETH,
Mock_weETH,
Mock_wstETH,
Expand All @@ -18,7 +18,7 @@ import vip015, {
VweETH,
VwstETH,
WETH,
} from "../../../proposals/arbitrumsepolia/vip-015";
} from "../../../proposals/arbitrumsepolia/vip-013";
import BEACON_ABI from "./abi/beacon.json";
import COMPTROLLER_ABI from "./abi/comptroller.json";
import ERC20_ABI from "./abi/erc20.json";
Expand Down Expand Up @@ -182,7 +182,7 @@ forking(73250686, async () => {

describe("Post-Execution state", () => {
before(async () => {
await pretendExecutingVip(await vip015());
await pretendExecutingVip(await vip013());

for (const model of interestRateModels) {
for (const symbol of model.vTokens) {
Expand Down

0 comments on commit 343576e

Please sign in to comment.