From a790c0a8e630327b8718018d3e2704cca1932e10 Mon Sep 17 00:00:00 2001 From: JordyRo1 Date: Mon, 2 Dec 2024 18:30:48 +0100 Subject: [PATCH] fix: revert decimals --- pragma-oracle/src/tests/test_oracle.cairo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pragma-oracle/src/tests/test_oracle.cairo b/pragma-oracle/src/tests/test_oracle.cairo index f810612..c45305b 100644 --- a/pragma-oracle/src/tests/test_oracle.cairo +++ b/pragma-oracle/src/tests/test_oracle.cairo @@ -1530,7 +1530,7 @@ fn test_get_conversion_rate_price_fails_if_asset_not_registered() { .add_currency( Currency { id: 'STRK', - decimals: 18, + decimals: 8, is_abstract_currency: false, starknet_address: 0.try_into().unwrap(), ethereum_address: 0.try_into().unwrap(), @@ -1540,7 +1540,7 @@ fn test_get_conversion_rate_price_fails_if_asset_not_registered() { .add_currency( Currency { id: 'xSTRK', - decimals: 18, + decimals: 8, is_abstract_currency: false, starknet_address: 0.try_into().unwrap(), ethereum_address: 0.try_into().unwrap(),