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

feat: optionally return the type from parse wasm client type #1892

Merged
merged 1 commit into from
May 10, 2024

Conversation

benluelo
Copy link
Contributor

@benluelo benluelo commented May 10, 2024

$ nix build .#tendermint-light-client

$ nix run .#parse-wasm-client-type -- result/lib/tendermint_light_client.wasm
Tendermint

$ nix run .#parse-wasm-client-type -- result/lib/tendermint_light_client.wasm Tendermint

$ echo $?
0

$ nix run .#parse-wasm-client-type -- result/lib/tendermint_light_client.wasm Cometbls
thread 'main' panicked at tools/parse-wasm-client-type/src/main.rs:20:43:
assertion `left == right` failed
  left: Tendermint
 right: Cometbls
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

$ echo $?
101

@benluelo benluelo merged commit cacf772 into main May 10, 2024
53 checks passed
@benluelo benluelo deleted the parse-wasm-type-cleanup branch May 10, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants