Skip to content

Commit

Permalink
fix: update ABIs
Browse files Browse the repository at this point in the history
  • Loading branch information
Namaskar-1F64F committed Aug 9, 2024
1 parent 707d808 commit 8c625a3
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
23 changes: 20 additions & 3 deletions src/actions-local/mplaunch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { TestRuntime } from "@tenderly/actions-test";
import { beforeAll, describe, test } from "vitest";

import { minipoolLaunched } from "../actions/minipoolLaunch";
import { Network } from "@tenderly/actions";

config();

Expand All @@ -19,16 +20,32 @@ describe("Minipool Launch", () => {

describe("Minipool Launch", () => {
test.concurrent("manual launch", async () => {
testRuntime.context.metadata.getNetwork = () => Network.MAINNET
await testRuntime.execute(
minipoolLaunched,
require("./payload/payload-manual-launch.json")
);
minipoolLaunched,
require("./payload/payload-manual-launch.json")
);
});
test.concurrent("fuji launch", async () => {
testRuntime.context.metadata.getNetwork = () => Network.FUJI
await testRuntime.execute(
minipoolLaunched,
require("./payload/payload-manual-launch.json")
);
})
test.concurrent("artifact launch", async () => {
testRuntime.context.metadata.getNetwork = () => Network.MAINNET
await testRuntime.execute(
minipoolLaunched,
require("./payload/payload-artifact-launch.json")
);
});
test.concurrent("artifact fuji launch", async () => {
testRuntime.context.metadata.getNetwork = () => Network.FUJI
await testRuntime.execute(
minipoolLaunched,
require("./payload/payload-artifact-launch.json")
);
})
});
});
6 changes: 6 additions & 0 deletions src/actions/abis/minipoolManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ export const abi = [
name: "hardwareProvider",
type: "bytes32",
},
{
indexed: false,
internalType: "uint256",
name: "duration",
type: "uint256",
},
],
name: "MinipoolLaunched",
type: "event",
Expand Down
6 changes: 3 additions & 3 deletions src/actions/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { abi as HardwareProviderAbi } from "./abis/artifactHardwareProvider";

export const isDev = process.env.NODE_ENV === "development";

export const TENDERLY_PROJECT_SLUG = "arbor-finance";
export const TENDERLY_USERNAME = "namaskar_1f64f";
export const TENDERLY_PROJECT_SLUG = "multisiglabs";
export const TENDERLY_USERNAME = "gogopool";
export const JSON_RPC_URL_SECRET_NAME = "JSON_RPC_URL";
export const JSON_RPC_URL_FUJI_SECRET_NAME = "JSON_RPC_URL_FUJI";
export const DISCORD_WEBHOOK_URL_SECRET_NAME = "PROD_WEBHOOK_URL";
Expand Down Expand Up @@ -53,7 +53,7 @@ export const CLAIM_NODE_OP_ADDRESS =
"0xb42CfaD450B46FDc9cAC5FBF14Bc2e6091AfC35c";
export const CLAIM_PROTOCOL_DAO_ADDRESS =
"0x4169CF88c7Ed811E6f6e61917c5b915BeA49476c";
export const MINIPOOL_MANAGER_ADDRESS = "0x17395Ad76b236FABeaC3634b78fF8F6970222199";
export const MINIPOOL_MANAGER_ADDRESS = "0xc300Bc9B4b690BA7A182126299a0618eCe268Ee7";
export const MINIPOOL_MANAGER_ADDRESS_FUJI =
"0x4C4B2663ad02E6A25ee96CCC15cd5eca1A8407cf";
export const MULTISIG_MANAGER_ADDRESS =
Expand Down

0 comments on commit 8c625a3

Please sign in to comment.