Skip to content

Commit

Permalink
fix query to use gaia instead of osmosis prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
wllmshao committed Jan 27, 2025
1 parent 1102383 commit 6d5fc7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ func queryBlocksPerEpoch(endpoint string) (int64, error) {
}

func queryDenomsFromAdmin(endpoint, admin string) (tokenfactorytypes.QueryDenomsFromAdminResponse, error) {
// TODO(wllmshao): do we care that this is osmosis-prefixed?
body, err := httpGet(fmt.Sprintf("%s/osmosis/tokenfactory/v1beta1/denoms_from_admin/%s", endpoint, admin))
body, err := httpGet(fmt.Sprintf("%s/gaia/tokenfactory/v1beta1/denoms_from_admin/%s", endpoint, admin))
if err != nil {
return tokenfactorytypes.QueryDenomsFromAdminResponse{}, fmt.Errorf("failed to execute HTTP request: %w", err)
}
Expand Down

0 comments on commit 6d5fc7c

Please sign in to comment.