Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DPA-1413]: fix(solana): set program id in inspection (#228)
Per discussion [here](#209 (comment)), looks like we need to setProgramId on every public api that we have. JIRA: https://smartcontract-it.atlassian.net/browse/DPA-1413 <!-- DON'T DELETE. add your comments above llm generated contents --> --- **Below is a summarization created by an LLM (gpt-4o-2024-08-06). Be mindful of hallucinations and verify accuracy.** ## Why The changes ensure that the program ID is set correctly in the Solana inspector functions. This is crucial for accurate contract address parsing and subsequent operations, enhancing the reliability of the Solana SDK. ## What - **inspector.go** - Add `mcm.SetProgramID(programID)` in `GetOpCount` - Add `mcm.SetProgramID(programID)` in `GetRoot` - Add `mcm.SetProgramID(programID)` in `GetRootMetadata`
- Loading branch information