Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/transactions/validate.rs
Original file line number Diff line number Diff line change
@@ -348,6 +348,7 @@ pub fn validate_transaction(
a
},
),
max_log_level: config.max_log_level,
};

match vm {
@@ -464,7 +465,7 @@ impl Query {
main_trie_root_calculation_cache: Some(
success.main_trie_root_calculation_cache,
),
max_log_level: 0,
max_log_level: info.max_log_level,
});

match vm {
@@ -560,6 +561,8 @@ struct Stage1 {
transaction_source: TransactionSource,
/// Same value as [`Config::scale_encoded_transaction`].
scale_encoded_transaction: Vec<u8>,
/// Same value as [`Config::max_log_level`].
max_log_level: u32,
}

struct Stage2 {}

0 comments on commit 7324fd8

Please sign in to comment.