In this PR I attempt to create the necessary instructions to interact with the compute_budget_program which also resolves #293
[CAVEAT]:
SetComputeUnitPrice and SetComputeUnitPrice work just fine, but, SetLoadedAccountsDataSizeLimit and SetLoadedAccountsDataSizeLimit seem to throw abstract errors despite the payload matching and deserializing to the expected payload. Not quite sure if it is because of a lack of a feature activation.
the 2 latter instructions throw the errors:
Error processing Instruction 0: invalid instruction data and LoadedAccountsDataSizeLimit set for transaction must be greater than 0.
tried digging deep but couldn't find the exact cause of the errors, can someone point me towards some plausible hypothesis for the errors?
In this PR I attempt to create the necessary instructions to interact with the compute_budget_program which also resolves #293
[CAVEAT]:
SetComputeUnitPrice
andSetComputeUnitPrice
work just fine, but,SetLoadedAccountsDataSizeLimit
andSetLoadedAccountsDataSizeLimit
seem to throw abstract errors despite the payload matching and deserializing to the expected payload. Not quite sure if it is because of a lack of a feature activation.the 2 latter instructions throw the errors:
Error processing Instruction 0: invalid instruction data
andLoadedAccountsDataSizeLimit set for transaction must be greater than 0.
tried digging deep but couldn't find the exact cause of the errors, can someone point me towards some plausible hypothesis for the errors?