mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix: increase keccak usage safety buffer (#1028)
This commit is contained in:
parent
665f6c3413
commit
590e104111
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ type Logger struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewLogger() *Logger {
|
func NewLogger() *Logger {
|
||||||
const miscKeccakUsage = 50_000 // heuristically selected safe number to account for Rust side implementation details
|
const miscKeccakUsage = 100_000 // heuristically selected safe number to account for Rust side implementation details
|
||||||
const miscBytecodeUsage = 50_000 // to account for the inaccuracies in bytecode tracking
|
const miscBytecodeUsage = 50_000 // to account for the inaccuracies in bytecode tracking
|
||||||
return &Logger{
|
return &Logger{
|
||||||
codesAccessed: make(map[common.Hash]bool),
|
codesAccessed: make(map[common.Hash]bool),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue