foundry icon indicating copy to clipboard operation
foundry copied to clipboard

Continue broadcast/verify for transactions with empty receipts

Open 0xPhaze opened this issue 3 years ago • 1 comments

Component

Forge

Have you ensured that all of these are up to date?

  • [X] Foundry
  • [X] Foundryup

What version of Foundry are you on?

forge 0.2.0 (c2816ca 2022-09-14T00:14:35.602522Z)

What command(s) is the bug in?

forge script

Operating System

macOS (Apple Silicon)

Describe the bug

I just sent out a bunch of transactions on Polygon and it seems like some were not received/discarded by the rpc (perhaps --slow would have helped me here).

If I try to continue the run with --resume, I get the message:

source .env && forge script deploy --rpc-url $RPC_POLYGON --private-key $PRIVATE_KEY_2 --verify --etherscan-api-key $POLYGONSCAN_KEY --with-gas-price 38gwei -vvvv --ffi --resume
[⠆] Compiling...
No files changed, compilation skipped
##
Checking previously pending transactions.

Transactions saved to: /Users/lain/git/eth/GangWar/broadcast/deploy.s.sol/137/run-latest.json

Error: 
Received an empty receipt for 0x71c527453996ba1c52969f5e30dfd345b95141058f9455ba6372afd198019c67
Received an empty receipt for 0x0cb9192bfa9d9765840518d41ead4ea7d366ff076f433b5f6e7cbad9207fe001
Received an empty receipt for 0x462cbd26b381052de3c084211576938c313f5498c3a79e8bbe4f9e1c9b8dc85f
Received an empty receipt for 0x3787c9a791e62b5c798eb217d7b2dae12111639db5d944da0ee22d3eb8a2ab04
Received an empty receipt for 0xebb7bde630743a752964fac473edd49ca2a0d39988f00e01a663e8f29417c7c9
Received an empty receipt for 0xf96172fcea9aab147e2c041fff9bda4a2678fa91c203647bc3e85987c71f739f
Received an empty receipt for 0x36e1126e417a1641f28cc3b21408f39f35a7402fd7269aaef348ec9e07744982
Received an empty receipt for 0x507c8520730bd404617c1bced3c1d3c944d4e9818209d93cfbd4ce7aaf18895d
Received an empty receipt for 0x20d6944e8ba31221edb69dd52ae6d0c55044a90df52b39e7d7d996525b30125c
Received an empty receipt for 0xa2f3abc64e10819018830cea84b9b683c532c8b2a243885ac3bb416bb3e43582
Received an empty receipt for 0xeff670c6ca6bbc2b0f4304efd20a28c149cb3df0a5f37e6ae187b146f4cbc85b
Received an empty receipt for 0x105159a2a30b5dc7e805fc0b51596b7ed8a5d305e2a66e3ad1ddc3db9b4b262b
Received an empty receipt for 0xbf2675c87adf05486d6a2ee62a032582e93157f01eba41371af617b082f1a59e
Received an empty receipt for 0x8ef61430ee404874ce73cf8a14ed8ff39dd4ac33a5f28ecf243bc02dae30f623
Received an empty receipt for 0x4ec4c838b3f772d40c908682f0e2387be608bc77ea777a3ea5680bb8494e0b08
Received an empty receipt for 0x7460833183b9803b702e44afcc043e99106a0527a823596260a8d963dd6960f4
Received an empty receipt for 0x15996af234cd5edb109c226b167010639be403a37577a5fda751a5a593ad4c85
Received an empty receipt for 0xe9a7562346a4ebf82803f6b37c750a5602d215545bb6189f0ff2056f912cc963
Received an empty receipt for 0x141037375f75d3f7249a838ff13fd8ca4bdf21d98e36cc0ecdad966f28f4ff8c
Received an empty receipt for 0xec0243d0c9cfcd428a2c2f205466c223e457eba5d91b0e3b4e3d08573f6119c4
Received an empty receipt for 0x1f065143636a41442ead63e082f7188f8393f25242b2069ec2f9dd9847e2a433
Received an empty receipt for 0x00d4db0615f132bf58e1b2022c03385fba70cbb7733bef3ae673aadac8f48fbf
Received an empty receipt for 0xe8244c0012938bd39021b4499a4b1c6d8c6f47ebf75dc8befa45370c0e952a63
Received an empty receipt for 0xe98a53134a2756778ce42a2e77b89be40597cd1ffc7a7bc010d1e4ee222472f3
Received an empty receipt for 0x4f92f463b06aa023c1ab0bdeb16428c329f6283d01aefc5d2f0d7a25ed0960f1
Received an empty receipt for 0x67049c590a363f05272fb79c5561ff5ea6b773140a76784c22e2c25ce02299bb
Received an empty receipt for 0xcf7372f4cc5d39706887a0e2aa826b76a845c8cabe465b0b07f50fb278660753

 Add `--resume` to your command to try and continue broadcasting
    the transactions.

Now I'm stuck, since I'm unable to verify the current (already deployed contracts) and it won't re-send the remaining transactions. I can probably just remove those transactions from the 'run-latest.json' and continue, but wanted to raise the issue here first. Here's a link to the 'run-latest.json': https://github.com/0xPhaze/gang-war/blob/master/broadcast/deploy.s.sol/137/run-latest.json

0xPhaze avatar Sep 14 '22 10:09 0xPhaze

experiencing a similar issue.

broadcasting txn to a local Anvil node with forge script script/FortressInit.s.sol:FortressInit --fork-url http://anvil:8545 --broadcast --resume —slow

getting Received an empty receipt for 0x3866e1cb6c3dc812b4173fa88a1877d3621b947a4d81bd095da26c62deeb9b62.

johnnyonline avatar Sep 20 '22 14:09 johnnyonline

@0xPhaze @johnnyonline is this still an issue?

mds1 avatar Apr 11 '23 22:04 mds1

@mds1 not anymore for me ser.

johnnyonline avatar Apr 12 '23 16:04 johnnyonline

Ok great, will close this then, thanks!

mds1 avatar Apr 12 '23 16:04 mds1