-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust the key gathering context methods to suppress exceptions from …
…preHandle, as key gathering should not fail for non-pure checks. * Modified PreHandleContextImpl to suppress exceptions from PreHandle in `allKeysForTransaction' * Modified HandleContextImpl to suppress exceptions from PreHandle in `allKeysForTransaction' * Modified tests to match Note: These changes assume that services preHandle methods set required keys as early as possible, before making any state-based validations. To be fully correct we will need to modify a few service handlers that do not meet that expectation. Signed-off-by: Joseph Sinclair <joseph.sinclair@swirldslabs.com>
- Loading branch information
1 parent
8f1a92d
commit b320165
Showing
4 changed files
with
14 additions
and
11 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