Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove motsu from the repo and just import from crates.io #456

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see we have different formattings for *.yml.
I know that @0xNeshi also prefers to format like it was before

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine either way!
Let me know which formatter you're using for .yml files, and I'll install it locally

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.

8 changes: 4 additions & 4 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.0"

# 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/Readme.md

[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
Loading