Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Jun 14, 2024
1 parent cca2695 commit 72b202c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cmd/soroban-cli/src/commands/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,12 @@ impl Cmd {
// contract executable stored in another
// ledger entry, add that ledger entry to
// the filter so that Wasm for any filtered
// contract is collected too. TODO: Change
// contract is collected too. TODO: Change
// this to support Wasm ledger entries
// appearing in earlier buckets after state
// archival is rolled out.
// appearing in earlier buckets. In some
// cases that won't be sufficient and a dev
// will need to specify the wasm hash
// manually until this todo is complete.
if keep && e.key == ScVal::LedgerKeyContractInstance {
if let ScVal::ContractInstance(ScContractInstance {
executable: ContractExecutable::Wasm(Hash(hash)),
Expand Down

0 comments on commit 72b202c

Please sign in to comment.