fix: proto-gen broken env var (#723)

* fix: proto-gen broken env var

* add ethereumTx http option

Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com>
This commit is contained in:
Akash Khosla
2021-11-06 22:01:58 +00:00
committed by GitHub
co-authored by Freddy Caceres
parent d82b5c20c0
commit 882dd4e2e3
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -2,6 +2,7 @@ syntax = "proto3";
package ethermint.evm.v1;
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";
import "google/protobuf/any.proto";
import "cosmos_proto/cosmos.proto";
import "ethermint/evm/v1/evm.proto";
@@ -11,7 +12,9 @@ option go_package = "github.com/tharsis/ethermint/x/evm/types";
// Msg defines the evm Msg service.
service Msg {
// EthereumTx defines a method submitting Ethereum transactions.
rpc EthereumTx(MsgEthereumTx) returns (MsgEthereumTxResponse);
rpc EthereumTx(MsgEthereumTx) returns (MsgEthereumTxResponse) {
option (google.api.http).get = "/ethermint/evm/v1/ethereum_tx";
};
}
// MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.