File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- use aurora_evm:: { ExitError , ExitReason } ;
2- // use aurora_evm::{ExitError, ExitReason};
31use crate :: config:: TestConfig ;
42use crate :: types:: Spec ;
53use crate :: types:: { InvalidTxReason , PostState } ;
4+ use aurora_evm:: { ExitError , ExitReason } ;
65
76/// Assert vicinity validation to ensure that test expected validation error
87#[ allow( clippy:: cognitive_complexity, clippy:: too_many_lines) ]
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ fn get_exit_error(exit_error: aurora_engine_precompiles::ExitError) -> ExitError
225225
226226/// Dumps precompile input and output data to a JSON file for test case generation.
227227///
228- /// It can be used for debbugging and creating new test cases for precompiles.
228+ /// It can be used for debugging and creating new test cases for precompiles.
229229#[ cfg( feature = "dump-state" ) ]
230230#[ allow( dead_code) ]
231231fn dump_precompile_state (
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ pub const STANDARD_TOKEN_COST: usize = 4;
66pub const NON_ZERO_BYTE_DATA_COST : usize = 16 ;
77/// The multiplier for a non zero byte in calldata adjusted by [EIP-2028](https://eips.ethereum.org/EIPS/eip-2028).
88pub const NON_ZERO_BYTE_MULTIPLIER : usize = NON_ZERO_BYTE_DATA_COST / STANDARD_TOKEN_COST ;
9- // The cost floor per token
9+ /// The cost floor per token
1010pub const TOTAL_COST_FLOOR_PER_TOKEN : u64 = 10 ;
1111
1212/// Retrieve the total number of tokens in calldata.
You can’t perform that action at this time.
0 commit comments