-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
It looks like @yograterol signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
I don't seem to get this working beyond genesis
Also, please use block reward contract as documented here: https://wiki.parity.io/Block-Reward-Contract EIP-649 was replaced recently, see #9480 Same discussion as in #9529 |
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.
See comment above.
json/src/spec/ethash.rs
Outdated
callisto_treasury_reward: None, | ||
callisto_stake_address: None, | ||
callisto_stake_reward: None, | ||
>>>>>>> Add Callisto Mainnet support |
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.
merge failure ^
It's working well now.
@5chdn removed EIP-649.
We have a Hard fork 1 after Nov 11, so, we need to send another update to Parity with the new reward scheme, can we implement the smart contract there? BTW, |
|
@5chdn in latest stable binary Callisto doesn't work because the version doesn't have this function https://github.com/paritytech/parity-ethereum/pull/9534/files#diff-0a229ee5988e1a97f1bb37dbb2f7028dR317 |
@5chdn ack |
Yes. Just make sure the contract is backward-compatible.
Yes! |
tests failing, please rebase on master. |
You can find an example of using the block reward contract in #9605 to implement the Musicoin block reward logic, there's also a gist there with instructions on how to build the contract. |
It seems you can use pretty much everything from the
|
@andresilva thanks I will implement it so |
27221f4
to
c24278b
Compare
I did the smart contract https://github.com/EthereumCommonwealth/block-reward/blob/master/contracts/CallistoBlockReward.sol I'm testing right now the client with the mainnet blockchain. |
please rebase on master |
@5chdn, It works well. I'm not sure if I should remove the existing code for reward in ethash.rs |
@5chdn I'm not sure what is the bug. Parity 2.1.1
|
There are some chainspec differences between 2.1 and 2.2, namely the difficulty bomb delays (#9480), so for the chainspec in this PR to work in 2.1 the chainspec needs to replace |
@yograterol Instead of trying to use a release build with a config file, would you mind to try to build with current branch? Also can you post the config file you're using (as stated in #9534 (comment))? |
Seems to work with master. Unsure what's causing the failure on beta, Constantinople? |
Just remembered what the issue is, beta still doesn't have #9603. |
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.
works as long as we do not backport it :)
Thanks! |
@5chdn I tested the chain file with the latest beta of parity and works well. 2.1.2 |
@yograterol Yes, #9603 was backported to 2.1.2. 👍 |
Cool |
Continuing #9445
Callisto info
Website: https://callisto.network
Whitepaper: https://whitepaper.callisto.network
Chain
Mainnet -> callisto
The code has little changes to run Callisto with Treasury and Stake funds.
Known issues in master:
In block #200000 get this issue:
14050308711650 vs 14050308711649, just 1 of diff.
All bootnodes run Geth 1.8.11.
Update about this issue
In stable channel the issue is gone. Sync without problem after block #200000
Solved
Removing EIP-649, client is working in version 2.2.0