-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix registering issuer did (#1219)
* 🐛 Fix registering issuer did Should be called as the issuer, with `create_transaction_for_endorser=True`. Previously was being called as endorser and automatically written to ledger * 🎨 * ✨ Validate if signature request is applicable for endorsement * ✅ Test coverage for new method * ✅ Full test coverage for remaining methods in endorsement_processor, while I'm here * ✅ Full test coverage for remaining methods in util/endorsement, while I'm here * ✅ Full test coverage for main, while I'm here * 🔧 Remove `asyncio_default_fixture_loop_scope` config (again... raises unknown config warning) * 🎨 Rearrange methods, in particular to await did transaction is endorser before setting as public did * ✅ Fix assertion * 🎨 Make delay an argument for the set_endorser_metadata methods * ✅⚡ Speed up unit tests by overriding sleeps * 🚧 Test fix: `their_public_did` should be qualified * 🎨 * 🐛✅ Wait for both transactions to be endorsed before proceeding. 🎨 Rename method to reflect change * 🎨 Add timeout error description * 🚧 Debug error logs * 🎨 Use bound logger * ✅ Update tests and reduce duration to run faster * ✨ Replace passing of Endorsement model to just pass transaction_id instead. Return the TransactionRecord is successful, instead of just True * ✅ Update tests * ✨ Replace passing of Endorsement model to pass transaction_id instead. Log transaction record upon success * 🎨 * 🔧 Modify subscription fetch args * 🎨 Fix heartbeat value too large * 🔧 Increase default for `WAIT_ISSUER_DID_MAX_ATTEMPTS` * 🔧 Increase endorser batch fetch amount * 🎨 Update log * 🎨 * 🎨 Obfuscate messages_attach from transaction record log * ✅ * 🔧 increase publish-revocations timeout and make configurable (#987) * ✅ increase test sleep duration * 🔧 make publish revocations timeout configurable * 🐛 Endorser should fetch 1 message at a time * 🔧 Add `CRED_DEF_ACK_TIMEOUT` env var to configure cred def creation timeout * 🔧 Increase default max duration for awaiting webhooks * 🎨 Clean up constants * 🎨 Increase default timeout * 🎨 Adjust fetch timeout
- Loading branch information
Showing
24 changed files
with
450 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.