Anchor
RequireEqViolated
“A require_eq expression was violated”
A require_eq! check failed: two values that must be equal were not.
Common causes
- Mismatched amounts, counters or indexes between client and on-chain state.
How to fix it
- Read the program logs just above the error line; Anchor prints the left and right values.