mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
6b6c0caad0
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local> Co-authored-by: Alex Sharp <alexsharp@alexs-mbp-2.home>
15 lines
376 B
Go
15 lines
376 B
Go
package bor
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ledgerwatch/erigon/consensus"
|
|
"github.com/ledgerwatch/erigon/rlp"
|
|
)
|
|
|
|
//go:generate mockgen -destination=./genesis_contract_mock.go -package=bor . GenesisContract
|
|
type GenesisContract interface {
|
|
CommitState(event rlp.RawValue, syscall consensus.SystemCall) error
|
|
LastStateId(syscall consensus.SystemCall) (*big.Int, error)
|
|
}
|