Skip to content

Commit 3e23959

Browse files
committed
feat: disputeResolver as upgradable
1 parent 719ff4f commit 3e23959

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

contracts/deploy/00-home-chain-arbitration-neo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
108108
log: true,
109109
});
110110

111-
const resolver = await deploy("DisputeResolverNeo", {
111+
const resolver = await deployUpgradable(deployments, "DisputeResolverNeo", {
112112
from: deployer,
113113
contract: "DisputeResolver",
114114
args: [core.address, disputeTemplateRegistry.address],

contracts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"start-testnet-fork": "HARDHAT_FORK=arbitrumSepolia hardhat node --tags Arbitration,HomeArbitrable",
2929
"deploy": "hardhat deploy",
3030
"deploy-local": "hardhat deploy --tags Arbitration,HomeArbitrable --network localhost",
31+
"deploy-neo-local": "hardhat deploy --tags ArbitrationNeo --network localhost",
3132
"deploy-devnet-fork": "HARDHAT_FORK=arbitrumSepoliaDevnet yarn deploy --network localhost --tags Arbitration,HomeArbitrable",
3233
"deploy-testnet-fork": "HARDHAT_FORK=arbitrumSepolia yarn deploy --network localhost --tags Arbitration,HomeArbitrable",
3334
"simulate": "hardhat simulate:all",

contracts/test/arbitration/staking-neo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Otherwise it should behave like a Neo arbitrator.
2727

2828
// TODO: assert on sortition.totalStaked in happy case
2929

30-
describe("Staking", async () => {
30+
describe("Staking Neo", async () => {
3131
const ETH = (amount: number) => ethers.utils.parseUnits(amount.toString());
3232
const PNK = ETH;
3333

contracts/test/arbitration/staking.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ describe("Staking", async () => {
2424

2525
const deploy = async () => {
2626
({ deployer } = await getNamedAccounts());
27+
await ethers.provider.send("hardhat_reset", []);
2728
await deployments.fixture(["Arbitration"], {
2829
fallbackToGlobal: true,
2930
keepExistingDeployments: false,

contracts/test/integration/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ describe("Integration tests", async () => {
4343

4444
beforeEach("Setup", async () => {
4545
({ deployer } = await getNamedAccounts());
46+
await ethers.provider.send("hardhat_reset", []);
4647
await deployments.fixture(["Arbitration", "VeaMock"], {
4748
fallbackToGlobal: true,
4849
keepExistingDeployments: false,

0 commit comments

Comments
 (0)