diff --git a/api/cosmos/query/v1/query.pulsar.go b/api/cosmos/query/v1/query.pulsar.go index 0c3a26a6f9..9cada85879 100644 --- a/api/cosmos/query/v1/query.pulsar.go +++ b/api/cosmos/query/v1/query.pulsar.go @@ -36,7 +36,9 @@ var file_cosmos_query_v1_query_proto_extTypes = []protoimpl.ExtensionInfo{ var ( // module_query_safe is set to true when the query is safe to be called from // within the state machine, for example from another module's Keeper, via - // ADR-033 calls or from CosmWasm contracts. + // a query router calls or from CosmWasm contracts. + // WARNING: marking a query as safe in a non consensus breaking release may cause non determinism. + // It is recommended to only mark a query as safe in a consensus breaking release. // Concretely, it means that the query is: // 1. deterministic: given a block height, returns the exact same response // upon multiple calls; and doesn't introduce any state-machine-breaking diff --git a/proto/cosmos/query/v1/query.proto b/proto/cosmos/query/v1/query.proto index e42e73d74d..f9811f09ad 100644 --- a/proto/cosmos/query/v1/query.proto +++ b/proto/cosmos/query/v1/query.proto @@ -11,7 +11,9 @@ option go_package = "github.com/cosmos/cosmos-sdk/types/query"; extend google.protobuf.MethodOptions { // module_query_safe is set to true when the query is safe to be called from // within the state machine, for example from another module's Keeper, via - // ADR-033 calls or from CosmWasm contracts. + // a query router calls or from CosmWasm contracts. + // WARNING: marking a query as safe in a non consensus breaking release may cause non determinism. + // It is recommended to only mark a query as safe in a consensus breaking release. // Concretely, it means that the query is: // 1. deterministic: given a block height, returns the exact same response // upon multiple calls; and doesn't introduce any state-machine-breaking @@ -32,4 +34,4 @@ extend google.protobuf.MethodOptions { // // When set to true, the query can safely be called bool module_query_safe = 11110001; -} \ No newline at end of file +}