Skip to content

Releases: OffchainLabs/cargo-stylus

v0.5.3

19 Sep 13:22
752612b
Compare
Choose a tag to compare

What's Changed

Minor Program Verification Fixes + Cargo.lock Enforcement

30 Aug 22:32
72f931c
Compare
Choose a tag to compare

What's Changed

Major Simplifications and Improvements

28 Aug 16:46
Compare
Choose a tag to compare

Background

This release fixes a variety of bugs reported for cargo stylus, including issues when estimating gas, using the cache subcommands, contract verification, and tracing. Moreover, it removes all the different cargo stylus sub-binaries in favor of a single cargo-stylus

What's Changed

New Contributors

Full Changelog: v0.4.2...v0.5.0

Improved Reproducible Builds

21 Aug 13:00
794221e
Compare
Choose a tag to compare

What's Changed

  • Major Changes to Reproducible Builds by @rauljordan in #53
  • Update Deps And Cargo Stylus Cache With Latest Contract ABI by @rauljordan in #58
  • Fix: Ensure --version flag works correctly for cargo stylus by @joewnga in #55
  • Obtain Cache Manager Addr from ArbWasmCache Precompile + Informational Message About Cache on Deploy by @rauljordan in #59
  • Revamp Reproducible Builds by @rauljordan in #56
  • Standalone Command to Activate Already Deployed Programs by @rauljordan in #60
  • bump version by @rauljordan in #61

Full Changelog: v0.4.0...v0.4.2

Release v0.4.0

02 Jul 15:23
884f8d8
Compare
Choose a tag to compare

A big release of Cargo Stylus is now live, with support for the following major features:

  • Program verification: Stylus programs in Rust are now deployed with a hash of their project's rust source files in their program init data, meaning they can be reproducibly verified against a commit in a Dockerized environment
  • Custom extensions: Ability to add custom cargo stylus subcommands, with an example included under example/
  • Stylus cache support: A command has been added to make it easy to interact with the Stylus cache manager on Arbitrum Sepolia

To see how to use program verification, read more here

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.4.0

Release v0.2.1

06 Oct 16:43
d52b027
Compare
Choose a tag to compare

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

Cargo Stylus 0.1.4

01 Sep 22:07
35eade5
Compare
Choose a tag to compare

Initial release of cargo stylus, with a few minor changes based on feedback from users.

Most notably, we now handle the case where an unfunded account tries to deploy a contract.