Skip to content

Broken haf instance after upgrade

Because of bad schema used to define hive.key_type_c_int_to_enum (it should go to the hafd schema) upgrade process broken HAF instance due to implicit drop of given function (together with whole hive schema). We also need to create a regression test covering this case

NOTICE:  [MASSIVE] Attempting to process a block range: <1, 10000>
block-explorer-block-processing-1  | NOTICE:  hafbe processed successfully. 0.254 seconds
block-explorer-block-processing-1  | NOTICE:  btracker processed successfully. 0.227 seconds
block-explorer-block-processing-1  | ERROR:  function hafd.get_genesis_keyauths() does not exist
block-explorer-block-processing-1  | LINE 15:                 FROM hafd.get_genesis_keyauths() as g
block-explorer-block-processing-1  |                               ^
block-explorer-block-processing-1  | HINT:  No function matches the given name and argument types. You might need to add explicit type casts.