foundry: bug: forge can't disable EIP-1559: deserialization error: missing field `effectiveGasPrice` at line 1 column 949
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (440ec52 2024-04-11T00:18:58.806922049Z)
What command(s) is the bug in?
forge script -vv --broadcast --legacy scripts/deploy/deploy-fiat-token.s.sol --rpc-url https://earpc.apothem.network/
Operating System
Linux
Describe the bug
[⠒] Compiling...
No files changed, compilation skipped
Script ran successfully.
== Return ==
0: contract FiatTokenV2_2 0xFee50c8Bdb3589B43ed1771C2c5aA1EF6B050909
1: contract MasterMinter 0x75F96eA6205168214185F366f51C798bF2548bE0
2: contract FiatTokenProxy 0xf661B45f9Ef7b10363491505b8dB6C7FdC0416f5
== Logs ==
TOKEN_NAME: 'USDC'
TOKEN_SYMBOL: 'USDC'
TOKEN_CURRENCY: 'USD'
TOKEN_DECIMALS: '6'
FIAT_TOKEN_IMPLEMENTATION_ADDRESS: '0x0000000000000000000000000000000000000000'
PROXY_ADMIN_ADDRESS: '0x85f33E1242d87a875301312BD4EbaEe8876517BA'
MASTER_MINTER_OWNER_ADDRESS: '0xD4CE02705041F04135f1949Bc835c1Fe0885513c'
OWNER_ADDRESS: '0xD4CE02705041F04135f1949Bc835c1Fe0885513c'
PAUSER_ADDRESS: '0xD4CE02705041F04135f1949Bc835c1Fe0885513c'
BLACKLISTER_ADDRESS: '0xD4CE02705041F04135f1949Bc835c1Fe0885513c'
LOST_AND_FOUND_ADDRESS: '0xD4CE02705041F04135f1949Bc835c1Fe0885513c'
## Setting up 1 EVM.
==========================
Chain 51
Estimated gas price: 12.5 gwei
Estimated total gas used for script: 10472885
Estimated amount required: 0.1309110625 ETH
==========================
##
Sending transactions [0 - 13].
⠤ [00:00:00] [#########################################################################################################################################################################################################################################################] 14/14 txes (0.0s)##
Waiting for receipts.
Transactions saved to: /home/me/stablecoin-evm/broadcast/deploy-fiat-token.s.sol/51/run-latest.json
Sensitive values saved to: /home/me/stablecoin-evm/cache/foundry/deploy-fiat-token.s.sol/51/run-latest.json
Error:
Transaction dropped from the mempool: 0x4e14f72142063a135c3325fa04ea025f97a35829b401c03c2645cdd4af1d89fb
Transaction dropped from the mempool: 0x8374e1529915c60d0cb532157f16b59718791d6606ada814dc9043e91ac5d536
Transaction dropped from the mempool: 0x312d1eaa0e6da34a384ab12b111c21078284b10c6f248ee61b98ca58f78754c8
Transaction dropped from the mempool: 0x2aef0431710aa295ff22d036544d598d5e9449bd8d41f778fbb560108b5a7d5e
Transaction dropped from the mempool: 0x2c9159c39bccdc96ce2dcc86156e8523d4287772c87811bbf6e15f00418aeecb
Transaction dropped from the mempool: 0x6b8275c3921eb67d27a1510600fae55a27512a9e87b3c07b87af7c301f5f5e42
Transaction dropped from the mempool: 0x004c66ed23dde13ff4741bc523fb4e3b0a2edd61b8165459f0f0c57591795d78
Transaction dropped from the mempool: 0x6b468f8366b200effea62414aa20ed70a1e6b5f7a562d04d503b36d74905989a
Transaction dropped from the mempool: 0x57d6a91bf4c2c721a2dd3d04b322bee6b9229ebe3dc6118dd2135dd1aa9d7482
Transaction dropped from the mempool: 0x554f76915fa5427b5dc2c87f762a44143fc20fa5f58994aa66dc7f4685694bd7
Failure on receiving a receipt for 0x30da84834d32fdf0922dd0cdbfc465471f538a5bea8c2dcd606a1ab8c0ac7ab9:
deserialization error: missing field `effectiveGasPrice` at line 1 column 950
Failure on receiving a receipt for 0x9fed85be5300fc187885627ee3a38a594dac52cb37598d47873667231d37b0e9:
deserialization error: missing field `effectiveGasPrice` at line 1 column 950
Failure on receiving a receipt for 0xbd5311977f8f17c45a6eaec2eacd2b412d04db76375f45d9302eb479e5a3a0ce:
deserialization error: missing field `effectiveGasPrice` at line 1 column 949
Failure on receiving a receipt for 0x9a02e36c5515c7afc516b954e2933e2c7a25ec4d1c7815e1fe2ffbc5e4efe4fc:
deserialization error: missing field `effectiveGasPrice` at line 1 column 949
Add `--resume` to your command to try and continue broadcasting
the transactions.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
But the above transactions are success on explorer https://explorer.apothem.network/ in fact.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 1
- Comments: 18 (10 by maintainers)
@zerosnacks we can keep this open, but imo this is a no-fix
Any movement on this issue? I am having the same problem with a slightly dated custom chain.
I solved this problem by switch to other versions.
effectiveGasPrice is now the standard field for gas price according to the spec