Discrepancy between block v3 claimed rewards and rewards POST endpoint #5016
Open
Description
Description
The latest version of blockdreamer
using the v3 API shows a discrepancy between the rewards claimed by the v3 API and the rewards returned from POST /lighthouse/analysis/block_rewards
. I expected they would be equal in almost all cases (i.e. whenever there are no slashings).
Opening this issue so we don't forget to investigate.
slot 8004800: block from lighthouse-subscribe-none with 75 attestations & purported reward 41559183 gwei
slot 8004799: canonical <=> lighthouse-subscribe-none distance: 7056
slot 8004799: canonical block is likely Lighthouse@7056 (two closest match)
rewards from lighthouse-subscribe-none: 36544081 gwei (att: 35078467 gwei)
most profitable block from ["lighthouse-subscribe-none"]
slot 8004801: block from lighthouse-subscribe-none with 70 attestations & purported reward 41852187 gwei
slot 8004800: canonical <=> lighthouse-subscribe-none distance: 11138
slot 8004800: canonical block is likely Lighthouse@11138 (two closest match)
rewards from lighthouse-subscribe-none: 36796747 gwei (att: 35360563 gwei)
This is a bit hard to read but it says:
- v3 API said the reward for slot 800 was 41559183
- the POST block reward API said the reward for slot 800 was 36796747 (~88.5%)