Skip to content

Commit

Permalink
fix token bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-zq committed Jul 1, 2024
1 parent da5032a commit 996a0fa
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 112 deletions.
93 changes: 46 additions & 47 deletions api/irismod/token/v1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions e2e/token/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ func TestTxTestSuite(t *testing.T) {
suite.Run(t, new(TxTestSuite))
}

// func TestQueryTestSuite(t *testing.T) {
// suite.Run(t, new(QueryTestSuite))
// }
func TestQueryTestSuite(t *testing.T) {
suite.Run(t, new(QueryTestSuite))
}
2 changes: 1 addition & 1 deletion e2e/token/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (s *QueryTestSuite) TestQueryCmd() {
s.Require().Equal(uint64(initialSupply), token.GetInitialSupply())

//------test GetCmdQueryFee()-------------
url = fmt.Sprintf("%s/irismod/token/v1/tokens/%s/fees", baseURL, tokenSymbol)
url = fmt.Sprintf("%s/irismod/token/v1/fees/%s", baseURL, tokenSymbol)
resp, err = testutil.GetRequest(url)
respType = proto.Message(&v1.QueryFeesResponse{})
s.Require().NoError(err)
Expand Down
Loading

0 comments on commit 996a0fa

Please sign in to comment.