mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 03:22:18 +00:00
751f62615d
This request implements an end to end Polygon state sync in the devnet. It does this by deploying smart contracts ont the L2 & L2 chain which follow the polygon fx portal model with security checks removed to simplify the code. The sync events generated are routed through a local mock heimdal - to avoid the consensus process for testing purposes. The commit also includes support code to help the delivery of additional contract based scenratios.
12 lines
206 B
Go
12 lines
206 B
Go
package devnet
|
|
|
|
import context "context"
|
|
|
|
type Service interface {
|
|
Start(context context.Context) error
|
|
Stop()
|
|
|
|
NodeCreated(ctx context.Context, node Node)
|
|
NodeStarted(ctx context.Context, node Node)
|
|
}
|