forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[programmable-transactions] No more generic Error parameter (MystenLa…
…bs#9930) ## Description `StorageView` (and by extension `ExecutionContext`) had an error parameter, but it was always supplied with `SuiError`, and introduces a bunch of line noise passing the generic parameter around. Avoid that, by just requiring that implementations of `StorageView` communicate errors through `SuiError`. Main motivation was to avoid propagating this parameter further when introducing the wrapping type that implements `LinkageResolver`. ## Test Plan ``` $ cargo simtest $ env SUI_SKIP_SIMTESTS=1 cargo nextest run ```
- Loading branch information
Showing
6 changed files
with
105 additions
and
116 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
Oops, something went wrong.