Expand description
§Features
| Feature | Default | Description |
|---|---|---|
singleton_cleanup | off | Registers an atexit hook and SIGINT handler to kill sandbox |
processes stored in statics (OnceCell, LazyLock). Not needed with nextest or per-test | ||
sandboxes since kill_on_drop already handles cleanup. | ||
generate | off | Enables random_account_id and random_key_pair helpers |
global_install | off | Installs the sandbox binary under $HOME/.near instead of $OUT_DIR |
Re-exports§
pub use config::GenesisAccount;pub use config::SandboxConfig;pub use sandbox::Sandbox;pub use sandbox::patch::FetchData;
Modules§
- config
- Network specific configurations used to modify behavior inside a chain.
- error_
kind - sandbox
Constants§
Functions§
- install
- Installs sandbox node with the default version. This is a version that is usually stable and has landed into mainnet to reflect the latest stable features and fixes.