Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
piux2 committed Feb 14, 2025
1 parent bfe737f commit d98a5d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gno.land/pkg/gnoland/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,16 @@ func LoadGenesisParamsFile(path string) ([]Param, error) {

params := make([]Param, 0)
// By default parameters are group by modules. the module seperater is ":"
separator := ":"

for category, keys := range m {
separator := ":"
// the category prefixed with "vm:" contains arbirary parameters
if strings.HasPrefix(category, "vm:") {
separator = "."
}
for key, kinds := range keys {
for kind, val := range kinds {
fmt.Println(category)
param := Param{
key: category + separator + key,
kind: kind,
Expand Down

0 comments on commit d98a5d2

Please sign in to comment.