e14cfa5576
* Limiting Geth to one transaction per block * Adding TransitionBatchBuilder to build & submit rollup blocks
15 lines
324 B
Go
15 lines
324 B
Go
package rollup
|
|
|
|
type RollupTransitionBatchSubmitter interface {
|
|
submit(block *TransitionBatch) error
|
|
}
|
|
|
|
type TransitionBatchSubmitter struct{}
|
|
|
|
func NewBlockSubmitter() *TransitionBatchSubmitter {
|
|
return &TransitionBatchSubmitter{}
|
|
}
|
|
func (d *TransitionBatchSubmitter) submit(block *TransitionBatch) error {
|
|
return nil
|
|
}
|