Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet launched - Monetary Policy rewards #25

Merged
merged 10 commits into from
May 25, 2019
Merged

Conversation

yograterol
Copy link

@yograterol yograterol commented May 2, 2019

Implementation of Monetary Policy -> EthereumCommonwealth/Roadmap#56

This update will be valid until 2021 (Block 8,750,000), before reach block 8,751,000 we must send a new update with the next steps of the MP.

Activation block: 2,900,000

Changes:

  • Move Callisto rewards and consensus data to a new file facilitating the client upgrade from upstream (Ethereum go-ethereum)
  • Add calcBigNumber to put the exact reward readable for everyone.
  • Add CLOMPBlock to ChainConfig
  • Add IsCLOMP to check MP activation.
  • Refactor callistoAccumulateRewards
  • Add getMonetaryPolicyStep to check which is the current MP step
  • Add Constantinople in testnet and mainnet
  • Defuse difficulty bomb

@yograterol yograterol requested a review from yuriy77k May 2, 2019 04:50
@yograterol yograterol self-assigned this May 2, 2019
@yograterol yograterol mentioned this pull request May 2, 2019
6 tasks
@yuriy77k
Copy link

yuriy77k commented May 2, 2019

I don't see any problem in those commits. It can be applied.

@yograterol yograterol changed the title WIP - Monetary Policy rewards Testing - Monetary Policy rewards May 20, 2019
@yograterol yograterol changed the title Testing - Monetary Policy rewards Testnet launched - Monetary Policy rewards May 22, 2019
@yograterol yograterol force-pushed the CLOMonetaryPolicy branch from 5fdc6e8 to c8e629e Compare May 22, 2019 22:11
@yograterol yograterol merged commit 43f34b2 into master May 25, 2019
yograterol pushed a commit that referenced this pull request Oct 14, 2022
…um#22964)

* internal/ethapi: add baseFee to RPCMarshalHeader

* internal/ethapi: add FeeCap, Tip and correct GasPrice to EIP-1559 RPCTransaction results

* core,eth,les,internal: add support for tip estimation in gas price oracle

* internal/ethapi,eth/gasprice: don't suggest tip larger than fee cap

* core/types,internal: use correct eip1559 terminology for json marshalling

* eth, internal/ethapi: fix rebase problems

* internal/ethapi: fix rpc name of basefee

* internal/ethapi: address review concerns

* core, eth, internal, les: simplify gasprice oracle (#25)

* core, eth, internal, les: simplify gasprice oracle

* eth/gasprice: fix typo

* internal/ethapi: minor tweak in tx args

* internal/ethapi: calculate basefee for pending block

* internal/ethapi: fix panic

* internal/ethapi, eth/tracers: simplify txargs ToMessage

* internal/ethapi: remove unused param

* core, eth, internal: fix regressions wrt effective gas price in the evm

* eth/gasprice: drop weird debug println

* internal/jsre/deps: hack in 1559 gas conversions into embedded web3

* internal/jsre/deps: hack basFee to decimal conversion

* internal/ethapi: init feecap and tipcap for legacy txs too

* eth, graphql, internal, les: fix gas price suggestion on all combos

* internal/jsre/deps: handle decimal tipcap and feecap

* eth, internal: minor review fixes

* graphql, internal: export max fee cap RPC endpoint

* internal/ethapi: fix crash in transaction_args

* internal/ethapi: minor refactor to make the code safer

Co-authored-by: Ryan Schneider <[email protected]>
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: gary rong <[email protected]>
Co-authored-by: Péter Szilágyi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants