Lower owner hashing activation slot for devnet (#10244)

automerge
This commit is contained in:
Ryo Onodera
2020-05-27 04:08:22 +09:00
committed by GitHub
parent 2e5ef2a802
commit 9a42cc7555

View File

@ -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(