Skip to content

Commit 4338e3f

Browse files
committed
chore: redeployed the home gateway
1 parent e63117c commit 4338e3f

File tree

5 files changed

+392
-129
lines changed

5 files changed

+392
-129
lines changed

contracts/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ Refresh the list of deployed contracts by running `./scripts/generateDeployments
2626
#### Arbitrum Goerli
2727

2828
- [PNK](https://goerli.arbiscan.io/token/0x4DEeeFD054434bf6721eF39Aa18EfB3fd0D12610/token-transfers)
29+
- [ArbitrableExample](https://goerli.arbiscan.io/address/0xb0338F2E3D832F3086e5681EAD329520A8d88CD6)
2930
- [BlockHashRNG](https://goerli.arbiscan.io/address/0x68eE49dfD9d76f3386257a3D0e0A85c0A5519bBD)
3031
- [DAI](https://goerli.arbiscan.io/address/0x70A704Dce4cCC00568Cc142C86D07Ec71C944a39)
3132
- [DisputeKitClassic](https://goerli.arbiscan.io/address/0x0245A93ABd9c5b2d767B2D98cE6d5e612208E474)
3233
- [DisputeResolver](https://goerli.arbiscan.io/address/0xcDC05c8d2EEEe384359Bd22E8631528B6b0564e9)
33-
- [HomeGatewayToGnosis](https://goerli.arbiscan.io/address/0xD60CD2151e118Dd796efcb1ceFFcF892226F9b3a)
34+
- [HomeGatewayToGnosis](https://goerli.arbiscan.io/address/0x1807b0049D412a3208d840D74725e404a55E297E)
3435
- [KlerosCore](https://goerli.arbiscan.io/address/0x8Af82E2F8890acb4AB84cbaB3c4C4Eb3E965CF24)
3536
- [PolicyRegistry](https://goerli.arbiscan.io/address/0xED503aBA65B28D81444294D1eAa5d84CeFdC2C58)
3637
- [RandomizerRNG](https://goerli.arbiscan.io/address/0xa90f7D2e35718FDE9AD96c8B6667AFcAa4BEfd4d)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const deployArbitration: DeployFunction = async (hre: HardhatRuntimeEnvironment)
101101
false,
102102
[minStake, alpha, feeForJuror, 256], // minStake, alpha, feeForJuror, jurorsForCourtJump
103103
[0, 0, 0, 10], // evidencePeriod, commitPeriod, votePeriod, appealPeriod
104-
0xfa, // Extra data for sortition module will return the default value of K
104+
ethers.utils.hexlify(5), // Extra data for sortition module will return the default value of K
105105
sortitionModule.address,
106106
],
107107
log: true,

contracts/deploy/02-home-gateway-to-ethereum.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ const deployHomeGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment)
2929
await deploy("HomeGatewayToEthereum", {
3030
from: deployer,
3131
contract: "HomeGateway",
32-
args: [deployer, klerosCore.address, veaInbox.address, foreignChainId, foreignGateway.address],
32+
args: [
33+
deployer,
34+
klerosCore.address,
35+
veaInbox.address,
36+
foreignChainId,
37+
foreignGateway.address,
38+
ethers.constants.AddressZero, // feeToken is ETH
39+
],
3340
log: true,
3441
}); // nonce+0
3542
};

contracts/deploy/02-home-gateway-to-gnosis.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const deployHomeGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment)
1919

2020
const veaInbox = await deployments.get("VeaInboxArbToGnosisDevnet");
2121
const klerosCore = await deployments.get("KlerosCore");
22+
const dai = await deployments.get("DAI");
2223

2324
const foreignGateway = await hre.companionNetworks.foreignChiado.deployments.get("ForeignGatewayOnGnosis");
2425
const foreignChainId = Number(await hre.companionNetworks.foreignChiado.getChainId());
@@ -28,7 +29,7 @@ const deployHomeGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment)
2829
await deploy("HomeGatewayToGnosis", {
2930
from: deployer,
3031
contract: "HomeGateway",
31-
args: [deployer, klerosCore.address, veaInbox.address, foreignChainId, foreignGateway.address],
32+
args: [deployer, klerosCore.address, veaInbox.address, foreignChainId, foreignGateway.address, dai.address],
3233
log: true,
3334
}); // nonce+0
3435
};

0 commit comments

Comments
 (0)