Skip to content

Commit

Permalink
pd(migrate): set halt flag to false
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanor authored and conorsch committed May 23, 2024
1 parent a9d5c7b commit 4f62eb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bin/pd/src/migrate/testnet76.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use pbjson_types::Any;
use penumbra_app::app::StateReadExt as _;
use penumbra_asset::Balance;
use penumbra_auction::auction::dutch::DutchAuction;
use penumbra_governance::StateWriteExt;
use penumbra_proto::{DomainType, StateReadProto, StateWriteProto};
use penumbra_sct::component::clock::{EpochManager, EpochRead};
use penumbra_shielded_pool::params::ShieldedPoolParameters;
Expand Down Expand Up @@ -110,6 +111,7 @@ pub async fn migrate(
// Reconstruct a VCB balance for the auction component.
heal_auction_vcb(&mut delta).await?;

delta.ready_to_start();
delta.put_block_height(0u64);
let post_upgrade_root_hash = storage.commit_in_place(delta).await?;
tracing::info!(?post_upgrade_root_hash, "post-migration root hash");
Expand Down

0 comments on commit 4f62eb6

Please sign in to comment.