Skip to content

Commit

Permalink
upate
Browse files Browse the repository at this point in the history
  • Loading branch information
profMagija committed Sep 12, 2024
1 parent 26dc633 commit 15f2046
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions execution/gethexec/executionengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,6 @@ func (s *ExecutionEngine) Initialize(rustCacheSize uint32, targetConfig *StylusT
return nil
}

func (s *ExecutionEngine) Initialize(rustCacheSize uint32, targetConfig *StylusTargetConfig) error {
if rustCacheSize != 0 {
programs.ResizeWasmLruCache(rustCacheSize)
}
if err := populateStylusTargetCache(targetConfig); err != nil {
return fmt.Errorf("error populating stylus target cache: %w", err)
}
return nil
}

func (s *ExecutionEngine) SetRecorder(recorder *BlockRecorder) {
if s.Started() {
panic("trying to set recorder after start")
Expand Down

0 comments on commit 15f2046

Please sign in to comment.