feat(x/feegrant): feegrant autcli module query#16213
Conversation
|
@JeancarloBarrios your pull request is missing a changelog! |
aaronc
left a comment
There was a problem hiding this comment.
When removing end to end tests I would want to make sure that there are existing unit tests which cover this logic or add them
|
tested, the ux looks the same. The open question about the tests is the only thing that is open. If the tests are duplicated then we should remove, if not then we should rewrite them quickly to use grpc |
| "github.com/cosmos/cosmos-sdk/testutil" | ||
| ) | ||
|
|
||
| func (s *E2ETestSuite) TestGrantGRPCAllowance() { |
There was a problem hiding this comment.
Can we make them non E2E? and put them here if they do not exist: https://github.com/cosmos/cosmos-sdk/blob/c8ab555174ef5b1f8557b80361d8b83754f62f6a/x/feegrant/keeper/grpc_query_test.go
It would be great to delete the E2E and improve existing grpc tests instead of adding new ones at a different place.
There was a problem hiding this comment.
I was thinking that those ones are mocked, but If we don't think is necessary for them to be in e2e I will delete them.
There was a problem hiding this comment.
I think we are already testing them in feegrant's grpc_query_test.go, but the only difference is we are using QueryRequests there and RPC URLs here, maybe we could improve the tests there instead of adding them in E2E tests
…b.com:cosmos/cosmos-sdk into JeancarloBarrios/feegrant-autcli-module-query
(cherry picked from commit c80d64e)
Description
Closes: #16215 16215
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!to the type prefix if API or client breaking changeCHANGELOG.mdReviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!in the type prefix if API or client breaking change