Instruction
ReadonlyLamportChange
“instruction changed the balance of a read-only account”
The lamport balance of an account passed as read-only was changed.
Common causes
- Marking an account non-writable in the transaction while the program transfers lamports to or from it.
How to fix it
- Mark the account writable in the instruction's account metas.