energywebfoundation / ewc-system-tests

System level tests for EnergyWebChain
http://energyweb.org/
GNU General Public License v3.0
1 stars 2 forks source link

NodeControl: Validator requires funds to update #34

Closed JonathanWfels closed 5 years ago

JonathanWfels commented 5 years ago

We tried to update a Validator that was not part of the Validator Set. We got this:


nodecontrol_1  | Checking On-Chain for updates.
nodecontrol_1  | [CONTRACT-WRAPPER] Found 0 update events. Checking if we got addressed.
nodecontrol_1  | No updates found.
nodecontrol_1  | Checking On-Chain for updates.
nodecontrol_1  | [CONTRACT-WRAPPER] Found 0 update events. Checking if we got addressed.
nodecontrol_1  | No updates found.
nodecontrol_1  | Checking On-Chain for updates.
nodecontrol_1  | [CONTRACT-WRAPPER] Found 1 update events. Checking if we got addressed.
nodecontrol_1  | Found update.
nodecontrol_1  | Apply changes to compose stack...
nodecontrol_1  | The PWD variable is not set. Defaulting to a blank string.
nodecontrol_1  | Restarting docker-stack_parity_1 ...
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Done.
nodecontrol_1  | Waiting 30000 ms for updates to settle.
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Confirming update on chain.
nodecontrol_1  | Unable to check for new Update - will try again : One or more errors occurred. (Insufficient funds. The account you tried to send transaction from does not have enough funds. Required 500000 and got: 0.)
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Update watch is locked by running update
nodecontrol_1  | Update watch is locked by running update```
elasticroentgen commented 5 years ago

a validator account might just need to keep a little bit of the received block reward to pay for those things. tx are send from the validator accounts address

danzipie commented 5 years ago

@JonathanWfels I suggest that we include a step in your procedures ("NetOps checks that the target node has balance").

I also open an enhancement request for the dApp: https://github.com/energywebfoundation/ewc-governance-dapp/issues/14 that will help the operators.