casper-ecosystem / cep18

Implementation of ERC20 token for the CasperLabs platform.
https://casper.network/docs/dapp-dev-guide
Apache License 2.0
26 stars 47 forks source link

Updating Information on Gas Refunds #128

Closed ACStoneCL closed 4 months ago

ACStoneCL commented 4 months ago

This PR removes newly erroneous information about Casper not giving refunds for unspent CSPR.

As of the Peregrine update, this note is no longer relevant

cspramit commented 4 months ago

Note from 1.5.8 release to extract information from - "An enhancement in Peregrine is where a refund system has been activated in the Casper protocol, meaning if a contract overpays, then 99% of the unspent fund will be refunded. This is achieved by changing the refund ratio in the configuration from 0% to 99%. This means that whatever was the payment amount made, minus whatever was the actual gas amount, which is the unspent amount, 99% of that will now be refunded and shown in the execution effects. "