go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

Ability to change/disable network reward rate on sandnet

Open nullun opened this issue 2 years ago • 2 comments

Since approximately May 14th Mainnet has had the reward rate set to 0. I'm not aware of any intention of changing it in the future, but right now the default developer sandnet network in sandbox continues to give rewards. This can make testing in sandbox different to running on mainnet, as smart signatures and smart contracts will continue to have their Algo increase over time.

Is there an easy way we can change (to 0) the reward rate of a sandnet network?

nullun avatar Jun 06 '22 12:06 nullun

I attempted to setup a new private network and in the genesis.json I set the RewardsPool wallet to 0 Algo before starting the network, but when I start it I get the following error: overflowed subtracting rewards for block 1

nullun avatar Aug 13 '22 17:08 nullun

This feature would be greatly appreciated. It makes it harder to write automated tests when the rewards can be non-determinsic

gidonkatten avatar Sep 18 '22 10:09 gidonkatten

just a reminder that although the rewards program has ended, if anyone ever were to send money to the rewards pool then reward payouts would start again, following the protocol. So, Smart Contracts should be prepared for receiving sums like that (or from any other source randomly sending them money)

algoanne avatar Oct 20 '22 21:10 algoanne

are the senders to that reward address limited to a few accounts?

pao-beep avatar Oct 24 '22 02:10 pao-beep

@pao-beep no, I don't believe so

algoanne avatar Oct 24 '22 14:10 algoanne