Skip to content

Commit

Permalink
Guardian now produces rollup based on interval time and available bat…
Browse files Browse the repository at this point in the history
…ches size
  • Loading branch information
otherview committed Sep 19, 2023
1 parent 7e67c78 commit 43f9f40
Show file tree
Hide file tree
Showing 19 changed files with 1,230 additions and 829 deletions.
3 changes: 3 additions & 0 deletions go/common/enclave.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ type Enclave interface {
// or panic otherwise.
CreateRollup(fromSeqNo uint64) (*ExtRollup, SystemError)

// GetBatchesAfterSize returns the size of batches available to create a new rollup from a fromSeqNo batch no
GetBatchesAfterSize(fromSeqNo uint64) (uint64, SystemError)

// DebugTraceTransaction returns the trace of a transaction
DebugTraceTransaction(hash gethcommon.Hash, config *tracers.TraceConfig) (json.RawMessage, SystemError)

Expand Down
Loading

0 comments on commit 43f9f40

Please sign in to comment.