Skip to content

feat: Upstream 9f11e6df commits#900

Merged
Jrigada merged 73 commits intomainfrom
upstream-9f11e6df-commits
Feb 5, 2025
Merged

feat: Upstream 9f11e6df commits#900
Jrigada merged 73 commits intomainfrom
upstream-9f11e6df-commits

Conversation

@Jrigada
Copy link
Copy Markdown
Contributor

@Jrigada Jrigada commented Feb 5, 2025

What 💻

  • Include Foundry upstream commit history

9547 and others added 30 commits January 7, 2025 16:36
* fix(ens): don't resolve addr if doesn't contain .

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>

* fix invalid ens name

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>

---------

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>
…630)

* feat(`verify`): default to sourcify if etherscan key not provided

* clippy

* nit

Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>

---------

Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
* chore(`forge`): rm regex for --debug and --decode-internal

* fix

* fix tests

---------

Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>
…646)

* fix(cheatcode): use storage access address instead account access

* Update crates/cheatcodes/src/evm.rs

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>

* Fix fmt

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
feat: add `cast chain` support for `ink` & `ink-sepolia`
…e (#9645)

* do not remove snapshots directory before running the test suite, the side effect is that any custom group names or file name changes are not reflected - this is delegated to the end user

* do not remove the `snapshots` directory upon running `forge clean`
* fix: disable optimizer by default

* Set default optimizer runs to 200
* feat(docker): build arm64 image

Signed-off-by: jsvisa <delweng@gmail.com>

* wip

Signed-off-by: jsvisa <delweng@gmail.com>

* Revert "wip"

This reverts commit a152a4c30b7aa510b95d32d5dc8d8d655e90d7f0.

Signed-off-by: jsvisa <delweng@gmail.com>

* Revert "feat(docker): build arm64 image"

This reverts commit 09adcbc0f4129f74831588a7e1665a7064eea2f6.

Signed-off-by: jsvisa <delweng@gmail.com>

* feat(make): add cross docker build

Signed-off-by: jsvisa <delweng@gmail.com>

* feat(make): multi tags

Signed-off-by: jsvisa <delweng@gmail.com>

* feat(github): use cross build

Signed-off-by: jsvisa <delweng@gmail.com>

* add Dockerfile.cross

Signed-off-by: jsvisa <delweng@gmail.com>

* fix(make): don't recreate cross-builder

Signed-off-by: jsvisa <delweng@gmail.com>

* make: add log

Signed-off-by: jsvisa <delweng@gmail.com>

* fix: missing \

Signed-off-by: jsvisa <delweng@gmail.com>

* typo

Signed-off-by: jsvisa <delweng@gmail.com>

* Update docker-publish.yml

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Locking 41 packages to latest compatible versions
    Updating alloy-chains v0.1.54 -> v0.1.55
    Updating async-trait v0.1.84 -> v0.1.85
    Updating aws-sdk-sts v1.54.0 -> v1.54.1
    Updating bitflags v2.6.0 -> v2.7.0
    Updating cc v1.2.7 -> v1.2.8
    Updating clap v4.5.23 -> v4.5.26
    Updating clap_builder v4.5.23 -> v4.5.26
    Updating clap_complete v4.5.40 -> v4.5.42
    Updating clap_derive v4.5.18 -> v4.5.24
    Updating handlebars v6.2.0 -> v6.3.0
    Updating inferno v0.12.0 -> v0.12.1
    Updating instability v0.3.6 -> v0.3.7
      Adding itertools v0.14.0
    Updating linux-raw-sys v0.4.14 -> v0.4.15
    Updating nybbles v0.3.3 -> v0.3.4
    Updating op-alloy-consensus v0.9.0 -> v0.9.2
    Updating op-alloy-rpc-types v0.9.0 -> v0.9.2
    Updating phf v0.11.2 -> v0.11.3
    Updating phf_codegen v0.11.2 -> v0.11.3
    Updating phf_generator v0.11.2 -> v0.11.3
    Updating phf_macros v0.11.2 -> v0.11.3
    Updating phf_shared v0.11.2 -> v0.11.3
    Updating pin-project v1.1.7 -> v1.1.8
    Updating pin-project-internal v1.1.7 -> v1.1.8
    Updating pin-project-lite v0.2.15 -> v0.2.16
    Updating prettyplease v0.2.25 -> v0.2.27
    Updating proc-macro2 v1.0.92 -> v1.0.93
    Updating revm v19.0.0 -> v19.2.0
    Updating rustix v0.38.42 -> v0.38.43
    Updating rustls v0.23.20 -> v0.23.21
    Updating security-framework v3.1.0 -> v3.2.0
    Updating security-framework-sys v2.13.0 -> v2.14.0
    Updating serde_json v1.0.134 -> v1.0.135
      Adding siphasher v1.0.1
    Updating syn v2.0.94 -> v2.0.96
    Updating thiserror v2.0.9 -> v2.0.11
    Updating thiserror-impl v2.0.9 -> v2.0.11
    Updating tokio v1.42.0 -> v1.43.0
    Updating tokio-macros v2.4.0 -> v2.5.0
    Updating uuid v1.11.0 -> v1.11.1
    Updating winnow v0.6.22 -> v0.6.24
note: pass `--verbose` to see 12 unchanged dependencies behind latest

Co-authored-by: mattsse <19890894+mattsse@users.noreply.github.com>
…(#9666)

* chore(clippy): use next_back instead of last for DoubleEndedIterator

Signed-off-by: jsvisa <delweng@gmail.com>

* more cases

Signed-off-by: jsvisa <delweng@gmail.com>

* last -> next_back

Signed-off-by: jsvisa <delweng@gmail.com>

* len ==0 => is_empty

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
* fix: error handling with retries when waiting for receipt

* Add RetryError::Continue variant, rework receipts tx check
* fix(`script`): use fork_block_number for init sender nonce

* test
* feat(foundryup):: add self-update

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>

* renmae to --update

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>

* download to tmp file first

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>

---------

Signed-off-by: 9547 <29431502+9547@users.noreply.github.com>
… (#9673)

* fix(`config`): enable optimizer if `optimizer_runs` has been set

* test

* fix(`config`): change optimizer properties to Option

* fix

* nit

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>

* fix

* nit

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
* add version number, display using --version

* use say instead of echo

* add input box for foundryup version to bug template
grandizzy and others added 21 commits January 23, 2025 16:30
* feat: stop supporting legacy console.sol signatures

* chore: update console.sol in tests

* Fix test

---------

Co-authored-by: grandizzy <grandizzy.the.egg@gmail.com>
Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>
…test (#9537)

* fix(cheatcode): expect revert only for calls with greater depth

* Add config to allow expect revert for internal calls

* Fix default config test

* Update crates/cheatcodes/src/inspector.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

---------

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
* fix(`forge bind`): prefix keyword mod names with r#

* nit

* is_ok
* feat(`cast`): support alternative explorers in `source`

* fix

* fix
* feat: override the eyre display handler globally

* chore: install handler in anvil

* msg
* refactor(debugger): renames, less clones

* perf(coverage): use u32 for IDs, improve analysis

* perf: don't keep source maps around, shrink_to_fit

* chore: clippy

* fmt
* start adding new benchmarks and recording

* add benchmarks

* add solady compilation benchmark

* crop demo gif to scale better

* clean up

* fix morpho-blue integration test, skewed because of create2 mining

* add compilation comparison for openzeppelin

* add very basic getting started

* add basic examples for each tool

* clean up

* clean up

* use default MIT and Apache 2.0 licenses for auto-recognition by Github

* apply default format of license, using existing fields

* clean up, point to book as primary source rather than crates

* clean up dev docs

* spell fix

* clean up

* nits

* nits

* revert to previous license version, updated format was not necessary - possibly Github related data issue yesterday

* Apply suggestions from code review

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>

* note dual support

* fix link to actions

Co-authored-by: Lubov66 <radolevanja@gmail.com>

* link directly to existing references rather than overviews

* add designed benchmarks

* improve size slightly

* use center alignment

* fix spacing

* fix spacing

* update image paths

* remove outdated Foundry docs, users should refer to the book

* remove outdated docs, Foundry book should serve as primary source until we actually focus on Foundry as a library

* move demo.gif, remove unused logo

* fix build

* update table in fmt, restore docs for crate

* try fixing rpc that is down

---------

Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
Co-authored-by: Lubov66 <radolevanja@gmail.com>
fix(cheatcode): update revm with support for updated 7702
* avoid returning None for library addresses during fuzzing

* cargo fmt

* randomize address if it belongs to a deployed lib

* return early in happy path
@Karrq Karrq requested a review from a team February 5, 2025 20:01
@Jrigada Jrigada merged commit 13051f0 into main Feb 5, 2025
@Jrigada Jrigada deleted the upstream-9f11e6df-commits branch February 5, 2025 20:58
@Jrigada Jrigada restored the upstream-9f11e6df-commits branch February 5, 2025 21:00
@MBerguer MBerguer deleted the upstream-9f11e6df-commits branch February 5, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.