SimplyStaking/oasis_api_server

Unknown event with oasis-core 21.3.6 (allowance_change)

augchan42 opened this issue · 2 comments

This now periodically comes in as an alert:

PANIC WARNING: oasis-validator-mainnet-1 at height {'height': 6661967, 'tx_hash': '633d933f5d3c29e193028835c35f73b9f1061f489adeec229481294296cbaf4c', 'allowance_change': {'owner': 'oasis1qzx6uw833nmf90h6n4sjjncu4dnwm9uct5u2s0uq', 'beneficiary': 'oasis1qzvlg0grjxwgjj58tx2xvmv26era6t2csqn22pte', 'allowance': '0', 'negative': True, 'amount_change': '1000000000'}} an unknown event 6661967 was found!

According to Jernej this might be appearing now as "Likely allowances were not actually used before as their main use is for deposits into paratimes"

Looks like the issue is there's no branching code in panic_oasis log.py to support the allowance_change event. Will re-open the panic_oasis issue.