-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(zora): update zora SDK and implement getFees #507
Conversation
🦋 Changeset detectedLatest commit: 4a180fc The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Fixes BOOST-4415 |
@@ -469,6 +439,17 @@ describe('simulateMint function', () => { | |||
'None of the specified function selectors are present in the contract bytecode.', | |||
) | |||
}) | |||
|
|||
test('should simulate a 1155 mint when tokenId using timed sale strategy', async () => { |
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.
V2 = timed sale strategy in all cases - right?
expect(fee.actionFee).equals(parseEther('0.29')) | ||
}) | ||
|
||
test('should return the correct project + action fee for a 721 mint', async () => { |
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.
I haven't seen a 721 in a long time from Zora - they arn't running 721s really right? Have you seen a fixed sales strat with a 721?
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.
I have not seen an erc721 using the new sales strategy,
salesConfig
using updated SDK.getFees
function for V2 mintsgetMintIntent
tests. They are failing when not mocked due to the mins no longer being active.Fixes BOOST-4415