Skip to content

Commit

Permalink
Merge pull request #765 from neutron-org/feat/chainmanager-globalfee-…
Browse files Browse the repository at this point in the history
…dynamicfee-ccv-params

feat: allowed ccv,globalfee stargate queries #NTRN-408
  • Loading branch information
pr0n00gler authored Nov 27, 2024
2 parents 5e71de9 + 66a8aa5 commit c74f625
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion network/hermes/create-conn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ echo "Initiating connection handshake..."
$HERMES_BINARY --config $CONFIG_DIR create connection --a-chain test-1 --b-chain test-2

sleep 2
$HERMES_BINARY --config $CONFIG_DIR create channel --a-chain test-1 --a-connection connection-0 --a-port transfer --b-port transfer
$HERMES_BINARY --config $CONFIG_DIR create channel --a-chain test-1 --a-connection connection-0 --a-port transfer --b-port transfer
18 changes: 13 additions & 5 deletions wasmbinding/stargate_allowlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
ibcclienttypes "github.com/cosmos/ibc-go/v8/modules/core/02-client/types" //nolint:staticcheck
ibcconnectiontypes "github.com/cosmos/ibc-go/v8/modules/core/03-connection/types"
ibcchanneltypes "github.com/cosmos/ibc-go/v8/modules/core/04-channel/types"
consumertypes "github.com/cosmos/interchain-security/v5/x/ccv/consumer/types"
globalfeetypes "github.com/neutron-org/neutron/v5/x/globalfee/types"
feemarkettypes "github.com/skip-mev/feemarket/x/feemarket/types"
marketmaptypes "github.com/skip-mev/slinky/x/marketmap/types"
oracletypes "github.com/skip-mev/slinky/x/oracle/types"
Expand Down Expand Up @@ -111,12 +113,18 @@ func AcceptedStargateQueries() wasmkeeper.AcceptedQueries {
"/slinky.marketmap.v1.Query/Market": &marketmaptypes.MarketResponse{},

// feemarket
"feemarket.feemarket.v1.Query/Params": &feemarkettypes.ParamsResponse{},
"feemarket.feemarket.v1.Query/State": &feemarkettypes.StateResponse{},
"feemarket.feemarket.v1.Query/GasPrice": &feemarkettypes.GasPriceResponse{},
"feemarket.feemarket.v1.Query/GasPrices": &feemarkettypes.GasPricesResponse{},
"/feemarket.feemarket.v1.Query/Params": &feemarkettypes.ParamsResponse{},
"/feemarket.feemarket.v1.Query/State": &feemarkettypes.StateResponse{},
"/feemarket.feemarket.v1.Query/GasPrice": &feemarkettypes.GasPriceResponse{},
"/feemarket.feemarket.v1.Query/GasPrices": &feemarkettypes.GasPricesResponse{},

// dynamicfees
"neutron.dynamicfees.v1.Query/Params": &dynamicfeestypes.QueryParamsResponse{},
"/neutron.dynamicfees.v1.Query/Params": &dynamicfeestypes.QueryParamsResponse{},

// globalfee
"/gaia.globalfee.v1beta1.Query/Params": &globalfeetypes.QueryParamsResponse{},

// consumer
"/interchain_security.ccv.consumer.v1.Query/QueryParams": &consumertypes.QueryParamsResponse{},
}
}

0 comments on commit c74f625

Please sign in to comment.