Skip to content

Commit

Permalink
miner, core: get rid of test_backend helper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Jan 28, 2025
1 parent c8abded commit 5f8b0af
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 700 deletions.
6 changes: 4 additions & 2 deletions core/vm/interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ var (
ErrNoCurrentTx = errors.New("no current tx found in interruptCtx")
)

type InterruptKeyType string

const (
// These are keys for the interruptCtx
InterruptCtxDelayKey = "delay"
InterruptCtxOpcodeDelayKey = "opcodeDelay"
InterruptCtxDelayKey InterruptKeyType = "delay"
InterruptCtxOpcodeDelayKey InterruptKeyType = "opcodeDelay"

// InterruptedTxCacheSize is size of lru cache for interrupted txs
InterruptedTxCacheSize = 90000
Expand Down
Loading

0 comments on commit 5f8b0af

Please sign in to comment.