Setting gas for contract creation on script #14026
Replies: 3 comments
-
|
This is a Solidity language limitation, only the Could you expand on the issues / limitations you are facing with Besu? Perhaps we can improve support for it in Foundry. |
Beta Was this translation helpful? Give feedback.
-
|
Perhaps try the |
Beta Was this translation helpful? Give feedback.
-
|
I have created a script to deploy a very large set of contracts for a Hyperledger Besu Proof of Concept. The line to execute the script: forge script .... --gas-price 0 --priority-gas-price 0 --gas-limit 90000000 --broadcast --skip-simulation Error: Failed to send transaction after 4 attemps- Err (Failed to estimate gas) // SPDX-License-Identifier: MIT import {Script} from "forge-std/Script.sol"; /**
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Component
Forge
Describe the feature you would like
I need to setup the gas limit for deploying a contract (it's on Besu, so the estimate gas works weird).
I have try to do it like this
authList = new AuthList{gas: 1000000000000000000}(authListOwner);
But it says that gas is not a valid key for new.
There's a way to set the gas limit when deploying a contract?
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions