From e8c6233c6ec3a6d495b2bbde2482ac75f3486049 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Tue, 26 May 2020 17:21:22 +0900 Subject: [PATCH] Adjust owner hashing activation slot (#10243) automerge --- runtime/src/accounts_db.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index eafb8678d0..c16f3277f6 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -1331,8 +1331,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/mainnet-beta - slot >= 11_000_000 + // Account hashing updated to include owner activates at this slot on the mainnet-beta. + // For testnet, it fully transitioned already thanks to eager rent collection, + // so, this check is irrelevant, strictly speaking. + slot >= 12_500_000 } pub fn hash_account_data(