How does PWR Chain Resolve Inconsistent VIDA Execution Results?
PreviousBuilding a Stateful VIDA - Part 2NextInconsistent VIDA Results from Non-Deterministic Execution?
Last updated
Was this helpful?
Anyone on PWR Chain can run a VIDA to independently verify its results (if the VIDA is public). However, inconsistent results may arise if VIDA instances are running different versions, encountering non-deterministic behavior, or facing unexpected issues.
VIDAs are responsible for implementing their own execution verification mechanisms. This can be achieved through cross-instance state verification or validation by Conduit Nodes, which confirm the results and publish their state root hash on the PWR Chain.
Best Practices to Prevent Inconsistencies:
VIDAs must adhere to deterministic execution rules (e.g., avoiding floating-point operations or local system time).
External data sources (e.g., APIs) must be validated and timestamped by Conduit Nodes before being used in VIDA logic.
Last updated
Was this helpful?
Was this helpful?
