Skip to content

Commit c0fa2b0

Browse files
committed
chore: reduce gas limits
1 parent eee2eb8 commit c0fa2b0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/node-tests/src/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ impl SignetTestContext {
316316
let contract_address = deployer.create(self.nonce(deployer));
317317
let tx = TransactionRequest::default()
318318
.from(deployer)
319-
.gas_limit(21_000_000)
319+
.gas_limit(16_000_000)
320320
.with_deploy_code(COUNTER_DEPLOY_CODE);
321321

322322
let (_tx, _receipt) = self.process_alloy_tx(&tx).await.unwrap();
@@ -329,7 +329,7 @@ impl SignetTestContext {
329329
let contract_address = deployer.create(self.nonce(deployer));
330330
let tx = TransactionRequest::default()
331331
.from(deployer)
332-
.gas_limit(21_000_000)
332+
.gas_limit(16_000_000)
333333
.with_deploy_code(Log::BYTECODE.clone());
334334

335335
let (_tx, _receipt) = self.process_alloy_tx(&tx).await.unwrap();

crates/node-tests/tests/submit-tx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async fn test_deploy_contract() {
5252
.from(deployer)
5353
.max_priority_fee_per_gas(GWEI_TO_WEI.into())
5454
.max_fee_per_gas(GWEI_TO_WEI.into())
55-
.gas_limit(21_000_000)
55+
.gas_limit(16_000_000)
5656
.with_deploy_code(COUNTER_DEPLOY_CODE);
5757

5858
let (tx, receipt) = ctx.process_alloy_tx(&tx).await.unwrap();

0 commit comments

Comments
 (0)