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

[@kadena/client-utils] Implement Marmalade functions (Feat) #1484

Merged
merged 43 commits into from
May 29, 2024

Conversation

nil-amrutlal
Copy link
Contributor

@nil-amrutlal nil-amrutlal commented Jan 16, 2024

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


Copy link

vercel bot commented Jan 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
proof-of-us ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 9:28am
tools ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2024 9:28am
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
alpha-docs ⬜️ Ignored (Inspect) Visit Preview May 27, 2024 9:28am
docs-storybook ⬜️ Ignored (Inspect) Visit Preview May 27, 2024 9:28am
marmalade-marketplace ⬜️ Ignored (Inspect) Visit Preview May 27, 2024 9:28am
react-ui ⬜️ Ignored (Inspect) Visit Preview May 27, 2024 9:28am

Copy link

changeset-bot bot commented Jan 16, 2024

🦋 Changeset detected

Latest commit: 26ec4e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@kadena/client-utils Patch
@kadena/dev-wallet Patch
@kadena/graph Patch
@kadena/client-examples Patch
@kadena-dev/integration-tests Patch
@kadena/kadena-cli Patch
@kadena/dev-wallet-desktop Patch
@kadena/explorer Patch
@kadena/graph-client Patch
@kadena/proof-of-us Patch

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

…#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,
Copy link
Contributor

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

Copy link
Collaborator

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

Comment on lines +51 to +53
policies: () =>
policies.length > 0 ? `[${policies.join(' ')}]` : '[]',
},
Copy link
Contributor Author

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wooglie wooglie merged commit 381a766 into main May 29, 2024
15 checks passed
@wooglie wooglie deleted the feat/client-utils/marmalade-functions branch May 29, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants