fix: increase keccak usage safety buffer (#1028)

This commit is contained in:
Ömer Faruk Irmak 2024-09-09 18:48:12 +03:00 committed by GitHub
parent 665f6c3413
commit 590e104111
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ type Logger struct {
}
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
return &Logger{
codesAccessed: make(map[common.Hash]bool),