[License] update idb interface
shiqizng opened this issue · comments
shiqizng commented
- update ValidatedBlock definition in types.go to
type ValidatedBlock struct {
Block sdk.Block
Delta models.LedgerStateDelta
}
- update
AddBlock(block *ledgercore.ValidatedBlock) error
toAddBlock(block *types.ValidatedBlock) error
- this will break all the code in idb that's using ledgercore.StateDelta. - update block types to
types.ValidatedBlock
in integration tests