Skip to content

Commit

Permalink
update gen
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhen1997 committed Nov 4, 2024
1 parent 0a22215 commit eda4cb5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions genchains.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,6 @@ func genChainsSourceCode() (string, error) {
})
}

for chainSelector, chainDetails := range chain_selectors.TestChainSelectorToChainDetails() {
chains = append(chains, chain{
ChainID: chainDetails.ChainID,
Selector: chainSelector,
Name: chainDetails.Name,
Family: chainDetails.Family,
VarName: toVarName(chainDetails.Name, chainSelector),
})
}

sort.Slice(chains, func(i, j int) bool { return chains[i].VarName < chains[j].VarName })
if err := chainTemplate.ExecuteTemplate(wr, "", chains); err != nil {
return "", err
Expand Down

0 comments on commit eda4cb5

Please sign in to comment.