2019-12-19 18:46:30 +00:00
|
|
|
package stmgr
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2019-12-20 09:51:13 +00:00
|
|
|
"github.com/ipfs/go-cid"
|
2019-12-19 18:46:30 +00:00
|
|
|
)
|
|
|
|
|
2019-12-19 20:00:59 +00:00
|
|
|
func (sm *StateManager) handleStateForks(ctx context.Context, pstate cid.Cid, height, parentH uint64) (_ cid.Cid, err error) {
|
|
|
|
for i := parentH; i < height; i++ {
|
|
|
|
switch i {
|
|
|
|
}
|
2019-12-19 18:46:30 +00:00
|
|
|
}
|
2019-12-19 20:00:59 +00:00
|
|
|
|
|
|
|
return pstate, nil
|
2019-12-19 18:46:30 +00:00
|
|
|
}
|