forked from foundry-rs/book
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from foundry-rs:master #3
Open
pull
wants to merge
76
commits into
MainbaseT:master
Choose a base branch
from
foundry-rs:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update command output Co-authored-by: mattsse <[email protected]>
The guidance provided by the foundry book informs us to setup our tests via ``` contract MyTest is Test { ... } ``` However, given the inheritance and import structures of `forge-std/Test.sol`, the documentation to create a wallet produces the following error: ``` Compiler run failed: Error (7920): Identifier not found or not unique. --> test/MyTest.t.sol:86:5: | 86 | Wallet memory _w = vm.createWallet(100); | ^^^^^^ Error: ``` Instead, in order to store the result returned by `vm.createWallet`, I had to reference the `Wallet` type through the `Vm` interface, like so: ``` Vm.Wallet memory _w = vm.createWallet(100); ```
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
* doc: add info for vyper lib configuration * 🥢 Fix typo Co-authored-by: evalir <[email protected]> * 📝 Add uv note --------- Co-authored-by: evalir <[email protected]>
update command output Co-authored-by: mattsse <[email protected]>
closing parenthesis missing in function
This test will not compile if a user follows the docs as written (Error (7576): Undeclared Identifier) . After adding the stdError import they will be able to run the test successfully.
…ation (#1330) * Scripting with Arguments to tutorial * replace codeblock by inline explanation
* docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
update command output Co-authored-by: mattsse <[email protected]>
The examples for envBytes32 were using cheats.envBytes32 instead of vm.envBytes32.
update command output Co-authored-by: mattsse <[email protected]>
update command output Co-authored-by: zerosnacks <[email protected]>
…nning (#1360) update default evm_version to cancun, add explainer for pinning
update command output Co-authored-by: mattsse <[email protected]>
update command output Co-authored-by: mattsse <[email protected]>
Signed-off-by: standstaff <[email protected]>
default to stable
…ate pulling in `Vm.sol` reference (#1400)
improve legibility
Add invariant notes re timeout and show metrics
…om create2 (#1406) add docs for isContext, note re verify with libraries and custom create2
* update docs in accordance to foundry-rs/foundry#9791 and foundry-rs/foundry#9645 * nit
update command output Co-authored-by: zerosnacks <[email protected]>
…ces (#1410) remove forge debug references
* add example of error thrown, make explicit how to disable for selective instances (highly preferable over global configuration) * improve docs * improve layout
* Add reference to multichain deployment * nits --------- Co-authored-by: zerosnacks <[email protected]>
* add notes section * fix formatting
update command output Co-authored-by: mattsse <[email protected]>
* use nightly version for update workflow * use release candidate version rather than nightly
…ow to pass (#1421) remove unused and deprecated testFail* tests
* update codeowners to avoid unnecessary pinging * add back oliver
* clear out outdated tutorials * fix script * clean up * chore(output): weekly command output update (#1423) update command output Co-authored-by: zerosnacks <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: zerosnacks <[email protected]>
* rename tutorial to guide, re-add previously removed guides pending update * update scripting with solidity tutorial * remove mentiuon of nft tutorial * fix links * add create2 guide * clean up * merge in master, fix conflict * readd tutorials to README * nits * typo * we do not use alpine anymore but rather ubuntu w/ a git install * add docker-compose section * fix link * apply minor formatting fix * minor formatting
* enhance docs of expect revert * fix typo * remove `strongly`
bump foundry version
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )