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

Fix AfterImport and update black/white list variable namings #7159

Merged
merged 4 commits into from
Aug 25, 2020

Conversation

colin-axner
Copy link
Contributor

@colin-axner colin-axner commented Aug 25, 2020

Description

Should fix AfterImport sim. newApp had gotten changed to app in #7135. While looking at the diffs I realized I missed some black/white list naming references so I thought it'd be fine to update those in this pr as well.

The failing seed passed for me locally but we should wait for the full sim to run

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #7159 into master will decrease coverage by 3.61%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #7159      +/-   ##
==========================================
- Coverage   58.14%   54.53%   -3.62%     
==========================================
  Files         412      566     +154     
  Lines       28281    38728   +10447     
==========================================
+ Hits        16445    21120    +4675     
- Misses      10525    15884    +5359     
- Partials     1311     1724     +413     

@@ -255,10 +255,10 @@ func TestAppSimulationAfterImport(t *testing.T) {
_, _, err = simulation.SimulateFromSeed(
t,
os.Stdout,
app.BaseApp,
newApp.BaseApp,
Copy link
Collaborator

Choose a reason for hiding this comment

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

ahh copy paste. Sorry about that

server/export.go Outdated
Comment on lines 21 to 23
flagHeight = "height"
flagForZeroHeight = "for-zero-height"
flagJailAllowedAddrs = "jail-allowed-addrs"
Copy link
Collaborator

Choose a reason for hiding this comment

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

actually, can we make these flags public?

Copy link
Contributor Author

@colin-axner colin-axner Aug 25, 2020

Choose a reason for hiding this comment

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

I'm not sure what that means. feel free to push to this branch

Copy link
Collaborator

Choose a reason for hiding this comment

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

flag... -> Flag...

@alexanderbez alexanderbez added the A:automerge Automatically merge PR once all prerequisites pass. label Aug 25, 2020
@mergify mergify bot merged commit 56f4ccf into master Aug 25, 2020
@mergify mergify bot deleted the colin/fix-sims branch August 25, 2020 15:55
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
…7159)

* fix sim bug and rename remaining references of black/white list

* make server export command flags public

* make missed flag public

Co-authored-by: Federico Kunze <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants