ethersphere / bee-backlog

zenhub epics repo
0 stars 0 forks source link

batches depth increase is not taken into account during migration #52

Closed istae closed 1 year ago

istae commented 1 year ago

Batches that have been diluted with the previous contract have been migrated with the original batch depth. This causes a discrepancy between the stamp issuer and the batch in batchstore, causing stamp validation to fail when uploading and syncing chunks, specifically at this line

https://github.com/ethersphere/bee/blob/master/pkg/postage/stamp.go#L162

mrekucci commented 1 year ago

Fixed in https://github.com/ethersphere/batch-migration/pull/2