Skip to content

Commit

Permalink
Create AddSequencer method (#2157)
Browse files Browse the repository at this point in the history
* create `AddSequencer` method

* update attestation storage

* fix

* fix
  • Loading branch information
tudor-malene authored Nov 25, 2024
1 parent d9f35c1 commit 9d5e27e
Show file tree
Hide file tree
Showing 21 changed files with 1,029 additions and 709 deletions.
3 changes: 3 additions & 0 deletions go/common/enclave.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ type EnclaveInit interface {

// EnclaveAdmin provides administrative functions for managing an enclave.
type EnclaveAdmin interface {
// AddSequencer - called by the host when a new sequencer is added to the management contract
AddSequencer(id EnclaveID, proof types.Receipt) SystemError

// MakeActive - backup sequencer enclave can become active at the command of the host
MakeActive() SystemError

Expand Down
Loading

0 comments on commit 9d5e27e

Please sign in to comment.