mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 19:12:19 +00:00
15 lines
382 B
Go
15 lines
382 B
Go
package bor
|
|
|
|
import (
|
|
"math/big"
|
|
|
|
"github.com/ledgerwatch/erigon/consensus"
|
|
"github.com/ledgerwatch/erigon/rlp"
|
|
)
|
|
|
|
//go:generate mockgen -destination=./mock/genesis_contract_mock.go -package=mock . GenesisContract
|
|
type GenesisContract interface {
|
|
CommitState(event rlp.RawValue, syscall consensus.SystemCall) error
|
|
LastStateId(syscall consensus.SystemCall) (*big.Int, error)
|
|
}
|