Skip to content

Commit

Permalink
ref: Remove motsu from the repo and just import from crates.io (#456)
Browse files Browse the repository at this point in the history
Resolves #455 

Next Steps
- [x] Make the new repo public
(https://github.com/OpenZeppelin/stylus-test-helpers)
- [x] Publish `0.2.1` for motsu and motsu-proc from the new repo?
- [ ] Merge this PR

---------

Co-authored-by: 0xNeshi <[email protected]>
Co-authored-by: Alisander Qoshqosh <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent 4de08e5 commit 9192c18
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 837 deletions.
3 changes: 0 additions & 3 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ coverage:
default:
informational: true
# Docs and examples are not relevant to coverage.
# Motsu and e2e should be moved outside of this repo.
ignore:
- "docs"
- "examples"
- "lib/e2e"
- "lib/e2e-proc"
- "lib/motsu"
- "lib/motsu-proc"
# Make comments less noisy.
comment:
layout: "files"
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/check-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ permissions:
contents: read
on:
push:
branches: [ main, release/* ]
branches: [main, release/*]
pull_request:
branches: [ main, release/* ]
branches: [main, release/*]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand All @@ -25,12 +25,6 @@ jobs:
with:
rustflags: ""

- name: Check motsu-proc
run: cargo publish -p motsu-proc --dry-run

- name: Check motsu
run: cargo publish -p motsu --dry-run

- name: Check openzeppelin-crypto
run: cargo publish -p openzeppelin-crypto --target wasm32-unknown-unknown --dry-run

Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/publish-motsu-proc.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/publish-motsu.yml

This file was deleted.

12 changes: 6 additions & 6 deletions Cargo.lock

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

9 changes: 3 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ members = [
"contracts",
"contracts-proc",
"lib/crypto",
"lib/motsu",
"lib/motsu-proc",
"lib/e2e",
"lib/e2e-proc",
"examples/erc20",
Expand All @@ -30,8 +28,6 @@ default-members = [
"contracts",
"contracts-proc",
"lib/crypto",
"lib/motsu",
"lib/motsu-proc",
"lib/e2e-proc",
"examples/erc20",
"examples/erc20-permit",
Expand Down Expand Up @@ -121,12 +117,13 @@ syn = { version = "2.0.58", features = ["full"] }
proc-macro2 = "1.0.79"
quote = "1.0.35"

# test helpers
motsu = "0.2.1"

# members
openzeppelin-stylus = { path = "contracts" }
openzeppelin-stylus-proc = { path = "contracts-proc", version = "0.1.0" }
openzeppelin-crypto = { path = "lib/crypto" }
motsu = { path = "lib/motsu" }
motsu-proc = { path = "lib/motsu-proc", version = "0.2.0" }
e2e = { path = "lib/e2e" }
e2e-proc = { path = "lib/e2e-proc" }

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

[`koba`]: https://github.com/OpenZeppelin/koba

[Unit]: ./lib/motsu/README.md
[Unit]: https://github.com/OpenZeppelin/stylus-test-helpers

[integration]: ./lib/e2e/README.md

Expand Down
26 changes: 0 additions & 26 deletions lib/motsu-proc/Cargo.toml

This file was deleted.

5 changes: 0 additions & 5 deletions lib/motsu-proc/README.md

This file was deleted.

57 changes: 0 additions & 57 deletions lib/motsu-proc/src/lib.rs

This file was deleted.

72 changes: 0 additions & 72 deletions lib/motsu-proc/src/test.rs

This file was deleted.

20 changes: 0 additions & 20 deletions lib/motsu/Cargo.toml

This file was deleted.

Loading

0 comments on commit 9192c18

Please sign in to comment.