Skip to content

Conversation

@shuplenkov
Copy link

@shuplenkov shuplenkov commented Apr 1, 2022

Issue being fixed or feature implemented

Create withdrawal keys for masternode owners and operators

What was done?

Add payout address and operator payout address keys with purpose “withdrawal” to identities to allow masternodes and operators withdraw L2 rewards (sign withdrawal state transition) using the same keys that they use to receive L1 rewards.

How Has This Been Tested?

With tests

Breaking Changes

Won't work with previous version of Core and dashcore-lib

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shuplenkov shuplenkov changed the base branch from v0.23-dev to identity-update April 4, 2022 15:17
Konstantin Shuplenkov added 6 commits April 29, 2022 18:00
# Conflicts:
#	packages/bench-suite/package.json
#	packages/js-drive/test/integration/identity/masternode/synchronizeMasternodeIdentitiesFactory.spec.js
#	yarn.lock
…ayoutFactory.js

Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
shumkov
shumkov previously approved these changes May 2, 2022
Copy link
Collaborator

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

Good job! 👍

Konstantin Shuplenkov added 11 commits May 2, 2022 17:29
# Conflicts:
#	packages/platform-test-suite/lib/test/createClientWithFundedWallet.js
# Conflicts:
#	.pnp.cjs
#	packages/dapi/package.json
#	packages/dashmate/package.json
#	packages/js-dapi-client/package.json
#	packages/js-dash-sdk/package.json
#	packages/js-dpp/package.json
#	packages/js-drive/package.json
#	packages/platform-test-suite/package.json
#	packages/wallet-lib/package.json
#	yarn.lock
Copy link
Collaborator

@shumkov shumkov left a comment

Choose a reason for hiding this comment

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

Good job! 👍

# Conflicts:
#	.pnp.cjs
#	packages/bench-suite/package.json
#	yarn.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants