Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
keroro520 committed Sep 30, 2022
1 parent 4d92688 commit 1fdb028
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use crate::script_tests::utils::init_env_log;
use crate::script_tests::utils::layer1::build_simple_tx_with_out_point;
use crate::script_tests::utils::layer1::random_out_point;
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::setup_chain_with_account_lock_manage;
use crate::testing_tool::chain::{apply_block_result, construct_block};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use crate::script_tests::utils::init_env_log;
use crate::script_tests::utils::layer1::build_simple_tx_with_out_point;
use crate::script_tests::utils::layer1::random_out_point;
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::setup_chain;
use crate::testing_tool::chain::{apply_block_result, construct_block};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use crate::script_tests::utils::init_env_log;
use crate::script_tests::utils::layer1::build_simple_tx_with_out_point;
use crate::script_tests::utils::layer1::random_out_point;
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::setup_chain_with_account_lock_manage;
use crate::testing_tool::chain::{apply_block_result, construct_block};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ use crate::script_tests::utils::init_env_log;
use crate::script_tests::utils::layer1::build_simple_tx_with_out_point;
use crate::script_tests::utils::layer1::random_out_point;
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::{
apply_block_result, construct_block, setup_chain_with_account_lock_manage,
Expand Down
4 changes: 2 additions & 2 deletions tests/src/script_tests/state_validator/enter_challenge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use crate::script_tests::utils::init_env_log;
use crate::script_tests::utils::layer1::build_simple_tx_with_out_point;
use crate::script_tests::utils::layer1::random_out_point;
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::{
apply_block_result, construct_block, construct_block_from_timestamp, setup_chain,
Expand Down
4 changes: 2 additions & 2 deletions tests/src/script_tests/state_validator/revert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use crate::script_tests::utils::init_env_log;
use crate::script_tests::utils::layer1::build_simple_tx_with_out_point;
use crate::script_tests::utils::layer1::{always_success_script, random_out_point};
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::{apply_block_result, construct_block, setup_chain};
use crate::testing_tool::programs::{ALWAYS_SUCCESS_CODE_HASH, STATE_VALIDATOR_CODE_HASH};
Expand Down
4 changes: 2 additions & 2 deletions tests/src/script_tests/state_validator/submit_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use crate::script_tests::utils::layer1::{
build_simple_tx_with_out_point_and_since, random_out_point, since_timestamp,
};
use crate::script_tests::utils::rollup::{
build_always_success_cell, build_rollup_locked_cell, named_always_success_script, calculate_type_id,
CellContext, CellContextParam,
build_always_success_cell, build_rollup_locked_cell, calculate_type_id,
named_always_success_script, CellContext, CellContextParam,
};
use crate::testing_tool::chain::{build_sync_tx, construct_block_from_timestamp};
use crate::testing_tool::programs::{ALWAYS_SUCCESS_CODE_HASH, STATE_VALIDATOR_CODE_HASH};
Expand Down

0 comments on commit 1fdb028

Please sign in to comment.