Closed acheroncrypto closed 1 month ago
@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.
A member of the Team first needs to authorize it.
Thank you for this PR! This is a blocker for us, as it means we can't use declare_program!
in our codebase even though we'd love to. Do you plan to release this patch as a minor release? Or will we have to wait for the next major release for this?
We'll most likely make a patch release, but there are a couple more fixes/improvements queued up that I'd like to get in before then.
Problem
Using the generated IDL from the following instruction
with
declare_program!
results in a compilation error due toMyType
not being imported in the generatedcpi
module.Summary of changes
Globally import
accounts
,events
andtypes
modules in necessary places to not run into compilation errors which are difficult to debug.