From ec26f9b3e1bc4d0d1127d63e6588ee075a8c2493 Mon Sep 17 00:00:00 2001 From: JordyRo1 Date: Tue, 22 Oct 2024 21:19:01 +0200 Subject: [PATCH] fix: --- src/lp_pricer/mock_pool.cairo | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lp_pricer/mock_pool.cairo b/src/lp_pricer/mock_pool.cairo index 414a6f5..1054a1c 100644 --- a/src/lp_pricer/mock_pool.cairo +++ b/src/lp_pricer/mock_pool.cairo @@ -35,8 +35,7 @@ mod Pool { self.reserves.write((10000, 1000)); } - - #[abi(embed_v0)] + #[external(v0)] impl IPoolImpl of IPool { fn name(self: @ContractState) -> felt252 { self.name.read() @@ -69,7 +68,7 @@ mod Pool { // Additional implementation for testing purpose only - #[abi(embed_v0)] + #[external(v0)] impl ISetPoolImpl of ISetPool { fn set_total_supply(ref self: ContractState, supply: u256) { self.total_supply.write(supply);