Skip to content

Commit

Permalink
Update shared/src/ledger/vp_env.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Aug 11, 2022
1 parent 42bb90f commit 084a1e7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shared/src/ledger/vp_env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ pub trait VpEnv {
/// Storage read prefix iterator
type PrefixIter;

/// Host functions possible error.
///
/// In a native VP this may be out-of-gas error, however, because WASM VP is
/// sandboxed and gas accounting is injected by and handled in the host,
/// in WASM VP this error is [`std::convert::Infallible`].
/// Host functions possible errors, extensible with custom user errors.
type Error;

/// Storage read prior state Borsh encoded value (before tx execution). It
Expand Down

0 comments on commit 084a1e7

Please sign in to comment.