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(drive-abci)!: fix wrong fields in dash top level domain #2065

Merged
merged 4 commits into from
Aug 21, 2024

Conversation

QuantumExplorer
Copy link
Member

Issue being fixed or feature implemented

We were experiencing a few issues with an empty string being present as a tree in the domain table, this caused the contract based translation of the drive document queries to path queries to go a bit haywire which led to the result that an item that was expected would not be inserted due to a limit going down by 1 because of an empty tree.

What was done?

Fixed the dash tld.

How Has This Been Tested?

Not very well tested, however this is most likely the issue. I checked a strategy test to make sure things worked well after this change, however since the original issue was very hard to reproduce, we will only really be able to see if the fix works when it goes to Testnet.

Breaking Changes

This fix is a breaking change.

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

ogabrielides
ogabrielides previously approved these changes Aug 21, 2024
@@ -139,6 +136,8 @@ impl<C> Platform<C> {
.into_btree_string_map()
.map_err(|e| Error::Protocol(ProtocolError::ValueError(e)))?;

println!("{:?}", document_stub_properties);
Copy link
Member

Choose a reason for hiding this comment

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

Remove debug output

@QuantumExplorer
Copy link
Member Author

Merging as this had passed before we had to remove the println

@QuantumExplorer QuantumExplorer merged commit 5f4055f into v1.1-dev Aug 21, 2024
9 checks passed
@QuantumExplorer QuantumExplorer deleted the fix/ProofFix branch August 21, 2024 13:10
@thephez thephez added this to the v1.1.0 milestone Sep 18, 2024
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.

4 participants