Skip to content
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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kevinrodriguez-io
Copy link
Contributor

@kevinrodriguez-io kevinrodriguez-io commented Jun 26, 2024

  • Updated anchor version
  • Generated sdk via declare_program!(wen_transfer_guard);
  • Properly checking account infos

Copy link
Contributor

@kespinola kespinola left a 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
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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

@balmy-gazebo balmy-gazebo marked this pull request as draft July 19, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants