Skip to content

Commit 748bd9f

Browse files
committed
fix bug:The contract interface lacks a virtual machine type parameter
1 parent c4580d6 commit 748bd9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client_sdk_python/contract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def _encode_constructor_data(cls, args=None, kwargs=None):
792792
arguments = merge_args_and_kwargs(constructor_abi, args, kwargs)
793793

794794
deploy_data = add_0x_prefix(
795-
encode_abi(cls.web3, constructor_abi, arguments, cls.bytecode, cls.abi)
795+
encode_abi(cls.web3, constructor_abi, arguments, cls.vmtype, cls.bytecode, cls.abi)
796796
)
797797
else:
798798
deploy_data = to_hex(cls.bytecode)

0 commit comments

Comments
 (0)