Skip to content

Release v0.2.1

Compare
Choose a tag to compare
@joshuacolvin0 joshuacolvin0 released this 06 Oct 16:43
· 61 commits to main since this release
d52b027

A new release of the Stylus SDK is out, which is the start of some really neat tooling we're working on to improve DevX, especially around testing.

You can now run gdb against onchain transactions!

To use it, you'll need to upgrade cargo stylus. Here's the command for that

RUSTFLAGS="-C link-args=-rdynamic" cargo install --force cargo-stylus

Since the new cargo stylus trace and cargo stylus replay commands currently require Geth's js tracer, you'll need to run a node locally with the latest master. This will become easier in the future but for now is a bit bleeding edge :)

One thing to note after the upgrade, we've moved to a new major version of the Stylus SDK. In this new model, a Stylus program is structured as a library, rather than a normal Rust binary.

As a result, you'll need to switch from a main.rs to a lib.rs. cargo stylus new will do this for you for new projects.

What's Changed

New Contributors

Full Changelog: v0.1.4...v0.2.1