From d5aca21c7115d63225566d0d6e54eac0979b07f6 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Tue, 20 Feb 2024 21:32:24 +0800 Subject: [PATCH] fix dup proto --- integration_tests/eip712_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_tests/eip712_utils.py b/integration_tests/eip712_utils.py index a3fc36968b..3330e087d0 100644 --- a/integration_tests/eip712_utils.py +++ b/integration_tests/eip712_utils.py @@ -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 @@ -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 @@ -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