Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Longarithm committed Jun 19, 2024
1 parent 8b2ada0 commit 269b3a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions core/primitives/src/epoch_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ use crate::num_rational::Rational32;
use crate::shard_layout::ShardLayout;
use crate::types::validator_stake::ValidatorStakeV1;
use crate::types::{
AccountId, Balance, BlockHeightDelta, EpochHeight, EpochId, NumSeats, ProtocolVersion,
ValidatorId, ValidatorKickoutReason,
AccountId, Balance, BlockHeightDelta, EpochId, NumSeats, ProtocolVersion, ValidatorId,
};
use borsh::{BorshDeserialize, BorshSerialize};
use near_primitives_core::checked_feature;
use near_primitives_core::hash::CryptoHash;
use near_primitives_core::types::BlockHeight;
use smart_default::SmartDefault;
use std::collections::{BTreeMap, HashMap};
use std::collections::HashMap;

#[cfg(feature = "nightly")]
use crate::version::ProtocolFeature;
Expand Down
2 changes: 1 addition & 1 deletion core/store/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ pub fn migrate_39_to_40(store: &Store) -> anyhow::Result<()> {
chunk_producers_settlement,
stake_change,
validator_reward,
validator_kickout,
validator_kickout.into_iter().map(|(k, v)| (k, v.into())).collect(),
minted_amount,
seat_price,
protocol_version,
Expand Down

0 comments on commit 269b3a3

Please sign in to comment.