Skip to content

Commit fa3d0df

Browse files
committed
trivial
1 parent 4ed1f6c commit fa3d0df

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

rollup/tests/integration_tool/block_fetching.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ func fetchAndStoreBlocks(ctx context.Context, from, to uint64) ([]*encoding.Bloc
2020
if err != nil {
2121
return nil, fmt.Errorf("failed to connect l2 geth, endpoint %s, err %v", cfg.Endpoint, err)
2222
}
23+
defer client.Close()
2324

2425
ethCli := ethclient.NewClient(client)
2526
var blocks []*encoding.Block

rollup/tests/integration_tool/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ func newConfig(file string) (*config, error) {
126126
return nil, err
127127
}
128128

129-
cfg := &config{}
130-
err = json.Unmarshal(buf, cfg)
129+
loadCfg := &config{}
130+
err = json.Unmarshal(buf, loadCfg)
131131
if err != nil {
132132
return nil, err
133133
}
134134

135-
return cfg, nil
135+
return loadCfg, nil
136136
}
137137

138138
func action(ctx *cli.Context) error {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
BEGIN_BLOCK?=20239245
22
END_BLOCK?=20239250
3-
SCROLL_FORK_NAME=galileo
3+
SCROLL_FORK_NAME=galileoV2

tests/prover-e2e/sepolia-galileoV2/config.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"validium_mode": false,
2727
"chain_id": 534351,
2828
"l2geth": {
29-
"endpoint": "<serach a public rpc endpoint like alchemy>"
29+
"endpoint": "<serach for a public rpc endpoint like alchemy>"
3030
}
3131
},
3232
"auth": {

0 commit comments

Comments
 (0)