iotex-core icon indicating copy to clipboard operation
iotex-core copied to clipboard

Standalone mode cannot grant reward

Open CoderZhi opened this issue 6 years ago • 1 comments

What version of iotex-core are you using (ioctl version)?

0.10.0

What did you do? If possible, provide a recipe for reproducing the error.

reward protocol which queries ProductivityByEpoch cannot return appropriate values in standalone mode

CoderZhi avatar Dec 04 '19 18:12 CoderZhi

Basically, Standalone is one mode to run iotex blockchain with a single node, mostly for testing/demo purposes.

raullenchai avatar Jul 20 '20 00:07 raullenchai

This issue is fixed now. Run blockchain in standalone mode and query the node reward. First check the rolldpos protocol is registered or not, and ProductivityByEpoch is not called yet. The output:

截屏2022-09-20 16 31 14

huof6829 avatar Sep 21 '22 04:09 huof6829