requires theese changes: !289 (merged)
repairs order of hardfork_operation and wrapping around of uint16_t
uint16_t
@bwrona @Trela