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

test: Fixing tests for the new econ #312

Closed
wants to merge 17 commits into from

Conversation

spoo-bar
Copy link
Contributor

@spoo-bar spoo-bar commented Mar 14, 2023

❗Do not merge until #311 is merged

  • Updated e2e tests to now work with the new x/mint module
    Mostly changes in how the mint params are setup
  • Added a couple tests cases to x/mint/abci

❓In txfees_test.go, our current minted tokens were more than the expected minted tokens. So the test was failing.

totalSupplyMaxAmtExpected, ok := sdk.NewIntFromString("1000000500000000") // small gap for minted coins for 2 blocks

Not sure where the previous expected value came from. So currently just replaced that value with a higher one which makes the test pass. But what should be the expected value? We need some simulated tokens amounts for default params set.

@spoo-bar spoo-bar changed the base branch from main to feat/econ-v2 March 14, 2023 12:43
@spoo-bar
Copy link
Contributor Author

☠️ Closing cuz time based inflation RIP

@spoo-bar spoo-bar closed this Aug 25, 2023
@spoo-bar spoo-bar deleted the spoorthi/fixing-existing-tests branch August 25, 2023 10:49
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.

1 participant