Skip to content

Commit 658f003

Browse files
author
colinlyguo
committed
fix
1 parent 85d3327 commit 658f003

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

coordinator/test/api_test.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,14 @@ func setupCoordinator(t *testing.T, proversPerSession uint8, coordinatorURL stri
104104
proofCollector := cron.NewCollector(context.Background(), db, conf, nil)
105105

106106
router := gin.New()
107-
api.InitController(conf, &params.ChainConfig{EuclidV2Time: new(uint64)}, db, nil)
107+
api.InitController(conf, &params.ChainConfig{
108+
BernoulliBlock: big.NewInt(0),
109+
CurieBlock: big.NewInt(0),
110+
DarwinTime: new(uint64),
111+
DarwinV2Time: new(uint64),
112+
EuclidTime: new(uint64),
113+
EuclidV2Time: new(uint64),
114+
}, db, nil)
108115
route.Route(router, conf, nil)
109116
srv := &http.Server{
110117
Addr: coordinatorURL,

0 commit comments

Comments
 (0)