-
Notifications
You must be signed in to change notification settings - Fork 18
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: e2e testing final #79
Conversation
fee := s.QueryBaseFee() | ||
s.T().Log("base fee", fee.String()) | ||
|
||
if fee.AmountOf(feemarkettypes.DefaultFeeDenom).Equal(params.MinBaseFee) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this check do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are checking that the fee has decreased and been "clamped" to the min base fee
|
||
amt, err := s.chain.GetBalance(context.Background(), s.user1.FormattedAddress(), baseFee[0].Denom) | ||
s.Require().NoError(err) | ||
s.Require().True(amt.LT(math.NewInt(initBalance)), amt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we're checking the balance of user1's account? Are we not verifying properties of the fee-state here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are already checking the movement of the fee state in the for loop
Closes BLO-1236