Skip to content

Commit

Permalink
Move old shielder code to a legacy folder (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmikolajczyk41 authored Jan 9, 2024
1 parent 5553895 commit 5729031
Show file tree
Hide file tree
Showing 32 changed files with 12 additions and 12 deletions.
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.
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.

0 comments on commit 5729031

Please sign in to comment.