Skip to content

Commit

Permalink
fix dup proto
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Feb 20, 2024
1 parent 4109702 commit d5aca21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration_tests/eip712_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from pathlib import Path

from eth_hash.auto import keccak
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2

from .protobuf.cosmos.bank.v1beta1.tx_pb2 import MsgSend
from .protobuf.cosmos.base.v1beta1.coin_pb2 import Coin
Expand All @@ -18,7 +19,6 @@
)
from .protobuf.ethermint.crypto.v1.ethsecp256k1.keys_pb2 import PubKey as EPubKey
from .protobuf.ethermint.types.v1.web3_pb2 import ExtensionOptionsWeb3Tx
from .protobuf.google.protobuf.any_pb2 import Any

LEGACY_AMINO = 127
SIGN_DIRECT = 1
Expand Down Expand Up @@ -256,7 +256,7 @@ def create_body_with_multiple_messages(messages, memo):


def create_any_message(msg):
any = Any()
any = google_dot_protobuf_dot_any__pb2.Any()
any.Pack(msg["message"], "/")
return any

Expand Down

0 comments on commit d5aca21

Please sign in to comment.