Release v0.2.1
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
- UX Improvements and Support JSON ABI Exports by @rauljordan in #6
- fix deploy command messages by @Naokiakazawa in #5
- Color Improvements and Addr Checksum by @rauljordan in #9
- Remove clabot by @rachel-bousfield in #11
- C headers: utility to generate c code from solc output by @tsahee in #10
- Bump version number for 0.1.6 by @rachel-bousfield in #12
- doc: hint in error message by @prestwich in #8
- Speed up cargo stylus by @rachel-bousfield in #14
- Version Bump SDK in Cargo Stylus by @rauljordan in #13
- Some cleanup by @rachel-bousfield in #15
- Switch to cdylibs by @rachel-bousfield in #16
- Feat/add bin attr by @Defernus in #17
- Add support for
gdb
by @rachel-bousfield in #18 - Update readme installation instructions by @rachel-bousfield in #19
New Contributors
- @Naokiakazawa made their first contribution in #5
- @tsahee made their first contribution in #10
- @prestwich made their first contribution in #8
- @Defernus made their first contribution in #17
Full Changelog: v0.1.4...v0.2.1