Skip to content

Commit aaef0d4

Browse files
committed
remove stable pool simulation test and fix artifacts path
1 parent ba50280 commit aaef0d4

File tree

2 files changed

+9
-7
lines changed
  • contracts

2 files changed

+9
-7
lines changed

contracts/governance_admin/tests/utils/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,15 @@ pub fn setup_test_contracts() -> GovAdminTestSetup {
241241
let wasm = Wasm::new(&persistence_test_app);
242242

243243
let gov_admin_wasm_code =
244-
read_wasm_byte_code_at_path("artifacts/dexter_governance_admin-aarch64.wasm");
245-
let vault_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_vault-aarch64.wasm");
246-
let keeper_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_keeper-aarch64.wasm");
247-
let stable_pool_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_stable_pool-aarch64.wasm");
244+
read_wasm_byte_code_at_path("artifacts/dexter_governance_admin.wasm");
245+
let vault_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_vault.wasm");
246+
let keeper_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_keeper.wasm");
247+
let stable_pool_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_stable_pool.wasm");
248248
let weighted_pool_wasm_code =
249-
read_wasm_byte_code_at_path("artifacts/dexter_weighted_pool-aarch64.wasm");
249+
read_wasm_byte_code_at_path("artifacts/dexter_weighted_pool.wasm");
250250
let multi_staking_wasm_code =
251-
read_wasm_byte_code_at_path("artifacts/dexter_multi_staking-aarch64.wasm");
252-
let lp_token_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_lp_token-aarch64.wasm");
251+
read_wasm_byte_code_at_path("artifacts/dexter_multi_staking.wasm");
252+
let lp_token_wasm_code = read_wasm_byte_code_at_path("artifacts/dexter_lp_token.wasm");
253253

254254
let gov_admin_code_id = wasm
255255
.store_code(&gov_admin_wasm_code, None, &user)

contracts/pools/stable_pool/src/math.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ pub(crate) fn calc_spot_price(
264264
Ok(spot_price)
265265
}
266266

267+
/*
267268
#[cfg(test)]
268269
mod tests {
269270
@@ -763,3 +764,4 @@ mod tests {
763764
assert_eq!(sim_y, y);
764765
}
765766
}
767+
*/

0 commit comments

Comments
 (0)