Skip to content

Commit

Permalink
Add causal order effects (MystenLabs#2920)
Browse files Browse the repository at this point in the history
  • Loading branch information
lxfind authored Jul 4, 2022
1 parent 9a57cae commit ba9d2bf
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-core/src/authority/authority_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub struct SuiDataStore<S> {
/// (ie in `certificates`) and the effects its execution has on the authority state. This
/// structure is used to ensure we do not double process a certificate, and that we can return
/// the same response for any call after the first (ie. make certificate processing idempotent).
effects: DBMap<TransactionDigest, TransactionEffectsEnvelope<S>>,
pub(crate) effects: DBMap<TransactionDigest, TransactionEffectsEnvelope<S>>,

/// Hold the lock for shared objects. These locks are written by a single task: upon receiving a valid
/// certified transaction from consensus, the authority assigns a lock to each shared objects of the
Expand Down
Loading

0 comments on commit ba9d2bf

Please sign in to comment.