Skip to content

Commit

Permalink
fix:
Browse files Browse the repository at this point in the history
  • Loading branch information
JordyRo1 committed Oct 22, 2024
1 parent 32caed9 commit ec26f9b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lp_pricer/mock_pool.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ mod Pool {
self.reserves.write((10000, 1000));
}


#[abi(embed_v0)]
#[external(v0)]
impl IPoolImpl of IPool<ContractState> {
fn name(self: @ContractState) -> felt252 {
self.name.read()
Expand Down Expand Up @@ -69,7 +68,7 @@ mod Pool {


// Additional implementation for testing purpose only
#[abi(embed_v0)]
#[external(v0)]
impl ISetPoolImpl of ISetPool<ContractState> {
fn set_total_supply(ref self: ContractState, supply: u256) {
self.total_supply.write(supply);
Expand Down

0 comments on commit ec26f9b

Please sign in to comment.