Skip to content

Commit

Permalink
DEBUG: log the original validation error
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jan 29, 2025
1 parent bb47ba7 commit aaceddf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frame/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ pub mod pallet {

impl<T> From<TransactionValidationError> for Error<T> {
fn from(validation_error: TransactionValidationError) -> Self {
log::info!("**** FRONTIER, frame/evm/src/lib.rs validation_error={:?}", validation_error);
match validation_error {
TransactionValidationError::GasLimitTooLow => Error::<T>::GasLimitTooLow,
TransactionValidationError::GasLimitTooHigh => Error::<T>::GasLimitTooHigh,
Expand Down

0 comments on commit aaceddf

Please sign in to comment.