-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds cpi assignation to wns asset and also updates to anchor v0.30.1 #109
base: main
Are you sure you want to change the base?
Adds cpi assignation to wns asset and also updates to anchor v0.30.1 #109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have another branch with just the 0.30.1 upgrade. Lets get that in and then this.
# cp ./target/idl/*.json ./idls | ||
|
||
anchor build | ||
cp ./target/idl/*.json ./idls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does anchor build accept outputting ids to another directory besides target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If not we have a scripts directory, your wrap the call to the script in package.json script, document in the contributing guid.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, $ anchor build -i ./idls
does it
declare_program!(wen_transfer_guard);