fix: update feemarket REST endpoints (#1026)

* fix: update feemarket REST endpoints

* changelog
This commit is contained in:
Federico Kunze Küllmer
2022-04-04 15:00:26 +02:00
committed by GitHub
parent 3c8a95b012
commit 6abe84bde7
10 changed files with 200 additions and 1809 deletions
+3 -3
View File
@@ -12,17 +12,17 @@ option go_package = "github.com/tharsis/ethermint/x/feemarket/types";
service Query {
// Params queries the parameters of x/feemarket module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/feemarket/evm/v1/params";
option (google.api.http).get = "/ethermint/feemarket/v1/params";
}
// BaseFee queries the base fee of the parent block of the current block.
rpc BaseFee(QueryBaseFeeRequest) returns (QueryBaseFeeResponse) {
option (google.api.http).get = "/feemarket/evm/v1/base_fee";
option (google.api.http).get = "/ethermint/feemarket/v1/base_fee";
}
// BlockGas queries the gas used at a given block height
rpc BlockGas(QueryBlockGasRequest) returns (QueryBlockGasResponse) {
option (google.api.http).get = "/feemarket/evm/v1/block_gas";
option (google.api.http).get = "/ethermint/feemarket/v1/block_gas";
}
}