diff --git a/crates/bin/pd/src/main.rs b/crates/bin/pd/src/main.rs index ebe77e7973..0a68708618 100644 --- a/crates/bin/pd/src/main.rs +++ b/crates/bin/pd/src/main.rs @@ -12,7 +12,7 @@ use cnidarium::{StateDelta, Storage}; use metrics_exporter_prometheus::PrometheusBuilder; use pd::{ cli::{Opt, RootCommand, TestnetCommand}, - migrate::Migration::Testnet71, + migrate::Migration::Testnet73, testnet::{ config::{get_testnet_dir, parse_tm_address, url_has_necessary_parts}, generate::TestnetConfig, @@ -432,7 +432,7 @@ async fn main() -> anyhow::Result<()> { migrate_archive, } => { tracing::info!("migrating state in {}", target_directory.display()); - Testnet71 + Testnet73 .migrate(target_directory.clone(), genesis_start) .await .context("failed to upgrade state")?; diff --git a/crates/bin/pd/src/migrate.rs b/crates/bin/pd/src/migrate.rs index d354f2de0f..08aaf8370b 100644 --- a/crates/bin/pd/src/migrate.rs +++ b/crates/bin/pd/src/migrate.rs @@ -29,8 +29,8 @@ pub enum Migration { SimpleMigration, /// Testnet-70 migration: move swap executions from the jmt to nv-storage. Testnet70, - /// Testnet-71 migration: change liquidity positions to be ordered in descending order rather than ascending. - Testnet71, + /// Testnet-73 migration: change liquidity positions to be ordered in descending order rather than ascending. + Testnet73, } impl Migration { @@ -193,7 +193,7 @@ impl Migration { "successful migration!" ); } - Migration::Testnet71 => { + Migration::Testnet73 => { // Lookups for liquidity positions based on starting asset were ordered backwards // and returning the positions with the least liquidity first. This migration // needs to modify the keys stored under the JMT `dex/ra/` prefix key to reverse