qdrvm/kagome

[Bug]: Disputes due to "ValidationResult is invalid"

kamilsa opened this issue · 0 comments

Bug Summary

Error occurs when KAGOME validator operates on westend

Bug Description

It is observed that KAGOME validator produces a lot of disputes with log message "ValidationResult is invalid"

telegram-cloud-photo-size-2-5262608327140040427-y
downloaded-logs-20240724-113053.csv

Steps to Reproduce

Run KAGOME westend validator on tmp/pvf-dump-dir branch with "PVF_DUMP_DIR" env var set to "/tmp/pvf-dump".
PVF_DUMP_DIR will collect runtime code and corresponding POV of when the block validation failed which lead to dispute escalation. Sample POV and code are provided below:

pvf-dump.zip

Effects of the Bug

We will observe disputes escalated by our node here: https://westend.subscan.io/event?page=1&time_dimension=date&module=parasdisputes&event_id=disputeinitiated

Expected Behavior

No dispute should be escalated

System Information

Additional Context

No response