Skip to content

Commit fc45378

Browse files
intermediate
1 parent af76f0d commit fc45378

File tree

8 files changed

+491
-488
lines changed

8 files changed

+491
-488
lines changed

src/app/ledger/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@ ingest( fd_ledger_args_t * args ) {
898898
args->funk,
899899
args->funk_txn,
900900
NULL,
901+
NULL,
901902
args->tpool,
902903
args->verify_acc_hash,
903904
args->check_acc_hash ,
@@ -919,6 +920,7 @@ ingest( fd_ledger_args_t * args ) {
919920
args->funk,
920921
args->funk_txn,
921922
NULL,
923+
NULL,
922924
args->tpool,
923925
args->verify_acc_hash,
924926
args->check_acc_hash,
@@ -1075,6 +1077,7 @@ replay( fd_ledger_args_t * args ) {
10751077
args->funk,
10761078
args->funk_txn,
10771079
NULL,
1080+
NULL,
10781081
args->tpool,
10791082
args->verify_acc_hash,
10801083
args->check_acc_hash,
@@ -1092,6 +1095,7 @@ replay( fd_ledger_args_t * args ) {
10921095
args->funk,
10931096
args->funk_txn,
10941097
NULL,
1098+
NULL,
10951099
args->tpool,
10961100
args->verify_acc_hash,
10971101
args->check_acc_hash,

src/discof/replay/fd_replay_tile.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -656,15 +656,12 @@ restore_slot_ctx( fd_replay_tile_ctx_t * ctx,
656656
fd_solana_manifest_global_t * manifest_global
657657
= (fd_solana_manifest_global_t *)fd_chunk_to_laddr( fd_wksp_containing( ctx->manifest_dcache ), chunk );
658658

659-
660-
fd_bank_t * manifest_bank = NULL;
661-
int err = fd_exec_slot_ctx_recover(
659+
fd_bank_t * manifest_bank = fd_runtime_restore_bank(
662660
ctx->banks,
663-
&manifest_bank,
664661
manifest_global,
665662
ctx->runtime_spad );
666-
if( FD_UNLIKELY( !err ) ) {
667-
FD_LOG_CRIT(( "Failed to restore slot context from snapshot manifest!" ));
663+
if( FD_UNLIKELY( !manifest_bank ) ) {
664+
FD_LOG_CRIT(( "Failed to setup bank from snapshot manifest!" ));
668665
}
669666

670667
ctx->bank = manifest_bank;

0 commit comments

Comments
 (0)