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

Cosmwasm-check: update clap to version 4 #1677

Merged
merged 2 commits into from
May 23, 2023

Conversation

babadro
Copy link
Contributor

@babadro babadro commented May 2, 2023

Description

Closes: #1518

cosmwasm-check:

  1. Update clap dependency to version 4
  2. Add integration tests

@babadro babadro force-pushed the 1518-cosmwasm-check-clap-v4 branch 2 times, most recently from a6a5019 to 1919095 Compare May 2, 2023 05:28
@chipshort chipshort self-requested a review May 2, 2023 09:03
Copy link
Collaborator

@chipshort chipshort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!
I think it looks good, in general. Just two questions I'd like to see addressed.

packages/schema-derive/Cargo.toml Outdated Show resolved Hide resolved
packages/check/tests/cosmwasm_check_tests.rs Show resolved Hide resolved
@babadro babadro force-pushed the 1518-cosmwasm-check-clap-v4 branch from 311aecd to 99bd9c2 Compare May 3, 2023 04:38
packages/check/Cargo.toml Outdated Show resolved Hide resolved
Comment on lines +42 to +43
.get_one::<String>("CAPABILITIES")
.map(|s| s.as_str())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious construct; but it works.

packages/check/testdata/corrupted.wasm Outdated Show resolved Hide resolved
packages/check/testdata/hackatom.wasm Outdated Show resolved Hide resolved
packages/check/tests/cosmwasm_check_tests.rs Show resolved Hide resolved
@babadro babadro force-pushed the 1518-cosmwasm-check-clap-v4 branch 2 times, most recently from cec8123 to 657d7f6 Compare May 4, 2023 05:38
@babadro babadro marked this pull request as ready for review May 4, 2023 06:01
@chipshort
Copy link
Collaborator

@babadro Could you resolve the changelog conflict and add the PR link to the changelog entry? (see the other entries)
We can merge after that.

@chipshort chipshort force-pushed the 1518-cosmwasm-check-clap-v4 branch from 657d7f6 to 433f570 Compare May 23, 2023 14:53
@chipshort chipshort enabled auto-merge May 23, 2023 14:53
@webmaster128 webmaster128 merged commit 7c7b774 into CosmWasm:main May 23, 2023
@webmaster128
Copy link
Member

We just wrapped up the work to get it merged. Thanks a lot for your contribution!

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.

cosmwasm-check: upgrade clap to version 4
4 participants