-
Notifications
You must be signed in to change notification settings - Fork 39
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: register system contracts on initChain
#182
Conversation
This pull request introduces 6 alerts when merging fac858a into dd6d9ee - view on LGTM.com new alerts:
|
This pull request introduces 6 alerts when merging 09a458d into dd6d9ee - view on LGTM.com new alerts:
|
This pull request introduces 6 alerts when merging 09ee728 into 0ca47a4 - view on LGTM.com new alerts:
|
packages/wallet-lib/src/types/Identities/methods/getIdentityHDKeyById.js
Outdated
Show resolved
Hide resolved
packages/dashmate/src/listr/tasks/setup/local/initializePlatformTaskFactory.js
Outdated
Show resolved
Hide resolved
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.
Great job, mate! 👍
no longer necessary due to dashpay/platform#192 and dashpay/platform#182
no longer necessary due to dashpay/platform#192 and dashpay/platform#182
* chore: update to 0.22-dev dependencies * feat: switch to devnet * fix: use renamed contract publish method * feat!: add newly required name to contract index * chore: update DPNS contract ID * chore: update DPNS contract id * chore: update dependency * feat: add client without wallet for read only ops * feat!: don't override DPNS contract id no longer necessary due to dashpay/platform#192 and dashpay/platform#182 * feat: add update contract test (disabled) * test: enable contract update test that doesn't work * fix: temporary fix for contract cache issue To be removed after next release of platform 0.22-dev * fix: correct assert check * chore: remove some commented out sections * ci: update node version to 14 and comment out DPNS contract ID * chore: update ip * chore: update dependencies * chore: update some timeouts * fix: use a non-dust value * feat: add test queries * feat: add query test * refactor: remove a describe layer minor description updates also * feat: use seed node instead of IP for client * feat: add query tests for <, <=, >, >= both asc/desc * feat: added both asc/desc test for startsWith, startAt, and startAfter * feat: set default orderby and add limit param with default * refactor: categorize queries * feat: expand cases for startAt * refactor: change test structure * test: fix check for startsWith queries * chore: update params * test: re-enable some tests and fix * chore: update dependencies to dev.14 * refactor: move queries into own folder * chore: update timeouts and return additional info * chore: bump dependencies to dev.16 * ci: enable remaining tests and update params * feat: update to v0.22 dash dependencies * feat: switch back to testnet and disable test not used in v0.22 * feat: switch query test to testnet and update params
Issue being fixed or feature implemented
To simplify system data contract setup and registration and be able to use them right away. Registration is now moved to
initChain
method of drive.What was done?
systemIds
for system data contracts containingcontractId
andownerId
predefinedDPNS_MASTER_PUBLIC_KEY
,DASHPAY_MASTER_PUBLIC_KEY
,FEATURE_FLAGS_MASTER_PUBLIC_KEY
,MASTERNODE_REWARD_SHARES_MASTER_PUBLIC_KEY
env varibales to Drive to be able to set them as master keys for system data contract identitiesHow Has This Been Tested?
Breaking Changes
Checklist:
For repository code-owners and collaborators only