Skip to content

Commit

Permalink
Bump env to c5607a2e9e296b2636b46dc910387aa3446b3e29
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Aug 3, 2023
1 parent 5a5ef12 commit ce7a55e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ soroban-token-sdk = { version = "0.9.2", path = "soroban-token-sdk" }
[workspace.dependencies.soroban-env-common]
version = "0.0.17"
git = "https://github.com/stellar/rs-soroban-env"
rev = "63cf7fe3d5ffc60db57fba97e9fc9c5778cd559c"
rev = "c5607a2e9e296b2636b46dc910387aa3446b3e29"

[workspace.dependencies.soroban-env-guest]
version = "0.0.17"
git = "https://github.com/stellar/rs-soroban-env"
rev = "63cf7fe3d5ffc60db57fba97e9fc9c5778cd559c"
rev = "c5607a2e9e296b2636b46dc910387aa3446b3e29"

[workspace.dependencies.soroban-env-host]
version = "0.0.17"
git = "https://github.com/stellar/rs-soroban-env"
rev = "63cf7fe3d5ffc60db57fba97e9fc9c5778cd559c"
rev = "c5607a2e9e296b2636b46dc910387aa3446b3e29"

[workspace.dependencies.stellar-strkey]
version = "0.0.7"
Expand All @@ -60,7 +60,7 @@ rev = "e6ba45c60c16de28c7522586b80ed0150157df73"
[workspace.dependencies.stellar-xdr]
version = "0.0.17"
git = "https://github.com/stellar/rs-stellar-xdr"
rev = "4eaf2388c1de6fc295ed5f7df8174c199923df5b"
rev = "d6e02584ac9f4046bf38eaf445ced0d4f33631fd"
default-features = false

#[patch."https://github.com/stellar/rs-soroban-env"]
Expand Down
4 changes: 4 additions & 0 deletions soroban-ledger-snapshot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub struct LedgerSnapshot {
pub min_temp_entry_expiration: u32,
pub max_entry_expiration: u32,
pub ledger_entries: Vec<(Box<LedgerKey>, Box<LedgerEntry>)>,
pub autobump_ledgers: u32,
}

impl LedgerSnapshot {
Expand Down Expand Up @@ -75,6 +76,7 @@ impl LedgerSnapshot {
min_persistent_entry_expiration: self.min_persistent_entry_expiration,
min_temp_entry_expiration: self.min_temp_entry_expiration,
max_entry_expiration: self.max_entry_expiration,
autobump_ledgers: self.autobump_ledgers,
}
}

Expand All @@ -85,6 +87,7 @@ impl LedgerSnapshot {
self.timestamp = info.timestamp;
self.network_id = info.network_id;
self.base_reserve = info.base_reserve;
self.autobump_ledgers = info.autobump_ledgers;
}

/// Get the entries in the snapshot.
Expand Down Expand Up @@ -166,6 +169,7 @@ impl Default for LedgerSnapshot {
min_persistent_entry_expiration: Default::default(),
min_temp_entry_expiration: Default::default(),
max_entry_expiration: Default::default(),
autobump_ledgers: Default::default(),
}
}
}
Expand Down
1 change: 1 addition & 0 deletions soroban-sdk/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ impl Env {
min_persistent_entry_expiration: 4096,
min_temp_entry_expiration: 16,
max_entry_expiration: 6_312_000,
autobump_ledgers: 0,
});

env
Expand Down

0 comments on commit ce7a55e

Please sign in to comment.