Skip to content

Commit

Permalink
fix: fix the field name of GlobalState in script tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jjyr committed Dec 9, 2022
1 parent a6ae523 commit 9344bd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/tests/src/script_tests/custodian_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fn run_case(case: CaseParam) {
.count(global_state_block_count.pack())
.build(),
)
.last_finalized_block_number(global_state_last_finalized_timepoint.full_value().pack())
.last_finalized_timepoint(global_state_last_finalized_timepoint.full_value().pack())
.build();
let (mut ctx, rollup_state_out_point, custodian_code_out_point) =
deploy_context(&prev_global_state);
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/src/script_tests/stake_lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn run_case(case: CaseParam) {
.count(global_state_block_count.pack())
.build(),
)
.last_finalized_block_number(global_state_last_finalized_timepoint.full_value().pack())
.last_finalized_timepoint(global_state_last_finalized_timepoint.full_value().pack())
.build();
let (mut ctx, rollup_state_out_point, stake_code_out_point, stake_owner_out_point) =
deploy_context(&prev_global_state);
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/src/script_tests/withdrawal/finality.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn run_case(case: CaseParam) {
.count(global_state_block_count.pack())
.build(),
)
.last_finalized_block_number(global_state_last_finalized_timepoint.full_value().pack())
.last_finalized_timepoint(global_state_last_finalized_timepoint.full_value().pack())
.build();
let (mut ctx, rollup_state_out_point, withdrawal_code_out_point, withdrawal_owner_out_point) =
deploy_context(&prev_global_state);
Expand Down

0 comments on commit 9344bd3

Please sign in to comment.