Skip to content

Commit

Permalink
fix(codegen): Order by Name (ethereum-optimism#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell authored Aug 1, 2024
1 parent 632c897 commit 4810f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superchain/internal/codegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func main() {
})
}
sort.Slice(superchains, func(i, j int) bool {
return superchains[i].Config.L1.ChainID < superchains[j].Config.L1.ChainID
return superchains[i].Config.Name < superchains[j].Config.Name
})
if len(superchains) != 0 {
var buf bytes.Buffer
Expand Down

0 comments on commit 4810f97

Please sign in to comment.