Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akru committed Mar 28, 2023
1 parent a1eab43 commit 007940c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frame/evm/src/runner/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ where
>,
) -> (ExitReason, R),
{
// Only check the restrictions of EIP-3607 if the source of the EVM operation is from an external transaction.
// Only check the restrictions of EIP-3607 if the source of the EVM operation is from an external transaction.
// If the source of this EVM operation is from an internal call, like from `eth_call` or `eth_estimateGas` RPC,
// we will skip the checks for the EIP-3607.
if is_transactional {
Expand Down
8 changes: 4 additions & 4 deletions frame/evm/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ fn eip3607_transaction_from_contract_should_fail() {
None,
None,
Vec::new(),
true, // transactional
false, // must not be validated
true, // transactional
false, // must not be validated
&<Test as Config>::config().clone(),
) {
Err(RunnerError {
Expand Down Expand Up @@ -622,8 +622,8 @@ fn eip3607_transaction_from_precompile_should_fail() {
None,
None,
Vec::new(),
true, // transactional
false, // must not be validated
true, // transactional
false, // must not be validated
&<Test as Config>::config().clone(),
) {
Err(RunnerError {
Expand Down

0 comments on commit 007940c

Please sign in to comment.