Skip to content

Commit

Permalink
fix: increase keccak usage safety buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmountaintop committed Sep 17, 2024
1 parent 1210921 commit e633414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/ccc/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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),
Expand Down

0 comments on commit e633414

Please sign in to comment.