diff --git a/blockstore/splitstore/splitstore.go b/blockstore/splitstore/splitstore.go index 56971307f..2fa191e7a 100644 --- a/blockstore/splitstore/splitstore.go +++ b/blockstore/splitstore/splitstore.go @@ -106,7 +106,6 @@ type Config struct { // ChainAccessor allows the Splitstore to access the chain. It will most likely // be a ChainStore at runtime. type ChainAccessor interface { - GetGenesis() (*types.BlockHeader, error) GetTipsetByHeight(context.Context, abi.ChainEpoch, *types.TipSet, bool) (*types.TipSet, error) GetHeaviestTipSet() *types.TipSet SubscribeHeadChanges(change func(revert []*types.TipSet, apply []*types.TipSet) error) diff --git a/blockstore/splitstore/splitstore_test.go b/blockstore/splitstore/splitstore_test.go index 4a98f4631..a0af5fe9d 100644 --- a/blockstore/splitstore/splitstore_test.go +++ b/blockstore/splitstore/splitstore_test.go @@ -207,10 +207,6 @@ func (c *mockChain) revert(count int) { } } -func (c *mockChain) GetGenesis() (*types.BlockHeader, error) { - return c.genesis, nil -} - func (c *mockChain) GetTipsetByHeight(_ context.Context, epoch abi.ChainEpoch, _ *types.TipSet, _ bool) (*types.TipSet, error) { c.Lock() defer c.Unlock()