chore: Apply new rustfmt config from parent commit to all files

This commit is contained in:
Jeff Bencin
2023-10-10 11:11:10 -04:00
parent 00f10e73c6
commit f6668d8ee3
318 changed files with 3707 additions and 5688 deletions

View File

@@ -19,8 +19,7 @@ use clarity::vm::contexts::GlobalContext;
use clarity::vm::costs::cost_functions::ClarityCostFunction;
use clarity::vm::costs::runtime_cost;
use clarity::vm::database::ClarityDatabase;
use clarity::vm::errors::Error as ClarityError;
use clarity::vm::errors::RuntimeErrorType;
use clarity::vm::errors::{Error as ClarityError, RuntimeErrorType};
use clarity::vm::events::{STXEventType, STXLockEventData, StacksTransactionEvent};
use clarity::vm::types::PrincipalData;
use clarity::vm::Value;

View File

@@ -19,13 +19,11 @@ use clarity::vm::contexts::GlobalContext;
use clarity::vm::costs::cost_functions::ClarityCostFunction;
use clarity::vm::costs::runtime_cost;
use clarity::vm::database::{ClarityDatabase, STXBalance};
use clarity::vm::errors::Error as ClarityError;
use clarity::vm::errors::RuntimeErrorType;
use clarity::vm::errors::{Error as ClarityError, RuntimeErrorType};
use clarity::vm::events::{STXEventType, STXLockEventData, StacksTransactionEvent};
use clarity::vm::types::{PrincipalData, QualifiedContractIdentifier};
use clarity::vm::{Environment, Value};
use slog::slog_debug;
use slog::slog_error;
use slog::{slog_debug, slog_error};
use stacks_common::{debug, error};
use crate::events::synthesize_pox_2_or_3_event_info;

View File

@@ -19,20 +19,17 @@ use clarity::vm::contexts::GlobalContext;
use clarity::vm::costs::cost_functions::ClarityCostFunction;
use clarity::vm::costs::runtime_cost;
use clarity::vm::database::{ClarityDatabase, STXBalance};
use clarity::vm::errors::Error as ClarityError;
use clarity::vm::errors::RuntimeErrorType;
use clarity::vm::errors::{Error as ClarityError, RuntimeErrorType};
use clarity::vm::events::{STXEventType, STXLockEventData, StacksTransactionEvent};
use clarity::vm::types::{PrincipalData, QualifiedContractIdentifier};
use clarity::vm::{Environment, Value};
use slog::slog_debug;
use slog::slog_error;
use slog::{slog_debug, slog_error};
use stacks_common::{debug, error};
use crate::events::synthesize_pox_2_or_3_event_info;
use crate::LockingError;
use crate::POX_3_NAME;
// Note: PoX-3 uses the same contract-call result parsing routines as PoX-2
use crate::pox_2::{parse_pox_extend_result, parse_pox_increase, parse_pox_stacking_result};
use crate::{LockingError, POX_3_NAME};
/////////////////////// PoX-3 /////////////////////////////////