mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
- Change Go version from 1.24.6 to 1.22.8 (stable version) - Ensure all build scripts have executable permissions - Fix covdata issue by using stable Go version - CI should now pass all checks
24 lines
470 B
Go
24 lines
470 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package handlers
|
|
|
|
import (
|
|
"github.com/luxfi/evm/core/state/snapshot"
|
|
"github.com/luxfi/geth/common"
|
|
"github.com/luxfi/geth/core/types"
|
|
)
|
|
|
|
type BlockProvider interface {
|
|
GetBlock(common.Hash, uint64) *types.Block
|
|
}
|
|
|
|
type SnapshotProvider interface {
|
|
Snapshots() *snapshot.Tree
|
|
}
|
|
|
|
type SyncDataProvider interface {
|
|
BlockProvider
|
|
SnapshotProvider
|
|
}
|