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

fix!: allowed to make required fields optional #1919

Merged
merged 7 commits into from
Jul 10, 2024

Conversation

shumkov
Copy link
Member

@shumkov shumkov commented Jul 2, 2024

Issue being fixed or feature implemented

Data Contract Update allows to make fields optional #1885 which is a good thing but it's not supported currently by DPP and
Drive.

What was done?

  • Disable (I hope temporarily) making required fields optional.

How Has This Been Tested?

With tests

Breaking Changes

  • Removal from required is not allowed anymore. Consensus rules are changed so previous blockchain data might not be valid.

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 added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shumkov shumkov requested a review from QuantumExplorer as a code owner July 2, 2024 07:12
shumkov added 4 commits July 2, 2024 15:26
Temporary disabled due to flakiness. These tests aren't important for now, since we are going to release v1.0.0 with withdrawals disabled.
QuantumExplorer
QuantumExplorer previously approved these changes Jul 9, 2024
shumkov added 2 commits July 10, 2024 00:21
# Conflicts:
#	Cargo.lock
#	packages/platform-test-suite/test/e2e/withdrawals.spec.js
@shumkov shumkov merged commit c665a70 into v1.0-dev Jul 10, 2024
75 checks passed
@shumkov shumkov deleted the fix/allowed-to-make-optional branch July 10, 2024 05:56
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.

2 participants