-
Notifications
You must be signed in to change notification settings - Fork 45
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
MET-131: Return leaf schema from mint #88
Conversation
d81ea07
to
9e9bcf2
Compare
9e9bcf2
to
eec36c8
Compare
eec36c8
to
0bf2f45
Compare
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.
LGTM! Approved withe one trivial spelling comment
@@ -117,4 +121,59 @@ mod mint { | |||
|
|||
tree_manager.assert_root(&mut context).await; | |||
} | |||
|
|||
#[tokio::test] | |||
async fn recieve_leaf_schema() { |
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.
Nice! Thank you for testing it!
clients/js/test/mintV1.test.ts
Outdated
@@ -101,3 +103,39 @@ test('it cannot mint an NFT from a Bubblegum tree because token standard is wron | |||
// Then we expect a program error because metadata's token standard is FungibleAsset which is wrong. | |||
await t.throwsAsync(promise, { name: 'InvalidTokenStandard' }); | |||
}); | |||
|
|||
test('it can get LeafScheme from mint without CPI', async (t) => { |
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.
Nit: schema not scheme?
0bf2f45
to
5607942
Compare
No description provided.