Skip to content

Commit

Permalink
Sequencer: require L1-permissioned enlave ID (#2233)
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel authored Jan 8, 2025
1 parent 62ecfaa commit c01b591
Show file tree
Hide file tree
Showing 24 changed files with 916 additions and 1,103 deletions.
3 changes: 0 additions & 3 deletions go/common/enclave.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ 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
2 changes: 2 additions & 0 deletions go/common/l1_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ type L1InitializeSecretTx struct {
Attestation EncodedAttestationReport
}

type L1PermissionSeqTx struct{}

// The following types and structs are used for processing the l1 blocks and categorising the transactions to be processed
// by the enclave.

Expand Down
Loading

0 comments on commit c01b591

Please sign in to comment.