-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If config-path not pass then defualt configs is used according to set network. in case of VM cli the default privnet config and InMemory db is used. Close #3450 Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
- Loading branch information
1 parent
d9d9d00
commit edbb172
Showing
2 changed files
with
62 additions
and
1 deletion.
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,19 @@ | ||
package config | ||
|
||
import ( | ||
_ "embed" | ||
) | ||
|
||
// Embedding configuration files | ||
// | ||
//go:embed protocol.mainnet.yml | ||
var MainnetConfig []byte | ||
|
||
//go:embed protocol.testnet.yml | ||
var TestnetConfig []byte | ||
|
||
//go:embed protocol.unit_testnet.yml | ||
var UnitTestnetConfig []byte | ||
|
||
//go:embed protocol.privnet.yml | ||
var PrivnetConfig []byte |