mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
Signed-off-by: noelwei <fan@scroll.io> Co-authored-by: Ömer Faruk Irmak <omerfirmak@gmail.com> Co-authored-by: noelwei <fan@scroll.io> Co-authored-by: colin <102356659+colinlyguo@users.noreply.github.com> Co-authored-by: Rohit Narurkar <rohit.narurkar@proton.me> Co-authored-by: colinlyguo <colinlyguo@scroll.io> Co-authored-by: Péter Garamvölgyi <peter@scroll.io> Co-authored-by: Morty <70688412+yiweichi@users.noreply.github.com> Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com> Co-authored-by: jonastheis <jonastheis@users.noreply.github.com> Co-authored-by: georgehao <georgehao@users.noreply.github.com> Co-authored-by: kunxian xia <xiakunxian130@gmail.com> Co-authored-by: Velaciela <git.rover@outlook.com> Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com> Co-authored-by: Morty <yiweichi1@gmail.com>
15 lines
387 B
Go
15 lines
387 B
Go
package config
|
|
|
|
// L1Config loads l1eth configuration items.
|
|
type L1Config struct {
|
|
// l1 eth node url.
|
|
Endpoint string `json:"endpoint"`
|
|
// The start height to sync event from layer 1
|
|
StartHeight uint64 `json:"start_height"`
|
|
// The relayer config
|
|
RelayerConfig *RelayerConfig `json:"relayer_config"`
|
|
|
|
// beacon node url
|
|
BeaconNodeEndpoint string `json:"beacon_node_endpoint"`
|
|
}
|