File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
block-verification-in-parent-chain-assertion
parent-chain-confirmation-checker Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "description" : " This tutorial shows how to verify whether a block has been processed as part of an RBlock assertion on the parent chain." ,
55 "scripts" : {
6- "exec" : " hardhat run scripts/exec.js "
6+ "exec" : " ts-node scripts/exec.ts "
77 },
88 "dependencies" : {
99 "@arbitrum/sdk" : " ^v4.0.1" ,
Original file line number Diff line number Diff line change 11import { providers , Contract } from 'ethers' ;
2- import { getArbitrumNetwork , registerCustomArbitrumNetwork } from '@arbitrum/sdk' ;
2+ import { getArbitrumNetwork } from '@arbitrum/sdk' ;
33import { BoldRollupUserLogic__factory } from '@arbitrum/sdk/dist/lib/abi-bold/factories/BoldRollupUserLogic__factory' ;
44import { arbLog , requireEnvVariables , addCustomNetworkFromFile } from 'arb-shared-dependencies' ;
55require ( 'dotenv' ) . config ( ) ;
@@ -16,7 +16,7 @@ const main = async (childChainBlockNumberToVerify: number) => {
1616 'Find whether a block of the child chain has been processed as part of an RBlock on the parent chain' ,
1717 ) ;
1818
19- addCustomNetworkFromFile ( registerCustomArbitrumNetwork ) ;
19+ addCustomNetworkFromFile ( ) ;
2020
2121 const childChainNetwork = await getArbitrumNetwork ( childChainProvider ) ;
2222 const rollupAddress = childChainNetwork . ethBridge . rollup ;
Original file line number Diff line number Diff line change 33 "license" : " Apache-2.0" ,
44 "version" : " 1.0.0" ,
55 "scripts" : {
6- "exec" : " hardhat run scripts/exec.js "
6+ "exec" : " ts-node scripts/exec.ts "
77 },
88 "dependencies" : {
99 "@arbitrum/sdk" : " ^v4.0.1" ,
Original file line number Diff line number Diff line change 33 "license" : " Apache-2.0" ,
44 "version" : " 1.0.0" ,
55 "scripts" : {
6- "checkConfirmation" : " yarn hardhat run scripts/exec.js --action checkConfirmation" ,
7- "findSubmissionTx" : " yarn hardhat run scripts/exec.js --action findSubmissionTx"
6+ "checkConfirmation" : " yarn ts-node scripts/exec.ts --action checkConfirmation" ,
7+ "findSubmissionTx" : " yarn ts-node scripts/exec.ts --action findSubmissionTx"
88 },
99 "dependencies" : {
1010 "@arbitrum/sdk" : " ^v4.0.1" ,
You can’t perform that action at this time.
0 commit comments