Skip to content

Commit 4b7021c

Browse files
committed
support Edwards key
1 parent 2f65971 commit 4b7021c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_e2e.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def test_historical_balances(imported_wallet):
171171
assert balances
172172
assert all(balance.amount > 0 for balance in balances)
173173

174+
174175
@pytest.mark.e2e
175176
def test_invoke_contract_with_transaction_receipt(imported_wallet):
176177
"""Test invoke contract with transaction receipt."""
@@ -183,7 +184,7 @@ def test_invoke_contract_with_transaction_receipt(imported_wallet):
183184
invocation = imported_wallet.invoke_contract(
184185
contract_address="0x036CbD53842c5426634e7929541eC2318f3dCF7e",
185186
method="transfer",
186-
args={"to": destination_wallet.default_address.address_id, "value": "1"}
187+
args={"to": destination_wallet.default_address.address_id, "value": "1"},
187188
)
188189

189190
invocation.wait()
@@ -202,6 +203,7 @@ def test_invoke_contract_with_transaction_receipt(imported_wallet):
202203
assert transaction_log.topics[1] == f"from: {imported_wallet.default_address.address_id}"
203204
assert transaction_log.topics[2] == f"to: {destination_wallet.default_address.address_id}"
204205

206+
205207
@pytest.mark.skip(reason="Gasless transfers have unpredictable latency")
206208
def test_gasless_transfer(imported_wallet):
207209
"""Test gasless transfer."""

tests/test_wallet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ def test_wallet_import_from_mnemonic_invalid_phrase():
891891
with pytest.raises(ValueError, match="Invalid BIP-39 mnemonic seed phrase"):
892892
Wallet.import_wallet(MnemonicSeedPhrase("invalid mnemonic phrase"))
893893

894+
894895
@patch("cdp.Cdp.use_server_signer", False)
895896
@patch("cdp.Cdp.api_clients")
896897
@patch("cdp.wallet.Account")

0 commit comments

Comments
 (0)