Skip to content

Commit

Permalink
Update ekubo test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chepelau committed Oct 28, 2024
1 parent c2f4b87 commit d83e8d5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/forks/add_ekubo.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,12 @@ fn add_ekubo_lpools(
let amm = IAMMDispatcher { contract_address: amm_contract_addr };
// Upgrade amm
start_prank(amm_contract_addr, owner);
let new_amm_hash = declare('AMM');
amm.upgrade(new_amm_hash.class_hash);
// let new_amm_hash = declare('AMM');
// amm.upgrade(new_amm_hash.class_hash);

let new_amm_hash: ClassHash = 0x0217863fdd0f365bff051411a5a1c792bb24e21c80f6bb4d297cef5ceb6d22f5.try_into().unwrap();
amm.upgrade(new_amm_hash);

stop_prank(amm_contract_addr);

let (ekubo_call_lpt, ekubo_put_lpt) = deploy_ekubo_lptokens(amm_contract_addr);
Expand Down

0 comments on commit d83e8d5

Please sign in to comment.