File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
contracts/scripts/simulations Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,7 @@ export const getContracts = async (hre) => {
25
25
const pnk = ( await hre . ethers . getContract ( "PNK" ) ) as PNK ;
26
26
const randomizerRng = ( await hre . ethers . getContract ( "RandomizerRNG" ) ) as RandomizerRNG ;
27
27
const arbitrable = ( await hre . ethers . getContract ( "ArbitrableExampleEthFee" ) ) as ArbitrableExampleEthFee ;
28
- let randomizerMock : RandomizerMock | undefined ;
29
-
30
- try {
31
- randomizerMock = ( await hre . ethers . getContract ( "RandomizerMock" ) ) as RandomizerMock ;
32
- } catch ( error ) {
33
- console . log ( "RandomizerMock contract not found" ) ;
34
- }
28
+ const randomizerMock = ( await hre . ethers . getContract ( "RandomizerMock" ) . catch ( ( ) => undefined ) ) as RandomizerMock ;
35
29
36
30
return {
37
31
core,
You can’t perform that action at this time.
0 commit comments