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 DID update metadata bug #17412 #17527

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Fix DID update metadata bug #17412 #17527

merged 2 commits into from
Feb 15, 2024

Conversation

geoffwalmsley
Copy link
Contributor

Added a validation step to update_metadata ensuring a flat dict of key value pairs

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@geoffwalmsley geoffwalmsley added the Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog label Feb 9, 2024
@geoffwalmsley geoffwalmsley requested a review from a team as a code owner February 9, 2024 04:07
Copy link

Pull Request Test Coverage Report for Build 7864185774

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 0 of 6 (100.0%) changed or added relevant lines in 2 files are covered.
  • 164 unchanged lines in 32 files lost coverage.
  • Overall coverage decreased (-0.05%) to 90.822%

Files with Coverage Reduction New Missed Lines %
chia/daemon/server.py 1 88.56%
chia/data_layer/dl_wallet_store.py 1 95.74%
chia/data_layer/download_data.py 1 71.04%
chia/full_node/full_node_api.py 1 79.33%
chia/full_node/mempool.py 1 99.66%
chia/introducer/introducer.py 1 78.26%
chia/rpc/wallet_rpc_api.py 1 89.57%
tests/core/mempool/test_mempool_manager.py 1 99.89%
tests/core/util/test_file_keyring_synchronization.py 1 97.1%
tests/core/util/test_lockfile.py 1 91.5%
Totals Coverage Status
Change from base Build 7844390313: -0.05%
Covered Lines: 96769
Relevant Lines: 106506

💛 - Coveralls

Copy link
Contributor

@Quexington Quexington left a comment

Choose a reason for hiding this comment

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

Approving this as a good change, but noting that it doesn't fix the root issue in the linked issue which is that even if the transaction isn't going to succeed, there are still stateful side effects that put the wallet in a bad state. Might be worth looking into that as well.

Copy link
Contributor

@wjblanke wjblanke left a comment

Choose a reason for hiding this comment

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

aok

@Starttoaster Starttoaster merged commit 11455ee into main Feb 15, 2024
268 checks passed
@Starttoaster Starttoaster deleted the gw.did_metadata_issue branch February 15, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants