Skip to content

Commit

Permalink
build: bump motsu to v0.3.0 (#21)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
bidzyyys and qalisander authored Jan 7, 2025
1 parent 1ce46b1 commit bd30c05
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Readme.md → README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion crates/motsu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/motsu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down

0 comments on commit bd30c05

Please sign in to comment.