mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
a4f8175136
Updated bor consensus folder structure
15 lines
406 B
Go
15 lines
406 B
Go
package bor
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ledgerwatch/erigon/consensus"
|
|
"github.com/ledgerwatch/erigon/consensus/bor/clerk"
|
|
)
|
|
|
|
//go:generate mockgen -destination=./genesis_contract_mock.go -package=bor . GenesisContract
|
|
type GenesisContract interface {
|
|
CommitState(event *clerk.EventRecordWithTime, syscall consensus.SystemCall) error
|
|
LastStateId(syscall consensus.SystemCall) (*big.Int, error)
|
|
}
|