Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(SwingSet): Improve anachrophobia messages (#10469)
## Description Extracted from an error investigation in #10165. ```diff -anachrophobia strikes ${vatID} on delivery ${deliveryNum} +anachrophobia strikes ${vatID} syscalls for delivery ${deliveryNum} ``` ```diff -anachrophobia in ${vatID}: {extra,wrong} syscall +anachrophobia in ${vatID} delivery ${deliveryNum}: {extra,wrong} syscall at index ${idx} ``` ```diff -anachrophobia in ${vatID}: missing syscalls +anachrophobia in missing ${missing} syscall(s) at index ${syscallsMade.length} ``` Also capitalizes `WRONG`/`MISSING`/`EXTRA` after `sc[${idx}]:`, for increased visual distinction. ### Security Considerations None known; any consumer aware of vatIDs should also be allowed to know delivery numbers and constituent syscalls. ### Scaling Considerations n/a ### Documentation Considerations n/a ### Testing Considerations n/a ### Upgrade Considerations None known; this kernel output should be independent of consensus (and will be consistent across nodes using the same kernel code anyway).
- Loading branch information