Skip to content

Commit

Permalink
Lower owner hashing activation slot for devnet (#10244)
Browse files Browse the repository at this point in the history
automerge
  • Loading branch information
ryoqun authored May 26, 2020
1 parent 2e5ef2a commit 9a42cc7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,10 @@ impl AccountsDB {
}

pub fn include_owner_in_hash(slot: Slot) -> bool {
// Account hashing updated to include owner activates at this slot on the testnet
slot >= 14_000_000
// Account hashing will be updated to include owner at this slot on the devnet.
// For testnet, it fully transitioned already thanks to eager rent collection,
// so, this check is irrelevant, strictly speaking.
slot >= 5_800_000
}

pub fn hash_account_data(
Expand Down

0 comments on commit 9a42cc7

Please sign in to comment.