Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Add Callisto Mainnet and Testnet #9283

Closed
wants to merge 56 commits into from

Conversation

yograterol
Copy link
Contributor

Hi, I'm Callisto co-founder, in this PR I added the needed code to run Callisto mainnet and Testnet (Called Galilei) on Parity.

Callisto info

Website: https://callisto.network
Whitepaper: https://whitepaper.callisto.network

Chain

Testnet -> galilei
Mainnet -> callisto

The code has little changes to run Callisto with Treasury and Stake funds.

@parity-cla-bot
Copy link

It looks like @yograterol hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement at the following URL: https://cla.parity.io

Once you've signed, please reply to this thread with [clabot:check] to prove it.

Many thanks,

Parity Technologies CLA Bot

@yograterol
Copy link
Contributor Author

[clabot:check]

@parity-cla-bot
Copy link

It looks like @yograterol signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

sorpaas
sorpaas previously requested changes Aug 5, 2018
Copy link
Collaborator

@sorpaas sorpaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use tabs for all json config indentation (callisto.json and callisto_galilei.json)

@yograterol
Copy link
Contributor Author

@sorpaas done

@sorpaas sorpaas dismissed their stale review August 5, 2018 14:32

obsolete

Jongsic and others added 7 commits August 6, 2018 12:04
* Basic implementation for kip4

* Add KIP-4 config flags

* typo: docs fix

* Fix args offset

* Add tests for create2

* tests: evm

* Update wasm-tests and fix all gas costs

* Update wasm-tests

* Update wasm-tests and fix gas costs
* Improve return data truncate logic

* fix: size -> offset + size
* Completely remove all dapps struct from rpc

* Remove unused pub use

* Remove dapp policy/permission func in ethcore

* Remove all dapps settings from rpc

* Fix rpc tests

* Use both origin and user_agent

* Address grumbles

* Address grumbles

* Fix tests
…nethereum#9275)

* ethcore: add transition flag for transaction permission contract

* ethcore: fix transaction permission contract tests
* deserialize block only once during verification

* ethcore-sync uses Unverified

* ethcore-sync uses Unverified

* fixed build error

* removed Block::is_good

* applied review suggestions

* ethcore-sync deserializes headers and blocks only once
* Add a `fastmap` crate that provides the H256FastMap specialized HashMap

* Use `fastmap` instead of `plain_hasher`

* Update submodules for Reasons™

* Submodule update
@5chdn 5chdn added this to the 2.1 milestone Aug 23, 2018
@5chdn 5chdn added A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. M2-config 📂 Chain specifications and node configurations. labels Aug 23, 2018
@5chdn
Copy link
Contributor

5chdn commented Aug 23, 2018

Could you rebase this on current master?

56 commits and 155 files changed sounds wrong; impossible to review right now.

@5chdn
Copy link
Contributor

5chdn commented Aug 24, 2018

Maybe template it on top of #9413

@5chdn 5chdn added the A3-stale 🍃 Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Aug 25, 2018
@5chdn
Copy link
Contributor

5chdn commented Aug 25, 2018

Did you test it actually? I get a consensus issue.

2018-08-25 18:48:01  Starting Parity/v1.10.9-stable-23a9eef-20180707/x86_64-linux-gnu/rustc1.27.0
2018-08-25 18:48:01  Keys path /home/user/.local/share/io.parity.ethereum/keys/Callisto
2018-08-25 18:48:01  DB path /home/user/.local/share/io.parity.ethereum/chains/Callisto/db/1b2904ad30128c93
2018-08-25 18:48:01  Path to dapps /home/user/.local/share/io.parity.ethereum/dapps
2018-08-25 18:48:01  State DB configuration: archive +Fat +Trace
2018-08-25 18:48:01  Operating mode: active
2018-08-25 18:48:01  Configured for Callisto using Ethash engine
2018-08-25 18:48:02  Public node URL: enode://ac1977d8753fc12dd801e87139c0fd56fed3bac136c8a9cafe4f82e147612f3232266e7f4c74d869722fd26ecefff42496ea7b2225d624d432c123f5f4ed44b8@192.168.2.60:30303
2018-08-25 18:48:04  Stage 5 block verification failed for #1 (2f65…85ff)
Error: Block(InvalidStateRoot(Mismatch { expected: 3c0ad8734c52ae50933b37940da4ad56e4e65e92e063729b35109c80b80f04e6, found: ad1b1dd219e2f8c47ea013e39c16b660a601b8d590ca4603145355984f4a4ad8 }))
2018-08-25 18:48:06  Syncing       #0 8227…d2c4     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed        #0    2/256 peers   8 KiB chain 0 bytes db 0 bytes queue 324 KiB sync  RPC:  0 conn,  0 req/s,   0 µs

@sorpaas
Copy link
Collaborator

sorpaas commented Aug 29, 2018

As #9312 is merged, please rebase this on master and use blockRewardContractCode for custom block reward logic.

@yograterol
Copy link
Contributor Author

@sjeohp ok, I will rebase with master.

@5chdn
Copy link
Contributor

5chdn commented Aug 30, 2018

Please let me know when you are ready.

@5chdn 5chdn closed this Aug 30, 2018
@ghost ghost mentioned this pull request Aug 31, 2018
@ghost ghost deleted the master branch September 1, 2018 15:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A3-stale 🍃 Pull request did not receive any updates in a long time. No review needed at this stage. Close it. A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. M2-config 📂 Chain specifications and node configurations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.