Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
flcl42 committed Jun 21, 2024
1 parent 0554aef commit 1f96c33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Nethermind/Nethermind.Evm/AddressExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public static Address From(Address deployingAddress, ReadOnlySpan<byte> salt, Re
return new Address(in contractAddressKeccak);
}


// See https://eips.ethereum.org/EIPS/eip-7610
public static bool IsNonZeroAccount(this Address contractAddress, IReleaseSpec spec, ICodeInfoRepository codeInfoRepository, IWorldState state)
{
Expand Down
7 changes: 0 additions & 7 deletions src/Nethermind/Nethermind.Evm/VirtualMachine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2452,13 +2452,6 @@ private EvmExceptionType InstructionSelfDestruct<TTracing>(EvmState vmState, ref
return (EvmExceptionType.None, callState);
}

private static bool IsNonEmptyAccount(IReleaseSpec spec, Address contractAddress, ICodeInfoRepository _codeInfoRepository, IWorldState state)
{
return _codeInfoRepository.GetCachedCodeInfo(state, contractAddress, spec).MachineCode.Length != 0 ||
state.GetNonce(contractAddress) != 0 ||
state.GetStorageRoot(contractAddress) != Keccak.EmptyTreeHash;
}

[SkipLocalsInit]
private EvmExceptionType InstructionLog<TTracing>(EvmState vmState, ref EvmStack<TTracing> stack, ref long gasAvailable, Instruction instruction)
where TTracing : struct, IIsTracing
Expand Down

0 comments on commit 1f96c33

Please sign in to comment.