Skip to content

Commit 8d2b02b

Browse files
making tests pass
1 parent f5b1fa4 commit 8d2b02b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/flamenco/runtime/fd_bank.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ FD_PROTOTYPES_BEGIN
206206
X(ulong, epoch, sizeof(ulong), alignof(ulong), 0, 0, 0 ) /* Epoch */ \
207207
X(fd_vote_states_t, vote_states, FD_VOTE_STATES_FOOTPRINT, FD_VOTE_STATES_ALIGN, 1, 0, 1 ) /* Vote states for all vote accounts as of epoch E if */ \
208208
/* epoch E is the one that is currently being executed */ \
209-
X(fd_vote_states_t, vote_states_prev, FD_VOTE_STATES_FOOTPRINT, FD_VOTE_STATES_ALIGN, 1, 0, 1 ) /* Vote states for all vote accounts as of of the end of */ \
209+
X(fd_vote_states_t, vote_states_prev, FD_VOTE_STATES_FOOTPRINT, FD_VOTE_STATES_ALIGN, 1, 1, 1 ) /* Vote states for all vote accounts as of of the end of */ \
210210
/* epoch E-1 if epoch E is currently being executed */ \
211-
X(fd_vote_states_t, vote_states_prev_prev, FD_VOTE_STATES_FOOTPRINT, FD_VOTE_STATES_ALIGN, 1, 0, 1 ) /* Vote states for all vote accounts as of the end of */ \
211+
X(fd_vote_states_t, vote_states_prev_prev, FD_VOTE_STATES_FOOTPRINT, FD_VOTE_STATES_ALIGN, 1, 1, 1 ) /* Vote states for all vote accounts as of the end of */ \
212212
/* epoch E-2 if epoch E is currently being executed */
213213

214214
/* Invariant Every CoW field must have a rw-lock */

src/flamenco/runtime/program/test_program_cache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ main( int argc,
635635
FD_LOG_NOTICE(( "Starting BPF program cache tests" ));
636636

637637
/* Create workspace */
638-
test_wksp = fd_wksp_new_anonymous( FD_SHMEM_GIGANTIC_PAGE_SZ, 2UL, fd_log_cpu_id(), "test_wksp", 0UL );
638+
test_wksp = fd_wksp_new_anonymous( FD_SHMEM_GIGANTIC_PAGE_SZ, 3UL, fd_log_cpu_id(), "test_wksp", 0UL );
639639
FD_TEST( test_wksp );
640640

641641
/* Create funk */
@@ -709,7 +709,7 @@ main( int argc,
709709

710710
test_teardown();
711711

712-
FD_LOG_NOTICE(( "All BPF program cache tests passed" ));
712+
FD_LOG_NOTICE(( "pass" ));
713713
fd_halt();
714714
return 0;
715715
}

src/flamenco/runtime/test_bank.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ main( int argc, char ** argv ) {
77
char * _page_sz = "gigantic";
88
ulong numa_idx = fd_shmem_numa_idx( 0 );
99
fd_wksp_t * wksp = fd_wksp_new_anonymous( fd_cstr_to_shmem_page_sz( _page_sz ),
10-
20UL,
10+
25UL,
1111
fd_shmem_cpu_idx( numa_idx ),
1212
"wksp",
1313
0UL );

0 commit comments

Comments
 (0)