Skip to content

Commit dff1845

Browse files
committed
fix: wrong imports and params
1 parent ccaf653 commit dff1845

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

cli/commands/contracts/disputeManager.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { constants, utils, Wallet } from 'ethers'
33
import { createAttestation, Attestation, Receipt } from '@graphprotocol/common-ts'
44

55
import { logger } from '../../logging'
6-
import { sendTransaction, getChainID, getProvider, toGRT, randomHexBytes } from '../../network'
6+
import { sendTransaction, getProvider, toGRT, randomHexBytes } from '../../network'
77
import { loadEnv, CLIArgs, CLIEnvironment } from '../../env'
8+
import { getChainID } from '../../../test/lib/testHelpers'
89

910
const { HashZero } = constants
1011
const { defaultAbiCoder: abi, arrayify, concat, hexlify } = utils
@@ -18,7 +19,7 @@ interface ChannelKey {
1819
async function buildAttestation(receipt: Receipt, signer: string, disputeManagerAddress: string) {
1920
const attestation = await createAttestation(
2021
signer,
21-
getChainID(),
22+
await getChainID(),
2223
disputeManagerAddress,
2324
receipt,
2425
'0',

scripts/e2e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function configure_bridge () {
107107

108108
# Copy required arbitrum contract addresses to the local arbitrum address book
109109
if [[ "$L1_NETWORK" == *"localnitro"* ]]; then
110-
npx hardhat nitro:address-book-setup --deployment-file "$ARBITRUM_DEPLOYMENT_FILE" --arbitrum-address-book "$ARBITRUM_ADDRESS_BOOK" --disable-secure-accounts
110+
npx hardhat nitro:address-book-setup --deployment-file "$ARBITRUM_DEPLOYMENT_FILE" --arbitrum-address-book "$ARBITRUM_ADDRESS_BOOK"
111111
fi
112112

113113
# Configure the bridge

tasks/deployment/nitro.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export const TASK_NITRO_SETUP_ADDRESS_BOOK = 'nitro:address-book-setup'
1111
export const TASK_NITRO_FETCH_DEPLOYMENT_FILE = 'nitro:fetch-deployment-file'
1212

1313
task(TASK_NITRO_FUND_ACCOUNTS, 'Funds protocol accounts on Arbitrum Nitro testnodes')
14+
.addFlag('disableSecureAccounts', 'Disable secure accounts on GRE')
1415
.addOptionalParam('graphConfig', cliOpts.graphConfig.description)
1516
.addOptionalParam('privateKey', 'The private key for Arbitrum testnode genesis account')
1617
.addOptionalParam('amount', 'The amount to fund each account with')

0 commit comments

Comments
 (0)