Skip to content
bchainhubPublic

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

3 watching

Forks

Repository files navigation

Installation

  1. Run
curl -L https://up.foxar.dev/ | bash
  1. Then just run foxarup
foxarup

Foxarup will download the latest binaries from github. After foxarup finishes you can use all binaries.

For more information and more custom instalation of foxar, check out the README in foxarup/ folder.

Here are the references to the original foundry names: forge: spark anvil: shuttle chisel: pilot cast: probe

Creation revert regression

The workspace pins CVM to cf0f873. The fix journals the previous bytecode and code hash, so reverting a parent call removes code deployed by a successful child CREATE or CREATE2. The regression tests cover untouched addresses, prefunding via deal and native transfer, and an earlier EXTCODESIZE read.

Cargo fetches the corrected CVM revision directly from GitHub during the build.

Build and run the focused regression with Rust 1.87.0 and Ylem 1.1.2:

RUSTC_BOOTSTRAP=1 cargo build --locked -p foxar-cli --bin spark
FOXAR_TEST=testdata/repros/CreationRevert.t.sol target/debug/spark test \
  --offline --use 1.1.2 --contracts testdata/repros/CreationRevert.t.sol \
  --remappings ds-test/=testdata/lib/ds-test/src/ \
  --cache-path target/creation-revert-cache --match-contract CreationRevertTest -vv

RUSTC_BOOTSTRAP enables the feature gates used by this CVM version. The build creates target/debug/spark; it does not replace an installed Spark binary.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages