You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defaults for metrics_address during genesis (MystenLabs#9020)
## Description
MystenLabs#8885 is breaking sui-operations
deploys with the following error:
```
$ sui genesis --from-config /data/generate/target/genesis.yaml --working-dir generate/z -f
validator_config_info[0].genesis_info: missing field `metrics_address` at line 23 column 21
```
Rather than set `metrics_address` and `narwhal_metrics_address` on every
validator's `genesis_info`, it should be reasonable to use a default.
## Test Plan
Tested locally, `sui genesis` succeeds:
```
./target/debug/sui genesis --from-config ../sui-operations/genesis.yaml --working-dir z -f [10:23:10]
2023-03-08T18:40:14.634219Z INFO sui_config::genesis_config: Creating accounts and gas objects...
2023-03-08T18:40:16.330088Z INFO sui::sui_commands: Network genesis completed.
```
### Type of Change (Check all that apply)
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration
### Release notes
0 commit comments