Skip to content

Add an explainer for how to load up the env in a test with a ledger snapshot #487

Closed

Description

@kalepail

What problem does your feature solve?

There are a number of instances where knowing how to initialize the environment with a ledger snapshot would prove useful.
e.g. https://discord.com/channels/897514728459468821/1063544780170219601

What would you like to see?

A new, likely section of or additional page to, the testing section detailing how to load up the env with a ledger snapshot.

  • Especially how to load in accounts with trustlines in various states
  • Loading up an account with an XLM balance

What alternatives are there?

For the asset related issues you can use the example token contract vs the token spec.
e.g. https://github.com/stellar/soroban-examples/blob/main/single_offer/src/test.rs#L8

Activity

  1. added
    enhancement
    and removed
    enhancement
    on Sep 20, 2023
  2. added a commit that references this issue on Apr 17, 2024
  3. moved this from Backlog to To Do in Dev Docson Jun 24, 2024
  4. moved this from To Do to In Progress in Dev Docson Aug 12, 2025
  5. removed their assignment
    on Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

  • Status
    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions