Skip to content

Commit

Permalink
Merge pull request ethereum-optimism#3263 from ethereum-optimism/ss/f…
Browse files Browse the repository at this point in the history
…ix-slice

state-surgery: fix string slice
  • Loading branch information
tynes authored Aug 19, 2022
2 parents 1f9e883 + f6b101a commit 1806e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state-surgery/hardhat/hardhat.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (h *Hardhat) initDeployments() error {
return err
}

deployment.Name = filepath.Base(strings.TrimRight(name, ".json"))
deployment.Name = filepath.Base(name[:len(name)-5])
h.deployments = append(h.deployments, &deployment)
return nil
})
Expand Down

0 comments on commit 1806e5d

Please sign in to comment.