Skip to content

Commit

Permalink
fix: remove sha1-calculate API and the UUID features (BREAKING CHANGE) (
Browse files Browse the repository at this point in the history
#354)

* fix: remove the sha1-calculate API

* fix: remove the voting-with-uuid contract

* feat: add test for try-sha1
  • Loading branch information
loloicci authored May 31, 2024
1 parent 9397169 commit 3b85174
Show file tree
Hide file tree
Showing 52 changed files with 860 additions and 4,514 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contract_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
contract: [burner, crypto-verify, cyberpunk, hackatom, ibc-reflect, ibc-reflect-send, queue, query-queue, reflect, floaty, staking, voting-with-uuid]
contract: [burner, crypto-verify, cyberpunk, hackatom, ibc-reflect, ibc-reflect-send, queue, query-queue, reflect, floaty, staking]
env:
working-directory: ./contracts/${{ matrix.contract }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = ["packages/*"]
exclude = ["contracts"]
exclude = ["contracts", "packages/vm/tests/try-sha1"]

# Resolver has to be set explicitely in workspaces
# due to https://github.com/rust-lang/cargo/issues/9956
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 |
4 changes: 0 additions & 4 deletions contracts/voting-with-uuid/.gitignore

This file was deleted.

Loading

0 comments on commit 3b85174

Please sign in to comment.