File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import pytest
44
5- from hiero_sdk_python .account .account_create_transaction import AccountCreateTransaction
65from hiero_sdk_python .account .account_id import AccountId
76from hiero_sdk_python .client .client import Client
87from hiero_sdk_python .consensus .topic_create_transaction import TopicCreateTransaction
9- from hiero_sdk_python .crypto .private_key import PrivateKey
108from hiero_sdk_python .response_code import ResponseCode
119from hiero_sdk_python .transaction .transaction import Transaction
1210from hiero_sdk_python .transaction .transaction_id import TransactionId
@@ -159,22 +157,3 @@ def test_transaction_with_secondary_client_without_operator_can_execute_successf
159157 receipt = tx2 .execute (executor_client )
160158
161159 assert receipt .status == ResponseCode .SUCCESS , "Transaction must execute successfully"
162-
163-
164- @pytest .mark .integration
165- def test (env ):
166- key = PrivateKey .generate_ecdsa ()
167-
168- tx = (
169- AccountCreateTransaction ()
170- .set_key_without_alias (key )
171- .set_initial_balance (1 )
172- .set_account_memo ("test account" )
173- .freeze_with (env .client )
174- )
175- print (tx ._transaction_body_bytes )
176-
177- tx_bytes = tx .to_bytes ()
178-
179- tx2 = Transaction .from_bytes (tx_bytes )
180- tx2 .execute (env .client )
You can’t perform that action at this time.
0 commit comments