Skip to content

Commit

Permalink
fix: remove the voting-with-uuid contract
Browse files Browse the repository at this point in the history
  • Loading branch information
loloicci committed May 29, 2024
1 parent bb59f64 commit 83043e5
Show file tree
Hide file tree
Showing 25 changed files with 0 additions and 4,361 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -634,52 +634,6 @@ jobs:
exit 1
fi
contract_voting_with_uuid:
name: contract_voting_with_uuid
runs-on: ubuntu-latest
env:
working-directory: ./contracts/voting-with-uuid
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.60.0
target: wasm32-unknown-unknown
profile: minimal
override: true
- name: Cache cargo
uses: actions/cache@v3
with:
path: ~/.cargo
key: cargocache-v2-contract_staking-rust:1.60.0-${{ hashFiles('contracts/voting-with-uuid/Cargo.lock') }}
- name: Version information
run: rustc --version; cargo --version; rustup --version; rustup target list --installed
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown && rustup target list --installed
- name: Build wasm binary
working-directory: ${{env.working-directory}}
run: cargo wasm --locked
- name: Unit tests
working-directory: ${{env.working-directory}}
run: cargo unit-test --locked
- name: Integration tests (singlepass backend)
working-directory: ${{env.working-directory}}
run: cargo integration-test-for-ci --locked --no-default-features
- name: Build and run schema generator
working-directory: ${{env.working-directory}}
run: cargo schema --locked
- name: Ensure schemas are up-to-date
working-directory: ${{env.working-directory}}
run: |
CHANGES_IN_REPO=$(git status --porcelain)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
fmt:
name: fmt
runs-on: ubuntu-latest
Expand Down
6 changes: 0 additions & 6 deletions contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="devcontract_cache_staking",target=/code/contracts/staking/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.9 ./contracts/staking

docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="devcontract_cache_voting_with_uuid",target=/code/contracts/voting-with-uuid/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/rust-optimizer:0.12.9 ./contracts/voting-with-uuid
```

## Entry points
Expand All @@ -84,4 +79,3 @@ points in order to demonstrate and test the flexibility we have.
| queue | yes | yes |
| reflect | yes | no |
| staking | yes | no |
| voting-with-uuid | yes | no |
7 changes: 0 additions & 7 deletions contracts/voting-with-uuid/.cargo/config

This file was deleted.

4 changes: 0 additions & 4 deletions contracts/voting-with-uuid/.gitignore

This file was deleted.

Loading

0 comments on commit 83043e5

Please sign in to comment.