tezos-reward-distributor-organization / tezos-reward-distributor

Tezos Reward Distributor (TRD): A reward distribution software for tezos bakers.
https://tezos-reward-distributor-organization.github.io/tezos-reward-distributor/
GNU General Public License v3.0
87 stars 51 forks source link

fix mainnet constants for mumbai and 2 wrong ghostnet constants #663

Closed nicolasochem closed 1 year ago

nicolasochem commented 1 year ago

These constants are necessary to calculate estimated rewards. To merge into @jdsika 's PR.

vkresch commented 1 year ago

Thanks! Any source were we can double check these constants?

nicolasochem commented 1 year ago

Thanks! Any source were we can double check these constants?

Mumbai source code: https://gitlab.com/tezos/tezos/-/blob/master/src/proto_016_PtMumbai/lib_parameters/default_parameters.ml#L117-143

Or tomorrow you can simply query chains/main/blocks/head/context/constants on RPC after mumbai activates.