Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4139 committed Apr 19, 2023
1 parent 25caa8b commit a4aabbd
Show file tree
Hide file tree
Showing 33 changed files with 611 additions and 604 deletions.
6 changes: 3 additions & 3 deletions app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) {
opts := txWithExtensions.GetExtensionOptions()
if len(opts) > 0 {
switch typeURL := opts[0].GetTypeUrl(); typeURL {
case "/humans.evm.v1.ExtensionOptionsEthereumTx":
case "/ethermint.evm.v1.ExtensionOptionsEthereumTx":
// handle as *evmtypes.MsgEthereumTx
anteHandler = newEthAnteHandler(options)
case "/humans.types.v1.ExtensionOptionsWeb3Tx":
case "/ethermint.types.v1.ExtensionOptionsWeb3Tx":
// Deprecated: Handle as normal Cosmos SDK tx, except signature is checked for Legacy EIP712 representation
anteHandler = NewLegacyCosmosAnteHandlerEip712(options)
case "/humans.types.v1.ExtensionOptionDynamicFeeTx":
case "/ethermint.types.v1.ExtensionOptionDynamicFeeTx":
// cosmos-sdk tx with dynamic fee extension
anteHandler = newCosmosAnteHandler(options)
default:
Expand Down
Binary file removed build/humansd
Binary file not shown.
25 changes: 13 additions & 12 deletions crypto/ethsecp256k1/keys.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion indexer/kv_indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ func isEthTx(tx sdk.Tx) bool {
return false
}
opts := extTx.GetExtensionOptions()
if len(opts) != 1 || opts[0].GetTypeUrl() != "/humans.evm.v1.ExtensionOptionsEthereumTx" {
if len(opts) != 1 || opts[0].GetTypeUrl() != "/ethermint.evm.v1.ExtensionOptionsEthereumTx" {
return false
}
return true
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/crypto/v1/ethsecp256k1/keys.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.crypto.v1.ethsecp256k1;
package ethermint.crypto.v1.ethsecp256k1;

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/evm/v1/events.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.evm.v1;
package ethermint.evm.v1;

option go_package = "github.com/0x4139/humans/x/evm/types";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/evm/v1/evm.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.evm.v1;
package ethermint.evm.v1;

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/evm/v1/genesis.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.evm.v1;
package ethermint.evm.v1;

import "humans/evm/v1/evm.proto";
import "gogoproto/gogo.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/evm/v1/query.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.evm.v1;
package ethermint.evm.v1;

import "cosmos/base/query/v1beta1/pagination.proto";
import "humans/evm/v1/evm.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/evm/v1/tx.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.evm.v1;
package ethermint.evm.v1;

import "cosmos/msg/v1/msg.proto";
import "cosmos_proto/cosmos.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/feemarket/v1/events.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.feemarket.v1;
package ethermint.feemarket.v1;

option go_package = "github.com/0x4139/humans/x/feemarket/types";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/feemarket/v1/feemarket.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.feemarket.v1;
package ethermint.feemarket.v1;

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/feemarket/v1/genesis.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.feemarket.v1;
package ethermint.feemarket.v1;

import "humans/feemarket/v1/feemarket.proto";
import "gogoproto/gogo.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/feemarket/v1/query.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.feemarket.v1;
package ethermint.feemarket.v1;

import "gogoproto/gogo.proto";
// import "cosmos/base/query/v1beta1/pagination.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/feemarket/v1/tx.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.feemarket.v1;
package ethermint.feemarket.v1;

import "cosmos/msg/v1/msg.proto";
import "cosmos_proto/cosmos.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/types/v1/account.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.types.v1;
package ethermint.types.v1;

import "cosmos/auth/v1beta1/auth.proto";
import "cosmos_proto/cosmos.proto";
Expand Down
2 changes: 1 addition & 1 deletion proto/humans/types/v1/dynamic_fee.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.types.v1;
package ethermint.types.v1;

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/types/v1/indexer.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.types.v1;
package ethermint.types.v1;

import "gogoproto/gogo.proto";

Expand Down
2 changes: 1 addition & 1 deletion proto/humans/types/v1/web3.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package humans.types.v1;
package ethermint.types.v1;

import "gogoproto/gogo.proto";

Expand Down
40 changes: 20 additions & 20 deletions types/account.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions types/dynamic_fee.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 21 additions & 21 deletions types/indexer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a4aabbd

Please sign in to comment.