Skip to content

Commit

Permalink
create stub for making validator active and some minor cleanup (#2155)
Browse files Browse the repository at this point in the history
* create stub for making validator active and some minor cleanup

* implement client

* lint and comment
  • Loading branch information
tudor-malene authored Nov 22, 2024
1 parent aa5892a commit d9f35c1
Show file tree
Hide file tree
Showing 10 changed files with 981 additions and 831 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 {
// MakeActive - backup sequencer enclave can become active at the command of the host
MakeActive() SystemError

// SubmitL1Block - Used for the host to submit L1 blocks to the enclave, these may be:
// a. historic block - if the enclave is behind and in the process of catching up with the L1 state
// b. the latest block published by the L1, to which the enclave should respond with a rollup
Expand Down
Loading

0 comments on commit d9f35c1

Please sign in to comment.