@@ -3,7 +3,7 @@ import { DeployFunction } from "hardhat-deploy/types";
33import getContractAddress from "./utils/getContractAddress" ;
44import { KlerosCore__factory } from "../typechain-types" ;
55import disputeTemplate from "../test/fixtures/DisputeTemplate.simple.json" ;
6- import { HardhatChain , isSkipped } from "./utils" ;
6+ import { Courts , HardhatChain , isSkipped } from "./utils" ;
77import { deployUpgradable } from "./utils/deployUpgradable" ;
88
99// TODO: use deterministic deployments
@@ -58,9 +58,8 @@ const deployHomeGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment)
5858 const signer = ( await hre . ethers . getSigners ( ) ) [ 0 ] ;
5959 const core = await KlerosCore__factory . connect ( klerosCore . address , signer ) ;
6060 // TODO: set up the correct fees for the FORKING_COURT
61- const courtId = await core . GENERAL_COURT ( ) ;
62- const fee = ( await core . courts ( courtId ) ) . feeForJuror ;
63- await execute ( "ForeignGatewayOnEthereum" , { from : deployer , log : true } , "changeCourtJurorFee" , courtId , fee ) ;
61+ const fee = ( await core . courts ( Courts . GENERAL ) ) . feeForJuror ;
62+ await execute ( "ForeignGatewayOnEthereum" , { from : deployer , log : true } , "changeCourtJurorFee" , Courts . GENERAL , fee ) ;
6463 // TODO: set up the correct fees for the lower courts
6564
6665 const disputeTemplateRegistry = await deployUpgradable ( hre , "DisputeTemplateRegistry" , {
0 commit comments