Skip to content

Commit

Permalink
host: fix EXPIRATION_ENTRY_SIZE constant
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Sep 4, 2023
1 parent 7f632cd commit 69037db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions soroban-env-host/src/fees.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 69037db

Please sign in to comment.