testHelpers
Functions
createRollupHelper()
function createRollupHelper(__namedParameters: object): Promise<object>
Parameters
Parameter | Type |
---|---|
__namedParameters | object |
__namedParameters.batchPoster | `0x${string}` |
__namedParameters.client | object |
__namedParameters.deployer | PrivateKeyAccountWithPrivateKey |
__namedParameters.nativeToken | `0x${string}` |
__namedParameters.validators | [`0x${string}`] |
Returns
Promise
<object
>
Member | Type |
---|---|
createRollupConfig | object |
createRollupConfig.baseStake | bigint |
createRollupConfig.chainConfig | string |
createRollupConfig.chainId | bigint |
createRollupConfig.confirmPeriodBlocks | bigint |
createRollupConfig.extraChallengeTimeBlocks | bigint |
createRollupConfig.genesisBlockNum | bigint |
createRollupConfig.loserStakeEscrow | `0x${string}` |
createRollupConfig.owner | `0x${string}` |
createRollupConfig.sequencerInboxMaxTimeVariation | object |
createRollupConfig.sequencerInboxMaxTimeVariation.delayBlocks | bigint |
createRollupConfig.sequencerInboxMaxTimeVariation.delaySeconds | bigint |
createRollupConfig.sequencerInboxMaxTimeVariation.futureBlocks | bigint |
createRollupConfig.sequencerInboxMaxTimeVariation.futureSeconds | bigint |
createRollupConfig.stakeToken | `0x${string}` |
createRollupConfig.wasmModuleRoot | `0x${string}` |
createRollupInformation | CreateRollupResults |
Source
getInformationFromTestnode()
function getInformationFromTestnode(): TestnodeInformation
Returns
TestnodeInformation
Source
getNitroTestnodePrivateKeyAccounts()
function getNitroTestnodePrivateKeyAccounts(): NitroTestNodePrivateKeyAccounts
Returns
NitroTestNodePrivateKeyAccounts