Skip to content

Host: various fixes related to token storage and API

Pavel Dolgov requested to merge 146-attach-fix into master
  • Remove IDs of attached sectors from temporary storage before modifying contract to prevent race and removing contract sectors by temporary storage
  • Check storage resource and presence of requested sectors in AttachSectors under stateMu
  • Remove KeepInTmp flag for now, because we can not implement it correctly yet
  • Fix buggy integration tests: pass correct sector IDs to AttachSectors method
  • Fix checkExpiration function
  • Ignore nonexistent sectors in RemoveSectors

Merge request reports