Skip to content

Conversation

@zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Jul 30, 2024

Motivation

Resolves: #8553 (comment)

Closes: #8509

Solution

The exception appears to still be required, adding the new MantleSepolia entry

Verified correctness by deploying. Was able to succesfully deploy: https://explorer.sepolia.mantle.xyz/tx/0x1542c9760767afa1fbae82179f3ab62eff07d2ef47cb320edba26cbbfffa9ce7

Log:

forge script script/Counter.s.sol --rpc-url https://rpc.sepolia.mantle.xyz --keystore ~/.foundry/keystores/staging --broadcast -vvvv
[⠢] Compiling...
No files changed, compilation skipped
Enter keystore password:
Traces:
  [90165] CounterScript::run()
    ├─ [0] VM::startBroadcast()
    │   └─ ← [Return] 
    ├─ [49499] → new Counter@0x70C6E67b14e0daA3cB2e629bB42e351d113E4799
    │   └─ ← [Return] 247 bytes of code
    ├─ [0] VM::stopBroadcast()
    │   └─ ← [Return] 
    └─ ← [Stop] 


Script ran successfully.

## Setting up 1 EVM.
==========================
Simulated On-chain Traces:

  [49499] → new Counter@0x70C6E67b14e0daA3cB2e629bB42e351d113E4799
    └─ ← [Return] 247 bytes of code


==========================

Chain 5003

Estimated gas price: 0.040000001 gwei

Estimated total gas used for script: 901246893

Estimated amount required: 0.036049876621246893 ETH

==========================

##### mantle-sepolia
✅  [Success]Hash: 0x1542c9760767afa1fbae82179f3ab62eff07d2ef47cb320edba26cbbfffa9ce7
Contract Address: 0x70C6E67b14e0daA3cB2e629bB42e351d113E4799
Block: 10400512
Paid: 0.011442223992111171 ETH (572111171 gas * 0.020000001 gwei)

✅ Sequence #1 on mantle-sepolia | Total Paid: 0.011442223992111171 ETH (572111171 gas * avg 0.020000001 gwei)
                                                                                                                                                                                                                                       

==========================

@zerosnacks zerosnacks added the T-blocked Type: blocked label Jul 30, 2024
@zerosnacks zerosnacks changed the title fix: Error intrinsic gas too low when deploying contract on Mantle / Mantle Sepolia (#8509) fix: Error intrinsic gas too low when deploying contract on Mantle / Mantle Sepolia (follow-up) Jul 30, 2024
@zerosnacks zerosnacks changed the title fix: Error intrinsic gas too low when deploying contract on Mantle / Mantle Sepolia (follow-up) fix: error intrinsic gas too low when deploying contract on Mantle / Mantle Sepolia (follow-up) Jul 30, 2024
@zerosnacks zerosnacks removed the T-blocked Type: blocked label Jul 30, 2024
@zerosnacks zerosnacks marked this pull request as ready for review July 30, 2024 13:54
@DaniPopes DaniPopes merged commit 26a7559 into master Jul 30, 2024
@DaniPopes DaniPopes deleted the zerosnacks/mantle-low-gas branch July 30, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(forge script): Error intrinsic gas too low when deploying contract on Mantle/ Mantle Sepolia

3 participants