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

feat: add rpcUrlStructs cheat #3659

Merged
merged 1 commit into from
Nov 10, 2022
Merged

Conversation

mds1
Copy link
Collaborator

@mds1 mds1 commented Nov 10, 2022

This helps avoid stack to deep errors in older solidity versions when returning a nested array of strings with vm.rpcUrl

Ref foundry-rs/forge-std#217, foundry-rs/forge-std#215

Open to alternative function names

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@mattsse mattsse added T-feature Type: feature A-cheatcodes Area: cheatcodes labels Nov 10, 2022
@mattsse mattsse merged commit c5791f5 into foundry-rs:master Nov 10, 2022
ZeroEkkusu pushed a commit to foundry-rs/forge-std that referenced this pull request Nov 11, 2022
* refactor: change stdChains to a mapping

* ci: add a test contract to compile Test in CI

* fix: no more stack too deep (once foundry-rs/foundry#3659 is merged)

* ci: more granular build results

* fix: add ABIEncoderV2 pragma to compilation test

* refactor: cleanup code, more compilation tests

* build: add view modifiers to silence compiler warnings

* ci/refactor: more via-ir benchmarks, now in test dir

* chore: udpate chain names

* chore: fix test name

* ci: reorder checks, add 0.6.12
thomas-lamb-tech pushed a commit to thomas-lamb-tech/std_forge that referenced this pull request Dec 26, 2024
* refactor: change stdChains to a mapping

* ci: add a test contract to compile Test in CI

* fix: no more stack too deep (once foundry-rs/foundry#3659 is merged)

* ci: more granular build results

* fix: add ABIEncoderV2 pragma to compilation test

* refactor: cleanup code, more compilation tests

* build: add view modifiers to silence compiler warnings

* ci/refactor: more via-ir benchmarks, now in test dir

* chore: udpate chain names

* chore: fix test name

* ci: reorder checks, add 0.6.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cheatcodes Area: cheatcodes T-feature Type: feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants