build: update makefile proto (#647)

* build: update makefile proto

* updates

* revert swagger-gen
This commit is contained in:
Federico Kunze Küllmer
2021-10-07 13:02:31 +02:00
committed by GitHub
parent 360e08265c
commit be7a711f66
12 changed files with 64 additions and 30 deletions
+5 -3
View File
@@ -198,16 +198,18 @@ message AccessTuple {
// TraceConfig holds extra parameters to trace functions.
message TraceConfig {
// DEPRECATED: DisableMemory and DisableReturnData have been renamed to Enable*.
// DEPRECATED: DisableMemory and DisableReturnData have been renamed to
// Enable*.
reserved 4, 7;
reserved "disable_memory", "disable_return_data";
// custom javascript tracer
string tracer = 1;
// overrides the default timeout of 5 seconds for JavaScript-based tracing calls
// overrides the default timeout of 5 seconds for JavaScript-based tracing
// calls
string timeout = 2;
// number of blocks the tracer is willing to go back
uint64 reexec = 3;
uint64 reexec = 3;
// disable stack capture
bool disable_stack = 5 [ (gogoproto.jsontag) = "disableStack" ];
// disable storage capture
+1 -1
View File
@@ -11,7 +11,7 @@ message GenesisState {
// accounts is an array containing the ethereum genesis accounts.
repeated GenesisAccount accounts = 1 [ (gogoproto.nullable) = false ];
// params defines all the paramaters of the module.
Params params = 2 [(gogoproto.nullable) = false];
Params params = 2 [ (gogoproto.nullable) = false ];
}
// GenesisAccount defines an account to be initialized in the genesis state.
+5 -8
View File
@@ -19,8 +19,7 @@ service Query {
// CosmosAccount queries an Ethereum account's Cosmos Address.
rpc CosmosAccount(QueryCosmosAccountRequest)
returns (QueryCosmosAccountResponse) {
option (google.api.http).get =
"/ethermint/evm/v1/cosmos_account/{address}";
option (google.api.http).get = "/ethermint/evm/v1/cosmos_account/{address}";
}
// ValidatorAccount queries an Ethereum account's from a validator consensus
@@ -39,8 +38,7 @@ service Query {
// Storage queries the balance of all coins for a single account.
rpc Storage(QueryStorageRequest) returns (QueryStorageResponse) {
option (google.api.http).get =
"/ethermint/evm/v1/storage/{address}/{key}";
option (google.api.http).get = "/ethermint/evm/v1/storage/{address}/{key}";
}
// Code queries the balance of all coins for a single account.
@@ -52,7 +50,7 @@ service Query {
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/ethermint/evm/v1/params";
}
// EthCall implements the `eth_call` rpc api
rpc EthCall(EthCallRequest) returns (MsgEthereumTxResponse) {
option (google.api.http).get = "/ethermint/evm/v1/eth_call";
@@ -215,9 +213,8 @@ message EthCallRequest {
// the default gas cap to be used
uint64 gas_cap = 2;
// header base fee used to generate the transaction
string base_fee = 3 [
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int"
];
string base_fee = 3
[ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int" ];
}
// EstimateGasResponse defines EstimateGas response