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

[pull] master from foundry-rs:master #3

Open
wants to merge 76 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 21, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

update command output

Co-authored-by: mattsse <[email protected]>
@pull pull bot added the ⤵️ pull label Oct 21, 2024
juannyG and others added 28 commits October 23, 2024 14:00
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]>
Revert "docs: update default `out` folder (#1337)"

This reverts commit 1be562e.
update command output

Co-authored-by: mattsse <[email protected]>
closing parenthesis missing in function
* Document vm.mockCalls

* Add mockCall and mockCalls with `msg.value` param to cheatcodes readme

* Add example in mockCalls for mocking with msg.value
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]>
grandizzy and others added 30 commits January 28, 2025 09:52
Add invariant notes re timeout and show metrics
…om create2 (#1406)

add docs for isContext, note re verify with libraries and custom create2
update command output

Co-authored-by: zerosnacks <[email protected]>
* 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]>
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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.