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

Move old shielder code to a legacy folder #41

Merged
merged 1 commit into from
Jan 9, 2024
Merged
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
22 changes: 11 additions & 11 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,33 @@ jobs:
run: rustup target add wasm32-unknown-unknown

- name: Run format check for `shielder/cli`
run: cd shielder/cli/ && cargo fmt --all --check
run: cd legacy-shielder/cli/ && cargo fmt --all --check

- name: Run clippy for `shielder/cli`
run: cd shielder/cli/ && cargo clippy --all-features -- --no-deps -D warnings
run: cd legacy-shielder/cli/ && cargo clippy --all-features -- --no-deps -D warnings

- name: Run tests for `shielder/cli`
run: cd shielder/cli/ && cargo test
run: cd legacy-shielder/cli/ && cargo test


- name: Run format check for `shielder/contract`
run: cd shielder/contract/ && cargo fmt --all --check
run: cd legacy-shielder/contract/ && cargo fmt --all --check

- name: Run clippy for `shielder/contract`
run: cd shielder/contract/ && cargo clippy --all-features -- --no-deps -D warnings
run: cd legacy-shielder/contract/ && cargo clippy --all-features -- --no-deps -D warnings

- name: Run tests for `shielder/contract`
run: cd shielder/contract/ && cargo test
run: cd legacy-shielder/contract/ && cargo test


- name: Run format check for `shielder/public_token`
run: cd shielder/public_token/ && cargo fmt --all --check
run: cd legacy-shielder/public_token/ && cargo fmt --all --check

- name: Run clippy for `shielder/public_token`
run: cd shielder/public_token/ && cargo clippy --all-features -- --no-deps -D warnings
run: cd legacy-shielder/public_token/ && cargo clippy --all-features -- --no-deps -D warnings

- name: Run tests for `shielder/public_token`
run: cd shielder/public_token/ && cargo test
run: cd legacy-shielder/public_token/ && cargo test

build-contracts:
runs-on: [self-hosted, Linux, X64, large]
Expand All @@ -73,12 +73,12 @@ jobs:
-v ${{ github.workspace }}:/code \
--platform linux/amd64 \
${{ env.DOCKER_IMAGE }} \
cargo contract build --manifest-path shielder/public_token/Cargo.toml
cargo contract build --manifest-path legacy-shielder/public_token/Cargo.toml

- name: Build shielder contract
run: |
docker run \
-v ${{ github.workspace }}:/code \
--platform linux/amd64 \
${{ env.DOCKER_IMAGE }} \
cargo contract build --manifest-path shielder/contract/Cargo.toml
cargo contract build --manifest-path legacy-shielder/contract/Cargo.toml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This repository is a collection of smart-contract applications based on ZK-SNARK

Included:

- [shielder](shielder/) - shielding and unshielding PSP22 tokens
- [shielder](legacy-shielder/) - shielding and unshielding PSP22 tokens

## License

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading