Skip to content

Commit

Permalink
test: override callvalue in unit test (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
spsjvc authored Oct 3, 2024
1 parent fdb7d29 commit 120b5b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/createRollupPrepareTransactionRequest.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { arbitrumSepolia } from 'viem/chains';

import { generateChainId } from './utils';
import { prepareChainConfig } from './prepareChainConfig';
import { createRollupDefaultRetryablesFees } from './constants';
import { createRollupPrepareDeploymentParamsConfig } from './createRollupPrepareDeploymentParamsConfig';
import { createRollupPrepareTransactionRequest } from './createRollupPrepareTransactionRequest';
import { rollupCreatorAddress } from './contracts/RollupCreator';
Expand Down Expand Up @@ -309,6 +310,7 @@ it(`successfully prepares a transaction request with the default rollup creator
batchPosters: [deployer.address],
validators: [deployer.address],
},
value: createRollupDefaultRetryablesFees,
account: deployer.address,
publicClient,
gasOverrides: { gasLimit: { base: 1_000n } },
Expand Down Expand Up @@ -342,6 +344,7 @@ it(`successfully prepares a transaction request with a custom rollup creator and
validators: [deployer.address],
},
account: deployer.address,
value: createRollupDefaultRetryablesFees,
publicClient,
gasOverrides: { gasLimit: { base: 1_000n, percentIncrease: 20n } },
rollupCreatorAddressOverride: '0x31421C442c422BD16aef6ae44D3b11F404eeaBd9',
Expand Down

0 comments on commit 120b5b8

Please sign in to comment.