-
Notifications
You must be signed in to change notification settings - Fork 525
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
Add Bubblegum and Candy-wrapper #671
Conversation
- update package.json and tsconfig.json - cleanup bubblegum test file and imports - enable anchor test --skip-lint to run after anchor workspace members are built
0552eb7
to
6c6410e
Compare
- Also adding license files to js directories. - Also cleaning up extra bubblegum types file.
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.
Aside from the nits you can fix LGTM
They currently don't all work because the ts tests have issues.
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.
Few nit + informational comments, but overall LGTM - nice work!
@@ -6,7 +6,8 @@ cluster = "localnet" | |||
wallet = "~/.config/solana/id.json" | |||
|
|||
[programs.localnet] | |||
mpl_auction_house="hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk" | |||
auction_house="hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk" |
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.
Informational note on why this was changed: when trying to anchor test --skip-lint
, I got errors related to not being able to find IDL for mpl_auction_house
. I realized this is because the IDL generated and stored in the MPL root target/idl/
directory was called auction_house.json
and had name
field auction_house
.
So tldr; it looks like anchor was expecting mpl_auction_house
(based on this naming) but found auction_house
. But, I guess this doesn't matter if we aren't using Anchor workspaces.
🔥 🔥 🔥 |
Update
anchor-test --skip-lint
runs bubblegum-test.ts (but fails) at: danenbm/bubblegum-anchor-test-runs-failsyarn check:publish-ready
, etc. since we aren't publishing this yet.api:gen
is working which is what is needed now for CI tests.Overall summary
Testing
anchor build --skip-lint
works and builds bubblegum.so and candy-wrapper.so.yarn api:gen
works frombubblegum/js
directory and buildssame as existing IDL from Candyland repo (except adds a few metadata fields).
Previous PR
Detailed Notes
@danenbm
https://github.com/jarry-xiao/candyland
repo.programs/bubblegum/
tobubblegum/program
.contracts/sdk/bubblegum/
tobubblegum/js
.contracts/tests/
tobubblegum/js/test
.programs/candy-wrapper
tocandy-wrapper/program
.@jshiohaha
@danenbm