-
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
[@kadena/client-utils] Implement Marmalade functions (Feat) #1484
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
4 Ignored Deployments
|
🦋 Changeset detectedLatest commit: 26ec4e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 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 |
…ent-utils/marmalade-functions
…#2055) * chore: added more maramalade util functions * chore: align create-token with other functions * fix: linting issues * feat: added sale functions and tests; chore: updated and cleaned read functions * chore: linting * chore: added script to setup test environment before executing integration tests * chore: lint setup marmalade test env file * chore: gnerate marmalade-v2.policy-manager types * chore: check if conventional and dutch auction have been whitelisted * chore: remove whitelisting sale from test setup script * chore: wait for block time helper function * chore: fix lint issue * chore: enforce failure uri guard if not updatable when using guard policy * chore: rename config to updatableURI * chore: remove guard on local calls * feat: added collection-policy functions * chore: adjust the auction end date in tests * chore: cleanup and stability improvements * fix: more time * chore: simplify local call functions * chore: linting
@@ -3,6 +3,6 @@ import { defineConfig } from 'vitest/config'; | |||
export default defineConfig({ | |||
test: { | |||
include: ['src/**/*.int.test.ts'], | |||
testTimeout: 60000, | |||
testTimeout: 150000, |
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.
Should be able to reduce this, due to instant mining sandbox
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.
can you please split the config for the functions need more times
policies: () => | ||
policies.length > 0 ? `[${policies.join(' ')}]` : '[]', | ||
}, |
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 this work when tested with policies?
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.
Yeah, I have it also covered in a test here https://github.com/kadena-community/kadena.js/pull/1484/files#diff-c7b784837590ebd192b560bcca5c3bcd40cf90e640d56e4a6c166bf5fec1ae38R109
Note: this PR has a dependency regarding the integration testing. It requires the container to have marmalade deployed. This feature will be developed and once it is. However, this PR can already be tested locally