Closed ngundotra closed 9 months ago
I am attempting to simulate a transaction against the Bank, but the result seems to be empty.
let simulationResult = await GLOBAL_CONTEXT.banksClient.simulateTransaction( transaction "confirmed" ); console.log("simulation result:", JSON.stringify(simulationResult));
The code above gives:
simulation result: {"inner":{}}
I suspect lines here may be hiding error messages: https://github.com/kevinheavey/solana-bankrun/blob/97803fa5961bb8aaeef130da33499649a1b1d2c6/src/lib.rs#L398-L412
Would appreciate help debugging this. Much appreciated 🙏
I did not realize fields on simulationResult could only be accessed with getters. Nothing is wrong
simulationResult
I am attempting to simulate a transaction against the Bank, but the result seems to be empty.
The code above gives:
I suspect lines here may be hiding error messages: https://github.com/kevinheavey/solana-bankrun/blob/97803fa5961bb8aaeef130da33499649a1b1d2c6/src/lib.rs#L398-L412
Would appreciate help debugging this. Much appreciated 🙏