Skip to content

Commit 7c7fa04

Browse files
committed
fix(config): disable options rejected by bee in light and ultra-light profiles
Light and ultra-light profiles inherit storage-incentives-enable: true (and, for ultra-light, chequebook-enable: true) from their full-node base profile. Bee rejects storage incentives outside full mode and chequebook without swap, so the light nodes in the local-dns cluster never became ready and the bee Beekeeper CI job failed at cluster setup. Set the inherited options to false where the mode does not support them.
1 parent 3410187 commit 7c7fa04

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

config/light-node.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ bee-configs:
33
light-node:
44
_inherit: default
55
node-mode: light
6+
storage-incentives-enable: false # inherited true is rejected in light mode
67

78
# node groups for light nodes
89
node-groups:

config/local.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ bee-configs:
205205
p2p-wss-enable: true
206206
blockchain-rpc-endpoint: # ultralight nodes don't connect to the blockchain
207207
swap-enable: false
208+
chequebook-enable: false # inherited true is rejected without swap
209+
storage-incentives-enable: false # inherited true is rejected in ultra-light mode
208210
bootnode-local:
209211
_inherit: "bee-local"
210212
bootnode-mode: true
@@ -216,6 +218,7 @@ bee-configs:
216218
bee-local-light:
217219
_inherit: "bee-local"
218220
node-mode: light
221+
storage-incentives-enable: false # inherited true is rejected in light mode
219222
bee-local-gc:
220223
_inherit: "bee-local"
221224
cache-capacity: 10

0 commit comments

Comments
 (0)