@@ -3,7 +3,7 @@ import { DeployFunction } from "hardhat-deploy/types";
3
3
import getContractAddress from "./utils/getContractAddress" ;
4
4
import { KlerosCore__factory } from "../typechain-types" ;
5
5
import disputeTemplate from "../test/fixtures/DisputeTemplate.simple.json" ;
6
- import { HardhatChain , isSkipped } from "./utils" ;
6
+ import { Courts , HardhatChain , isSkipped } from "./utils" ;
7
7
import { deployUpgradable } from "./utils/deployUpgradable" ;
8
8
9
9
// TODO: use deterministic deployments
@@ -58,9 +58,8 @@ const deployHomeGateway: DeployFunction = async (hre: HardhatRuntimeEnvironment)
58
58
const signer = ( await hre . ethers . getSigners ( ) ) [ 0 ] ;
59
59
const core = await KlerosCore__factory . connect ( klerosCore . address , signer ) ;
60
60
// 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 ) ;
64
63
// TODO: set up the correct fees for the lower courts
65
64
66
65
const disputeTemplateRegistry = await deployUpgradable ( hre , "DisputeTemplateRegistry" , {
0 commit comments