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

You must explicitly declare --no-admin on cli instantiate if that is what you want #727

Merged
merged 4 commits into from
Jan 21, 2022

Conversation

ethanfrey
Copy link
Member

Closes #719

@ethanfrey ethanfrey requested a review from alpe as a code owner January 20, 2022 20:37
Copy link
Contributor

@alpe alpe left a comment

Choose a reason for hiding this comment

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

LGTM 🎸

flagSet.Set("label", "testing")
flagSet.Set("run-as", myWellFundedAccount)
flagSet.Set("no-admin", "true")
flagSet.Set("admin", myWellFundedAccount)
Copy link
Contributor

Choose a reason for hiding this comment

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

good tests

@ethanfrey
Copy link
Member Author

Rebased and updated changelog. Should be good to merge

@ethanfrey ethanfrey mentioned this pull request Jan 21, 2022
@codecov
Copy link

codecov bot commented Jan 21, 2022

Codecov Report

Merging #727 (1e78fbc) into master (b4258b9) will increase coverage by 0.01%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #727      +/-   ##
==========================================
+ Coverage   59.93%   59.95%   +0.01%     
==========================================
  Files          49       49              
  Lines        5604     5613       +9     
==========================================
+ Hits         3359     3365       +6     
- Misses       2002     2004       +2     
- Partials      243      244       +1     
Impacted Files Coverage Δ
x/wasm/client/cli/tx.go 25.94% <62.50%> (+1.94%) ⬆️
x/wasm/client/cli/genesis_msg.go 71.87% <100.00%> (+0.79%) ⬆️
x/wasm/keeper/keeper.go 87.54% <0.00%> (-0.36%) ⬇️

@ethanfrey ethanfrey merged commit 1eb27da into master Jan 21, 2022
@ethanfrey ethanfrey deleted the 719-explicitly-no-admin branch January 21, 2022 10:00
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.

Clearer user expectations around admin field
2 participants