Skip to content

Commit

Permalink
Remove poorly maintaned schema generator from cosmwasm-std
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Dec 8, 2022
1 parent 364778f commit c5ee42a
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 603 deletions.
13 changes: 0 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,19 +329,6 @@ jobs:
name: Run unit tests (all features)
working_directory: ~/project/packages/std
command: cargo test --locked --features abort,iterator,staking,stargate,cosmwasm_1_1
- run:
name: Build and run schema generator
working_directory: ~/project/packages/std
command: cargo schema --features cosmwasm_1_1 --locked
- run:
name: Ensure schemas are up-to-date
command: |
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
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down
5 changes: 2 additions & 3 deletions packages/std/.cargo/config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[alias]
wasm = "build --release --target wasm32-unknown-unknown"
wasm-debug = "build --target wasm32-unknown-unknown"
wasm = "build --release --lib --target wasm32-unknown-unknown"
wasm-debug = "build --lib --target wasm32-unknown-unknown"
unit-test = "test --lib"
schema = "run --example schema"
17 changes: 0 additions & 17 deletions packages/std/examples/schema.rs

This file was deleted.

43 changes: 0 additions & 43 deletions packages/std/schema/block_info.json

This file was deleted.

303 changes: 0 additions & 303 deletions packages/std/schema/cosmos_msg.json

This file was deleted.

Loading

0 comments on commit c5ee42a

Please sign in to comment.