-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
@andresilva @sorpaas Thanks 👍 |
@sorpaas @andresilva Hello may I ask it is possible to implement this contract with block height counts? We have two hardfork exists and we need to change the block reward at the specific height |
"mcip3UbiContract":"0x00efdd5883ec628983e9063c7d969fe268bbf310", | ||
"mcip3DevReward":"0xc249fdd327780000", | ||
"mcip3DevContract":"0x00756cf8159095948496617f5fb17ed95059f536", | ||
"blockRewardContractTransition": "0x124f81", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be great when we have transition height inside contract
@eosclassicteam The contract has access to the block number so the transitions should be implemented inside the contract.
|
@andresilva Thanks, also I would like to suggest changing ECIP-1017 to contract 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested a sync of the musicoin chain
@andresilva I think you need to merge latest CI changes |
…dre/mcip3-block-reward-contract
I added a comment pointing to the source of the block reward contract. I also removed the |
Merge only after #9603.
Implements the Musicoin block reward logic in a contract using
blockRewardContractCode
. The contract and instructions on how to build can be found at https://gist.github.com/andresilva/6f2afaf9486732a0797f4bdeae018ee9. I have successfully synced the musicoin chain using this contract but would appreciate it if someone else could try as well.