From bd30c0581952bfd82dca66e13d6dd30aacb6e043 Mon Sep 17 00:00:00 2001 From: Daniel Bigos Date: Tue, 7 Jan 2025 14:34:46 +0100 Subject: [PATCH] build: bump motsu to v0.3.0 (#21) * build: bump motsu to v0.3.0 * docs: update CHANGELOG * docs: update version in README * docs: fix OpenZeppelin Stylus Contracts repository link * docs: fix internal links in README * chore: docs formatting * rename Readme.md -> README.md --------- Co-authored-by: Alisander Qoshqosh --- CHANGELOG.md | 3 ++- Cargo.lock | 2 +- Cargo.toml | 2 +- Readme.md => README.md | 8 ++++---- crates/motsu/Cargo.toml | 2 +- crates/motsu/README.md | 2 +- 6 files changed, 10 insertions(+), 9 deletions(-) rename Readme.md => README.md (87%) diff --git a/CHANGELOG.md b/CHANGELOG.md index de91711..64ae2b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.3.0] - 2025-01-07 ### Changed (Breaking) +- Bump `motsu` to v0.3.0. #21 - Bump `motsu-proc` to v0.3.0. #20 - Bump `alloy-primitives` and `alloy-sol-types` to v0.8.14. #20 - Bump Stylus SDK to v0.7.0. #17 diff --git a/Cargo.lock b/Cargo.lock index 1049324..d14463a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -359,7 +359,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "motsu" -version = "0.2.1" +version = "0.3.0" dependencies = [ "const-hex", "dashmap", diff --git a/Cargo.toml b/Cargo.toml index 763ddc6..994a8fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,7 +38,7 @@ alloy-sol-types = { version = "=0.8.14", default-features = false } # members motsu = { path = "crates/motsu" } -motsu-proc = { path = "crates/motsu-proc", version = ">=0.2.1, <=0.3.0" } +motsu-proc = { path = "crates/motsu-proc", version = "0.3.0" } [profile.release] codegen-units = 1 diff --git a/Readme.md b/README.md similarity index 87% rename from Readme.md rename to README.md index 78050c7..327a371 100644 --- a/Readme.md +++ b/README.md @@ -1,6 +1,6 @@ # Stylus Test Helpers -Testing in Stylus is limited today. While developing [OpenZeppelin Contracts for Stylus](https://github.com/OpenZeppelin/rust-stylus-contracts) we created a few helpers to test our contracts, and we've decided to open source them and publish them as a separate crate for the community, at least until a more comprehensive testing framework is available. +Testing in Stylus is limited today. While developing [OpenZeppelin Contracts for Stylus](https://github.com/OpenZeppelin/rust-contracts-stylus) we created a few helpers to test our contracts, and we've decided to open source them and publish them as a separate crate for the community, at least until a more comprehensive testing framework is available. This crate is a work in progress, and we'll be adding more features and improving the ergonomics as we go. We encourage projects that find this useful to contribute by opening issues and pull requests. @@ -19,7 +19,7 @@ You can import `motsu` from crates.io by adding the following line to your `Carg ```toml [dev-dependencies] -motsu = "0.2.1" +motsu = "0.3.0" ``` Then, when writing tests, use `#[motsu::test]` instead of `#[test]` to get access to VM @@ -59,8 +59,8 @@ mod tests { If you're interested in contributing please check our [contribution guidelines]. -[contribution guidelines]: ../../CONTRIBUTING.md +[contribution guidelines]: ./CONTRIBUTING.md ## Security -Refer to our [Security Policy](../../SECURITY.md) for more details. +Refer to our [Security Policy](./SECURITY.md) for more details. diff --git a/crates/motsu/Cargo.toml b/crates/motsu/Cargo.toml index d2751d2..5bfbe22 100644 --- a/crates/motsu/Cargo.toml +++ b/crates/motsu/Cargo.toml @@ -6,7 +6,7 @@ categories = ["development-tools::testing", "cryptography::cryptocurrencies"] keywords = ["arbitrum", "ethereum", "stylus", "unit-tests", "tests"] license.workspace = true repository.workspace = true -version = "0.2.1" +version = "0.3.0" [dependencies] const-hex.workspace = true diff --git a/crates/motsu/README.md b/crates/motsu/README.md index 16f7dd6..9500ec2 100644 --- a/crates/motsu/README.md +++ b/crates/motsu/README.md @@ -45,7 +45,7 @@ mod tests { ### Notice We maintain this crate on a best-effort basis. We use it extensively on our own -tests, so we will add here any features and utilities we need for testing our library. +tests, so we will add here any features and utilities we need for testing our library. That being said, please do open an issue to start a discussion, keeping in mind our [code of conduct] and [contribution guidelines].