Commit 4599402
authored
fix(node): IOTA-Names config defaults to chain ID (#9316)
# Description of change
The IOTA-Names config was currently defaulting to Testnet if not
provided, which made Devnet nodes to default to Testnet config. This PR
changes to default to a config determined by the chain identifier.
## How the change has been tested
- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] I have checked that new and existing unit tests pass locally with
my changes
### Release Notes
- [ ] Protocol:
- [X] Nodes (Validators and Full nodes): IOTA-Names config defaults to
the chain identifier instead of Testnet
- [ ] Indexer:
- [ ] JSON-RPC:
- [ ] GraphQL:
- [ ] CLI:
- [ ] Rust SDK:
- [ ] REST API:1 parent 4bd19d4 commit 4599402
File tree
4 files changed
+9
-4
lines changed- crates
- iota-names/src
- iota-node
- src
4 files changed
+9
-4
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
2521 | 2522 | | |
2522 | 2523 | | |
2523 | 2524 | | |
2524 | | - | |
2525 | | - | |
2526 | | - | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
2527 | 2529 | | |
2528 | 2530 | | |
2529 | 2531 | | |
| |||
0 commit comments