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:
parent
d82b5c20c0
commit
882dd4e2e3
2
Makefile
2
Makefile
@ -419,7 +419,7 @@ proto-all: proto-format proto-lint proto-gen
|
||||
|
||||
proto-gen:
|
||||
@echo "Generating Protobuf files"
|
||||
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then docker start -a $(containerProtoGen); else docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \
|
||||
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then docker start -a $(containerProtoGen); else docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(containerProtoImage) \
|
||||
sh ./scripts/protocgen.sh; fi
|
||||
|
||||
proto-swagger-gen:
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user