|
1 | 1 | import { describe, it, expect } from 'vitest';
|
2 | 2 | import { getInformationFromTestnode, getNitroTestnodePrivateKeyAccounts } from '../testHelpers';
|
3 |
| -import { Address, Hex, createPublicClient, http, zeroAddress } from 'viem'; |
4 |
| -import { nitroTestnodeL2, nitroTestnodeL3 } from '../chains'; |
| 3 | +import { Address, Hex, createPublicClient, http } from 'viem'; |
| 4 | +import { constants } from 'ethers'; |
| 5 | +import { nitroTestnodeL2 } from '../chains'; |
5 | 6 | import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts';
|
6 | 7 | import { getConfirmPeriodBlocks } from './getConfirmPeriodBlocks';
|
7 | 8 | import { buildSetConfirmPeriodBlocks } from './buildSetConfirmPeriodBlocks';
|
8 | 9 | import { getWasmModuleRoot } from './getWasmModuleRoot';
|
9 | 10 | import { buildSetWasmModuleRoot } from './buildSetWasmModuleRoot';
|
10 |
| -import { constants } from 'ethers'; |
11 | 11 | import { buildSetExtraChallengeTimeBlocks } from './buildSetExtraChallengeTimeBlocks';
|
12 | 12 | import { getExtraChallengeTimeBlocks } from './getExtraChallengeTimeBlocks';
|
13 | 13 | import { buildSetMinimumAssertionPeriod } from './buildSetMinimumAssertionPeriod';
|
14 | 14 | import { getMinimumAssertionPeriod } from './getMinimumAssertionPeriod';
|
15 | 15 | import { buildSetValidators } from './buildSetValidator';
|
16 | 16 | import { getValidators } from '../getValidators';
|
17 |
| -import { RollupAdminLogic__factory } from '@arbitrum/sdk/dist/lib/abi/factories/RollupAdminLogic__factory'; |
18 | 17 | import { rollupABI } from '../contracts/Rollup';
|
19 | 18 | import {
|
20 | 19 | buildDisableValidatorWhitelist,
|
21 | 20 | buildEnableValidatorWhitelist,
|
22 | 21 | } from './buildSetValidatorWhitelistDisabled';
|
23 | 22 |
|
24 |
| -const { l3Rollup, l3UpgradeExecutor, sequencerInbox, l3SequencerInbox } = |
25 |
| - getInformationFromTestnode(); |
26 |
| -const { l2RollupOwner, l3RollupOwner } = getNitroTestnodePrivateKeyAccounts(); |
| 23 | +const { l3Rollup, l3UpgradeExecutor } = getInformationFromTestnode(); |
| 24 | +const { l3RollupOwner } = getNitroTestnodePrivateKeyAccounts(); |
27 | 25 |
|
28 | 26 | const client = createPublicClient({
|
29 | 27 | chain: nitroTestnodeL2,
|
|
0 commit comments