-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f819a6
commit f0b30c6
Showing
15 changed files
with
556 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
network="staging" | ||
|
||
[node.validator01] | ||
[node.validator02] | ||
[node.validator03] | ||
[node.validator04] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/omni-network/omni/lib/errors" | ||
|
||
e2e "github.com/cometbft/cometbft/test/e2e/pkg" | ||
|
||
"github.com/BurntSushi/toml" | ||
) | ||
|
||
// Manifest wraps e2e.Manifest with additional omni-specific fields. | ||
type Manifest struct { | ||
e2e.Manifest | ||
|
||
Network string `toml:"network"` | ||
} | ||
|
||
// LoadManifest loads a manifest from disk. | ||
func LoadManifest(path string) (Manifest, error) { | ||
manifest := Manifest{} | ||
_, err := toml.DecodeFile(path, &manifest) | ||
if err != nil { | ||
return manifest, errors.Wrap(err, "decode manifest") | ||
} | ||
|
||
return manifest, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.