forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
906 changed files
with
80,336 additions
and
100,150 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,11 @@ | ||
[alias] | ||
cheats = "test -p foundry-cheatcodes --features schema tests::" | ||
cheats = "test -p foundry-cheatcodes-spec --features schema tests::" | ||
test-debugger = "test -p forge --test cli manual_debug_setup -- --include-ignored --nocapture" | ||
|
||
# Increase the stack size to 10MB for Windows targets, which is in line with Linux | ||
# (whereas default for Windows is 1MB). | ||
[target.x86_64-pc-windows-msvc] | ||
rustflags = [ | ||
# Increases the stack size to 10MB, which is | ||
# in line with Linux (whereas default for Windows is 1MB) | ||
"-C", | ||
"link-arg=/STACK:10000000", | ||
] | ||
rustflags = ["-Clink-arg=/STACK:10000000"] | ||
|
||
[target.i686-pc-windows-msvc] | ||
rustflags = [ | ||
# Increases the stack size to 10MB, which is | ||
# in line with Linux (whereas default for Windows is 1MB) | ||
"-C", | ||
"link-arg=/STACK:10000000", | ||
] | ||
rustflags = ["-Clink-arg=/STACK:10000000"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[profile.default] | ||
retries = { backoff = "exponential", count = 2, delay = "2s", jitter = true } | ||
slow-timeout = { period = "1m", terminate-after = 3 } | ||
|
||
[[profile.default.overrides]] | ||
filter = "test(/ext_integration|can_test_forge_std/)" | ||
slow-timeout = { period = "5m", terminate-after = 4 } | ||
|
||
[[profile.default.overrides]] | ||
filter = "package(foundry-cheatcodes-spec)" | ||
retries = 0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
# auto-detection may fail for human-readable files, like the ones in abi/abi/*.sol | ||
**/*.sol linguist-language=Solidity | ||
|
||
crates/abi/src/bindings/*.rs linguist-generated | ||
crates/cheatcodes/assets/*.json linguist-generated | ||
testdata/cheats/Vm.sol linguist-generated |
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
* @danipopes @evalir @mattsse | ||
|
||
crates/anvil/ @danipopes @mattsse @evalir | ||
crates/cheatcodes/ @danipopes @mattsse @klkvr @evalir | ||
crates/evm/coverage/ @onbjerg | ||
crates/fmt/ @rkrasiuk | ||
crates/linking/ @klkvr | ||
crates/macros/ @danipopes | ||
crates/script/ @danipopes @mattsse @klkvr | ||
crates/wallets/ @klkvr |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Daily CI job to update forge-std version used for tests if new release has been published | ||
|
||
name: bump-forge-std | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-tag: | ||
name: update forge-std tag | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Fetch and update forge-std tag | ||
run: curl 'https://api.github.com/repos/foundry-rs/forge-std/tags' | jq '.[0].commit.sha' -jr > testdata/forge-std-rev | ||
- name: Create pull request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit-message: "chore: bump forge-std version used for tests" | ||
title: "chore(tests): bump forge-std version" | ||
body: | | ||
New release of forge-std has been published, bump forge-std version used in tests. Likely some fixtures need to be updated. | ||
branch: chore/bump-forge-std |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
name: deny | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
paths: [Cargo.lock, deny.toml] | ||
pull_request: | ||
branches: [master] | ||
paths: [Cargo.lock, deny.toml] | ||
push: | ||
branches: [master] | ||
paths: [Cargo.lock, deny.toml] | ||
pull_request: | ||
branches: [master] | ||
paths: [Cargo.lock, deny.toml] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
cargo-deny: | ||
name: cargo deny check | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: EmbarkStudios/cargo-deny-action@v1 | ||
with: | ||
command: check all | ||
# Clear out arguments to not pass `--all-features` to `cargo deny`. | ||
# many crates have an `openssl` feature which enables banned dependencies | ||
arguments: "" | ||
cargo-deny: | ||
name: cargo deny check | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: EmbarkStudios/cargo-deny-action@v1 | ||
with: | ||
command: check all | ||
# Clear out arguments to not pass `--all-features` to `cargo deny`. | ||
# many crates have an `openssl` feature which enables banned dependencies | ||
arguments: "" |
Oops, something went wrong.