@@ -13,17 +13,18 @@ import (
13
13
)
14
14
15
15
var (
16
- l1WsEndpoint = os .Getenv ("L1_NODE_WS_ENDPOINT" )
17
- l1HttpEndpoint = os .Getenv ("L1_NODE_HTTP_ENDPOINT" )
18
- l1NodeVersion = "1.0.0"
19
- l2WsEndpoint = os .Getenv ("L2_EXECUTION_ENGINE_WS_ENDPOINT" )
20
- l2HttpEndpoint = os .Getenv ("L2_EXECUTION_ENGINE_HTTP_ENDPOINT" )
21
- l2NodeVersion = "0.1.0"
22
- taikoL1 = os .Getenv ("TAIKO_L1_ADDRESS" )
23
- taikoL2 = os .Getenv ("TAIKO_L2_ADDRESS" )
24
- allowance = "10000000000000000000000000000000000000000000000000"
25
- rpcTimeout = 5 * time .Second
26
- minTierFee = 1024
16
+ l1WsEndpoint = os .Getenv ("L1_NODE_WS_ENDPOINT" )
17
+ l1HttpEndpoint = os .Getenv ("L1_NODE_HTTP_ENDPOINT" )
18
+ l1BeaconEndpoint = os .Getenv ("L1_NODE_HTTP_ENDPOINT" )
19
+ l1NodeVersion = "1.0.0"
20
+ l2WsEndpoint = os .Getenv ("L2_EXECUTION_ENGINE_WS_ENDPOINT" )
21
+ l2HttpEndpoint = os .Getenv ("L2_EXECUTION_ENGINE_HTTP_ENDPOINT" )
22
+ l2NodeVersion = "0.1.0"
23
+ taikoL1 = os .Getenv ("TAIKO_L1_ADDRESS" )
24
+ taikoL2 = os .Getenv ("TAIKO_L2_ADDRESS" )
25
+ allowance = "10000000000000000000000000000000000000000000000000"
26
+ rpcTimeout = 5 * time .Second
27
+ minTierFee = 1024
27
28
)
28
29
29
30
func (s * ProverTestSuite ) TestNewConfigFromCliContextGuardianProver () {
@@ -33,6 +34,7 @@ func (s *ProverTestSuite) TestNewConfigFromCliContextGuardianProver() {
33
34
s .Nil (err )
34
35
s .Equal (l1WsEndpoint , c .L1WsEndpoint )
35
36
s .Equal (l1HttpEndpoint , c .L1HttpEndpoint )
37
+ s .Equal (l1BeaconEndpoint , c .L1BeaconEndpoint )
36
38
s .Equal (l2WsEndpoint , c .L2WsEndpoint )
37
39
s .Equal (l2HttpEndpoint , c .L2HttpEndpoint )
38
40
s .Equal (taikoL1 , c .TaikoL1Address .String ())
@@ -69,6 +71,7 @@ func (s *ProverTestSuite) TestNewConfigFromCliContextGuardianProver() {
69
71
"TestNewConfigFromCliContextGuardianProver" ,
70
72
"--" + flags .L1WSEndpoint .Name , l1WsEndpoint ,
71
73
"--" + flags .L1HTTPEndpoint .Name , l1HttpEndpoint ,
74
+ "--" + flags .L1BeaconEndpoint .Name , l1BeaconEndpoint ,
72
75
"--" + flags .L2WSEndpoint .Name , l2WsEndpoint ,
73
76
"--" + flags .L2HTTPEndpoint .Name , l2HttpEndpoint ,
74
77
"--" + flags .TaikoL1Address .Name , taikoL1 ,
@@ -111,6 +114,7 @@ func (s *ProverTestSuite) SetupApp() *cli.App {
111
114
app .Flags = []cli.Flag {
112
115
& cli.StringFlag {Name : flags .L1WSEndpoint .Name },
113
116
& cli.StringFlag {Name : flags .L1HTTPEndpoint .Name },
117
+ & cli.StringFlag {Name : flags .L1BeaconEndpoint .Name },
114
118
& cli.StringFlag {Name : flags .L2WSEndpoint .Name },
115
119
& cli.StringFlag {Name : flags .L2HTTPEndpoint .Name },
116
120
& cli.StringFlag {Name : flags .TaikoL1Address .Name },
0 commit comments