Skip to content

Instantly share code, notes, and snippets.

@buffalojoec
Last active March 19, 2024 13:45
Show Gist options
  • Save buffalojoec/7de3c8b3032b5d890e2335a43bcc9df3 to your computer and use it in GitHub Desktop.
Save buffalojoec/7de3c8b3032b5d890e2335a43bcc9df3 to your computer and use it in GitHub Desktop.
Runtime `additional_builtins` call sites
runtime::bank::new_from_fields()
|
|-- runtime::serde_snapshot::reconstruct_bank_from_fields()
|
|-- runtime::serde_snapshot::bank_from_streams()
|
|-- runtime::snapshot_bank_utils::rebuild_bank_from_unarchived_snapshots()
| |
| |-- runtime::snapshot_bank_utils::bank_from_snapshot_archives()
| |
| |-- runtime::snapshot_bank_utils::bank_from_latest_snapshot_archives()
|
|-- ledger::bank_forks_utils::bank_forks_from_snapshot() ## DEFAULT
|
|-- runtime::snapshot_bank_utils::rebuild_bank_from_snapshot()
|
|-- runtime::snapshot_bank_utils::bank_from_snapshot_dir()
|
|-- runtime::snapshot_bank_utils::bank_from_latest_snapshot_dir()
|
|-- ledger::bank_forks_utils::bank_forks_from_snapshot() ## DEFAULT
runtime::bank::new_with_paths()
|
|-- ledger::blockstore_processor::process_blockstore_for_bank_0() ## DEFAULT
|
|-- program_test::ProgramTest::setup_bank() ## DEFAULT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment