Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guardian now produces rollup based on interval time and available bat… #1536

Merged
merged 9 commits into from
Sep 25, 2023
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
Loading