spacemeshos / bug-reports

Issue tracking for community-generated bug reports
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

No smeshing rewards after more than 48 hours #2

Open yaelmhoffman opened 3 years ago

yaelmhoffman commented 3 years ago

Users sync successfully, but many days later (well past 48 hours) they have received no rewards.

Logs: https://drive.google.com/drive/u/1/folders/1FIV8un7GgiNe5pD0jVbaEvsJ11Jus6C6

npty commented 3 years ago

I've been running the node for 3 days, still got no reward. I'm running go-spacemesh node by following the guide in this repo https://github.com/npty/blockchain-node-scripts/tree/master/spacemesh

Details are provided below:

Full log: https://gist.github.com/npty/14d73d1a2a6e97bdb912cf694017a418 OS: Debian 10 Buster Disk: 350 GB SSD CPU: 4 Cores Memory: 8 GB Commit hash: 7f75075c (https://github.com/spacemeshos/go-spacemesh/tree/v0.1.28) Cli wallet details: image Systemd service details: image

Hope it can be helpful for debugging 🙌🏻

lrettig commented 3 years ago

@npty thanks for the detailed bug report. I definitely see that you've received at least one reward, it's in the log you posted. Try grepping for the prefix of your rewards address:

> grep 0xDCE78 spacemesh-log.txt
Apr 20 06:35:04 spacemesh-falcon-node spacemesh[22987]: 2021-04-20T06:35:04.377Z        INFO        f8bb0.state                reward applied        {"node_id": "f8bb0dfa9f7384841c8c28fff702e0d4aedafb02641ffb80feb0ac48028a37fa", "account": "0xDCE78", "reward": 1086956521739, "layer_id": 3446}

I suspect this is related to known issues with the API reporting rewards (https://github.com/spacemeshos/go-spacemesh/issues/2228). CC @avive , @sidsankhe

yaelmhoffman commented 3 years ago

@lrettig I got contacted by a user with this issue who noticed that it was only happening with the nodes he restored from his wallet on the last network.

I checked his logs and he was getting rewards--they just weren't showing up in his balance. So this may be a front-end issue.

lrettig commented 3 years ago

Yup, frontend and/or API!

yaelmhoffman commented 3 years ago

I misread the logs I received from that user. He wasn't getting any rewards, after all.