Skip to content

Commit

Permalink
update sequence diagram in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
auryn-macmillan committed Aug 9, 2024
1 parent 2926764 commit 22ad698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ sequenceDiagram
activate Ciphernode Registry
Ciphernode Registry -->> Ciphernodes: Key Setup
activate Ciphernodes
Ciphernodes -->> Ciphernode Registry: Publish shared key
Ciphernodes -->> Ciphernode Registry: Publish shared keys
deactivate Ciphernodes
Ciphernode Registry -->> Enclave: Publish Committee
deactivate Ciphernode Registry
Expand Down
5 changes: 1 addition & 4 deletions packages/evm/contracts/Enclave.sol
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@ contract Enclave is IEnclave, OwnableUpgradeable {
function request(
address filter,
uint32[2] calldata threshold,
// TODO: do we also need a start block/time? Would it be possible to have computations where inputs are
// published before the request is made? This kind of assumes the cypher nodes have already been selected
// and generated a shared secret.
uint256[2] calldata startWindow,
uint256 duration,
IComputationModule computationModule,
Expand Down Expand Up @@ -147,7 +144,7 @@ contract Enclave is IEnclave, OwnableUpgradeable {
ModuleNotEnabled(address(executionModule))
);

// TODO: should IDs be incremental or produced deterministic?
// TODO: should IDs be incremental or produced deterministically?
e3Id = nexte3Id;
nexte3Id++;

Expand Down

0 comments on commit 22ad698

Please sign in to comment.