Skip to content

Commit

Permalink
fix hardhat script command
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Dec 6, 2024
1 parent cce8dae commit 7b6504c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testnet/launcher/l1grantsequencers/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ func (s *GrantSequencers) Start() error {
}
cmds := []string{
"npx",
"hardhat",
"run",
"--network",
"layer1",
Expand All @@ -60,6 +61,8 @@ func (s *GrantSequencers) Start() error {
}`, s.cfg.l1HTTPURL, s.cfg.privateKey),
}

fmt.Println("Starting grant sequencers hardhat script...")

containerID, err := docker.StartNewContainer(
"grant-sequencers",
s.cfg.dockerImage,
Expand Down Expand Up @@ -119,6 +122,7 @@ func fetchEnclaveIDs(url string) (string, error) {
}
return strings.Join(enclaveIDs, ","), nil
}

func (s *GrantSequencers) PrintLogs(cli *client.Client) {
logsOptions := types.ContainerLogsOptions{
ShowStdout: true,
Expand Down

0 comments on commit 7b6504c

Please sign in to comment.