Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resuming a multi chain deployment leads to: The application panicked (crashed). Message: to have been filled with a proper rpc #5047

Closed
2 tasks done
0xTimepunk opened this issue May 25, 2023 · 4 comments
Labels
T-bug Type: bug

Comments

@0xTimepunk
Copy link

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 (a26edce 2023-05-25T00:12:21.044857000Z)

What command(s) is the bug in?

forge script script/Test.Mainnet.Deploy.s.sol \ --resume \ --multi \ --slow \ -vvvv

Operating System

macOS (Apple Silicon)

Describe the bug

I am trying to do a multiChain deployment to three chains. I am trying to do this with the following command

forge script script/Test.Mainnet.Deploy.s.sol \
    --broadcast \
    --slow \
    -vvvv

Some transactions failed in Polygon, probably due to block re-rogs. I wanted to retry them, so I decided to run the following script:

forge script script/Test.Mainnet.Deploy.s.sol \
    --resume \
    --multi \
    -vvvv

And I get the following error

The application panicked (crashed).
Message:  to have been filled with a proper rpc
Location: cli/src/cmd/forge/script/sequence.rs:362

This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   2: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   3: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   4: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   5: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   6: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   7: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   8: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
   9: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  10: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  11: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  12: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  13: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  14: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  15: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  16: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  17: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  18: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  19: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  20: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>
  21: __mh_execute_header<unknown>
      at <unknown source file>:<unknown line>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
utils/run_script_mainnet.sh: line 12: 95185 Abort trap: 6           forge script script/Test.Mainnet.Deploy.s.sol --resume --multi
@0xTimepunk 0xTimepunk added the T-bug Type: bug label May 25, 2023
@gakonst gakonst added this to Foundry May 25, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry May 25, 2023
@Evalir
Copy link
Member

Evalir commented May 25, 2023

cc @mattsse looks like a regression from #4892, will investigate

@0xTimepunk
Copy link
Author

cc @mattsse looks like a regression from #4892, will investigate

Thanks for commenting @Evalir.

Also, we are not sure in the first place why so many transactions were not even processed in our script. On Polygon it was obvious what the problem was, but for BSC and AVAX it's as if the script stopped midway with no apparent reason.

Are multi-chain deployments fully working and if not what are their limitations?

@devanoneth
Copy link
Contributor

devanoneth commented May 29, 2023

Happy to also take a look. @0xTimepunk is the repo public anywhere? It can help with reproducing + I'd like to add a regression test once we get it fixed. Thanks.

@Evalir
Copy link
Member

Evalir commented Aug 30, 2023

Closing, stale and can't seem to repro regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

No branches or pull requests

3 participants