Skip to content

Commit

Permalink
disable precompile cache
Browse files Browse the repository at this point in the history
  • Loading branch information
marcindsobczak committed Nov 19, 2024
1 parent 3a0be32 commit dd05498
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Nethermind/Nethermind.Evm/CodeInfoRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ private static FrozenDictionary<AddressAsKey, CodeInfo> InitializePrecompiledCon

public CodeInfoRepository(ConcurrentDictionary<PreBlockCaches.PrecompileCacheKey, (ReadOnlyMemory<byte>, bool)>? precompileCache = null)
{
_localPrecompiles = precompileCache is null
? _precompiles
: _precompiles.ToFrozenDictionary(kvp => kvp.Key, kvp => CreateCachedPrecompile(kvp, precompileCache));
_localPrecompiles = //precompileCache is null
_precompiles;
// : _precompiles.ToFrozenDictionary(kvp => kvp.Key, kvp => CreateCachedPrecompile(kvp, precompileCache));
}

public CodeInfo GetCachedCodeInfo(IWorldState worldState, Address codeSource, IReleaseSpec vmSpec, out Address? delegationAddress)
Expand Down

0 comments on commit dd05498

Please sign in to comment.