diff --git a/tests/starkex/test_conditional_transfer.py b/tests/starkex/test_conditional_transfer.py index 0e4c4bb..506e285 100644 --- a/tests/starkex/test_conditional_transfer.py +++ b/tests/starkex/test_conditional_transfer.py @@ -9,8 +9,8 @@ '58c7d5a90b1776bde86ebac077e053ed85b0f7164f53b080304a531947f46e3' ) MOCK_SIGNATURE = ( - '01b437ac15bb89417edcfb2d304c3efad6256def3cc24e60c4980a88d08cb953' + - '045df9fbe4a4895409e1011c60be439d65c1a2637013b74a19cb5b8ab62db434' + '030044e03ab5efbaeaa43f472aa637bca8542835da60e8dcda8d145a619546d2' + + '03c7f9007fd6b1963de156bfadf6e90fe4fe4b29674013b7de32f61527c70f00' ) # Mock conditional transfer params. @@ -40,7 +40,6 @@ class TestConditionalTransfer(): def test_sign_conditional_transfer(self): transfer = SignableConditionalTransfer(**CONDITIONAL_TRANSFER_PARAMS) signature = transfer.sign(MOCK_PRIVATE_KEY) - print(signature) assert signature == MOCK_SIGNATURE def test_verify_signature(self): diff --git a/tests/starkex/test_order.py b/tests/starkex/test_order.py index 54bd52a..0083ecd 100644 --- a/tests/starkex/test_order.py +++ b/tests/starkex/test_order.py @@ -21,8 +21,8 @@ '5c749cd4c44bdc730bc90af9bfbdede9deb2c1c96c05806ce1bc1cb4fed64f7' ) MOCK_SIGNATURE_EVEN_Y = ( - '0618bcd2a8a027cf407116f88f2fa0d866154ee421cdf8a9deca0fecfda5277b' + - '03e42fa1d039522fc77c23906253e537cc5b2f392dba6f2dbb35d51cbe37273a' + '0500a22a8c8b14fbb3b7d26366604c446b9d059420d7db2a8f94bc52691d2626' + + '003e38aa083f72c9db89a7a80b98a6eb92edce7294d917d8489767740affc6ed' ) # Mock order params. @@ -49,7 +49,6 @@ class TestOrder(): def test_sign_order(self): order = SignableOrder(**ORDER_PARAMS) signature = order.sign(MOCK_PRIVATE_KEY) - print(signature) assert signature == MOCK_SIGNATURE def test_verify_signature_odd_y(self): diff --git a/tests/starkex/test_transfer.py b/tests/starkex/test_transfer.py index 27ea8c5..7dcc063 100644 --- a/tests/starkex/test_transfer.py +++ b/tests/starkex/test_transfer.py @@ -9,8 +9,8 @@ '58c7d5a90b1776bde86ebac077e053ed85b0f7164f53b080304a531947f46e3' ) MOCK_SIGNATURE = ( - '07a64843a0fb9bd455696139f6230d3152d9df2e863d54587f1f8bdbb07eb032' + - '0699b82593aa2e02915694ffc39c1001e81337b8fcc73f5b91f73ce5146c50bd' + '02b4d393ea955be0f53029e2f8a10d31671eb9d3ada015d973c903417264688a' + + '02ffb6b7f29870208f1f860b125de95b5444142a867be9dcd80128999518ddd3' ) # Mock transfer params. @@ -36,7 +36,6 @@ def test_sign_transfer(self): transfer = SignableTransfer( **TRANSFER_PARAMS, network_id=NETWORK_ID_SEPOLIA) signature = transfer.sign(MOCK_PRIVATE_KEY) - print(signature) assert signature == MOCK_SIGNATURE def test_sign_transfer_different_client_id(self): diff --git a/tests/starkex/test_withdrawal.py b/tests/starkex/test_withdrawal.py index 12d4c64..d5ca109 100644 --- a/tests/starkex/test_withdrawal.py +++ b/tests/starkex/test_withdrawal.py @@ -9,8 +9,8 @@ '58c7d5a90b1776bde86ebac077e053ed85b0f7164f53b080304a531947f46e3' ) MOCK_SIGNATURE = ( - '0572e1628e196282ee246dbe5c8394251bf3fb1fab7be40e77b69b64c030920e' + - '025f94283b9f3b9aa18503f7c500db89cc1ac914cb84b00e2263552a3d31a479' + '01af771baee70bea9e5e0a5e600e29fa67171b32ee5d38c67c5a97630bcd8fab' + + '0563d154cd47dcf9c34e4ddf00d8fea353176807ba5f7ab62316133a8976a733' ) # Mock withdrawal params. @@ -33,7 +33,6 @@ class TestWithdrawal(): def test_sign_withdrawal(self): withdrawal = SignableWithdrawal(**WITHDRAWAL_PARAMS) signature = withdrawal.sign(MOCK_PRIVATE_KEY) - print(signature) assert signature == MOCK_SIGNATURE def test_verify_signature(self): diff --git a/tests/test_onboarding.py b/tests/test_onboarding.py index 3629749..03f0a0d 100644 --- a/tests/test_onboarding.py +++ b/tests/test_onboarding.py @@ -24,17 +24,17 @@ '0x170d807cafe3d8b5758f3f698331d292bf5aeb71f6fd282f0831dee094ee891', } EXPECTED_API_KEY_CREDENTIALS_SEPOLIA = { - 'key': '1871d1ba-537c-7fe8-743c-172bcd4ae5c6', - 'secret': 'tQxclqFWip0HL4Q-xkwZb_lTfOQz4GD5CHHpYzWa', - 'passphrase': 'B8JFepDVn8eixnor7Imv', + 'key': '30cb6046-8f4a-5677-a19c-a494ccb7c7e5', + 'secret': '4Yd_6JtH_-I2taoNQKAhkCifnVHQ2Unue88sIeuc', + 'passphrase': 'Db1GQK5KpI_qeddgjF66', } EXPECTED_STARK_KEY_PAIR_WITH_Y_COORDINATE_SEPOLIA = { 'public_key': - '0x3ea05770b452df14427b3f07ff600faa132ecc3d7643275042cb4da6ad99972', + '0x15e2e074a7ac9e78edb2ee9f11a0c0c0a080c79758ab81616eea9c032c75265', 'public_key_y_coordinate': - '0x7310e2ab01978806a6fb6e51a9ee1c9a5c5117c63530ad7dead2b9f72094cc3', + '0x360408546b64238f80d7a8a336d7304d75f122a7e5bb22cbb7a14f550eac5a8', 'private_key': - '0x1019187d91b8effe153ab1932930e27c8d01c56ad9cc937c777633c0ffc5a7e' + '0x2d21c094fedea3e72bef27fbcdceaafd34e88fc4b7586859e26e98b21e63a60' } @@ -51,7 +51,6 @@ def test_derive_stark_key_on_mainnet_from_web3(self): stark_key_pair_with_y_coordinate = client.onboarding.derive_stark_key( signer_address, ) - print(stark_key_pair_with_y_coordinate) assert stark_key_pair_with_y_coordinate == \ EXPECTED_STARK_KEY_PAIR_WITH_Y_COORDINATE_MAINNET @@ -68,7 +67,6 @@ def test_recover_default_api_key_credentials_on_mainnet_from_web3(self): signer_address, ) ) - print(api_key_credentials) assert api_key_credentials == EXPECTED_API_KEY_CREDENTIALS_MAINNET def test_derive_stark_key_on_SEPOLIA_from_web3(self): @@ -82,7 +80,6 @@ def test_derive_stark_key_on_SEPOLIA_from_web3(self): stark_key_pair_with_y_coordinate = client.onboarding.derive_stark_key( signer_address, ) - print(stark_key_pair_with_y_coordinate) assert stark_key_pair_with_y_coordinate == \ EXPECTED_STARK_KEY_PAIR_WITH_Y_COORDINATE_SEPOLIA @@ -99,7 +96,6 @@ def test_recover_default_api_key_credentials_on_SEPOLIA_from_web3(self): signer_address, ) ) - print(api_key_credentials) assert api_key_credentials == EXPECTED_API_KEY_CREDENTIALS_SEPOLIA def test_derive_stark_key_on_mainnet_from_priv(self): @@ -113,7 +109,6 @@ def test_derive_stark_key_on_mainnet_from_priv(self): stark_key_pair_with_y_coordinate = client.onboarding.derive_stark_key( signer_address, ) - print(stark_key_pair_with_y_coordinate) assert stark_key_pair_with_y_coordinate == \ EXPECTED_STARK_KEY_PAIR_WITH_Y_COORDINATE_MAINNET @@ -129,7 +124,6 @@ def test_recover_default_api_key_credentials_on_mainnet_from_priv(self): signer_address, ) ) - print(api_key_credentials) assert api_key_credentials == EXPECTED_API_KEY_CREDENTIALS_MAINNET def test_derive_stark_key_on_SEPOLIA_from_priv(self): @@ -142,7 +136,6 @@ def test_derive_stark_key_on_SEPOLIA_from_priv(self): stark_key_pair_with_y_coordinate = client.onboarding.derive_stark_key( signer_address, ) - print(stark_key_pair_with_y_coordinate) assert stark_key_pair_with_y_coordinate == \ EXPECTED_STARK_KEY_PAIR_WITH_Y_COORDINATE_SEPOLIA @@ -158,5 +151,4 @@ def test_recover_default_api_key_credentials_on_SEPOLIA_from_priv(self): signer_address, ) ) - print(api_key_credentials) assert api_key_credentials == EXPECTED_API_KEY_CREDENTIALS_SEPOLIA