You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having issues running a Script which deploys multiple contracts to Optimism Goerli where after the first contract is deployed, I get:
$ forge script script/v1/Deploy.s.sol:Deploy --rpc-url $GOERLI_RPC_URL --broadcast --slow
warning: Unknown section [default] found in foundry.toml. This notation for profiles has been deprecated and may result in the profile not being registered in future versions. Please use [profile.default] instead or run `forge config --fix`.
[⠆] Compiling...
No files changed, compilation skipped
Script ran successfully.
## Setting up (1) EVMs.
==========================
Chain 420
Estimated total gas used for script: 41805829
Estimated amount required: 0.062708745548485621 ETH
==========================
###
Finding wallets for all the necessary addresses...
##
Sending transactions [0 - 22].
⠁ [00:00:00] [####>------------------------------------------------------------------------------------------------------] 1/23 txes (17.3s)
Transactions saved to: /home/carter/Documents/velodrome/contracts-private/broadcast/Deploy.s.sol/420/run-latest.json
Error:
Transaction dropped from the mempool: 0x61e10f3d3f2d132501d9d10eb6be903da9b2569950cfddd3d9318f20f58a546c
Foundry is wrong - the contract was successfully deployed with that tx hash. Link
Here's an example snippet of the Deploy.s.sol:
contract Deploy is Script {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");
function run() public {
vm.startBroadcast(deployerPrivateKey);
Contract1 contract1 = new Contract1();
Contract2 contract2 = new Contract2();
}
}
Is there an issue with the optimism sequencer where foundry incorrectly thinks a transaction has been dropped?
The text was updated successfully, but these errors were encountered:
I am having issues running a
Script
which deploys multiple contracts to Optimism Goerli where after the first contract is deployed, I get:Foundry is wrong - the contract was successfully deployed with that tx hash. Link
Here's an example snippet of the
Deploy.s.sol
:Is there an issue with the optimism sequencer where foundry incorrectly thinks a transaction has been dropped?
The text was updated successfully, but these errors were encountered: