Skip to content

Feat: Withdrawals #2101

Closed
Closed
@QuantumExplorer

Description

@QuantumExplorer

Currently in version 1.2 Withdrawals were not enabled. In order to enable withdrawals we need to do the following.

Improvements

  • Create a new protocol version 4.
  • Create a new state transition version of credit withdrawals 1.
  • Write the correct validation as version 1.
  • Review and fix code of credit withdrawals pass 1.
  • Review and fix code of credit withdrawals double check. @shumkov @QuantumExplorer
  • Write unit tests for credit withdrawals.
  • Write strategy tests for credit withdrawals.
  • Set versions of protocol version 4.
  • Write delay of withdrawals till special window.
  • Implement Withdrawal limits.
  • Increase fees for withdrawals to match actual network cost.
  • Write observability mechanisms for withdrawal limits.
  • Write observability mechanisms for withdrawal queue.
  • System to resign expired withdrawals.
  • refactor(drive): remove duplicated withdrawal amount validation #2191
  • feat(sdk): enable withdrawals v1 in JS SDK #2201

Withdrawal contract improvements

Testing

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions