From 69037db735c1b560d3211f23e975b0296d76a9ba Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Tue, 5 Sep 2023 00:07:46 +0200 Subject: [PATCH] host: fix EXPIRATION_ENTRY_SIZE constant --- soroban-env-host/src/fees.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/soroban-env-host/src/fees.rs b/soroban-env-host/src/fees.rs index 8745cb969..2b0d5c307 100644 --- a/soroban-env-host/src/fees.rs +++ b/soroban-env-host/src/fees.rs @@ -7,9 +7,8 @@ /// Rough estimate of the base size of any transaction result in the archives /// (independent of the transaction envelope size). pub const TX_BASE_RESULT_SIZE: u32 = 300; -/// Estimate for any `ExpirationEntry` ledger entry, consisting of a 32-byte -/// hash of the corresponding entry and 4 bytes for expiration ledger. -pub const EXPIRATION_ENTRY_SIZE: u32 = 32 + 4; +/// Estimate for any `ExpirationEntry` ledger entry +pub const EXPIRATION_ENTRY_SIZE: u32 = 48; const INSTRUCTIONS_INCREMENT: i64 = 10000; const DATA_SIZE_1KB_INCREMENT: i64 = 1024;