Skip to content

Commit fa3d508

Browse files
committed
test: update maxfeepergas
1 parent a4b9026 commit fa3d508

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/integrationTestHelpers/anvilHarnessHelpers.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
Hex,
99
http,
1010
parseEther,
11+
parseGwei,
1112
} from 'viem';
1213
import { generatePrivateKey, privateKeyToAccount } from 'viem/accounts';
1314
import { sepolia } from 'viem/chains';
@@ -338,6 +339,8 @@ export async function configureL2Fees(
338339
chain: walletClient.chain,
339340
to: arbOwnerAddress,
340341
gas: 4_000_000n,
342+
maxFeePerGas: parseGwei('0.1'),
343+
maxPriorityFeePerGas: 0n,
341344
data: encodeFunctionData({
342345
abi: arbOwnerABI,
343346
functionName,
@@ -405,9 +408,7 @@ export async function advanceBlock(params: {
405408
await params.publicClient.waitForTransactionReceipt({ hash });
406409
}
407410

408-
export function startBlockAdvancing(
409-
blockAdvancer: BlockAdvancer,
410-
): void {
411+
export function startBlockAdvancing(blockAdvancer: BlockAdvancer): void {
411412
if (blockAdvancingStates.has(blockAdvancer)) {
412413
return;
413414
}

src/integrationTestHelpers/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const testConstants = {
2828
'function createRetryableTicketNoRefundAliasRewrite(address to,uint256 l2CallValue,uint256 maxSubmissionCost,address excessFeeRefundAddress,address callValueRefundAddress,uint256 gasLimit,uint256 maxFeePerGas,bytes data) payable returns (uint256)',
2929
]),
3030
LOW_L2_FEE_OVERRIDES: {
31-
maxFeePerGas: ethers.BigNumber.from(2),
31+
maxFeePerGas: ethers.utils.parseUnits('0.1', 'gwei'),
3232
maxPriorityFeePerGas: ethers.BigNumber.from(0),
3333
},
3434
NITRO_DEPLOY_POLLING_INTERVAL_MS: 100,

0 commit comments

Comments
 (0)