Periodically getting this error message, perhaps 9 out of 10 times, when calling a view instruction.
TypeError: Cannot read properties of null (reading 'data')
at BankrunProvider.simulate (node_modules/anchor-bankrun/src/index.ts:218:41)
at simulate (node_modules/@coral-xyz/anchor/src/program/namespace/simulate.ts:37:16)
at MethodsBuilder.view [as _viewFn] (node_modules/@coral-xyz/anchor/src/program/namespace/views.ts:24:30)
Periodically getting this error message, perhaps 9 out of 10 times, when calling a view instruction.
Affected lines in
anchor-bankrun
:This happens after I call
context.setAccount()
, couldn't reproduce otherwise.Probably related to #9, #10.