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

research ethermint. #3

Closed
3 tasks done
johannbarbie opened this issue Jul 31, 2020 · 4 comments
Closed
3 tasks done

research ethermint. #3

johannbarbie opened this issue Jul 31, 2020 · 4 comments
Assignees

Comments

@johannbarbie
Copy link
Member

johannbarbie commented Jul 31, 2020

Bounty

Can cosmos modules be integrated? Does ethermint need to be forked?

Scope

  • Evaluate ethermint on integrating other modules
  • Evaluate cosmos modules over solidity contracts for child chain
  • Prepare short demo on cosmos module functionalities and capabilities

Deliverables

  • A short demo on cosmos modules, then a new ticket detailing whether to use solidity contracts or cosmos module
  • Answer on whether to fork ethermint or we can add modules on top of it.
  • Integrate simple cosmos module to ethermint

Funding Circle

Nervos

Roles

bounty gardener: @mwaa / 50 DAI
bounty worker: @mwaa / 260 DAI
bounty reviewer: 40 DAI

Gardener checklist

@mwaa
Copy link
Contributor

mwaa commented Sep 17, 2020

Findings

  1. No need to fork ethermint. Childchain does not introduce any additional functionality not provided by the EVM. Ethermint provides functionality to configure the bootstrap node through genesis file. For milestone one no need to fork
  2. Cosmos module not needed as ethermint exposes rpc calls that can be used outside the confines of a module. Solidity contracts are used for the childchain and don't require a module. Support to use javascript for bridge service to reduce the language set needed to deliver milestone one to solidity, javascript and rust.
  3. Demo not done since we are using rpc calls over http to run the relay service. Any demo for bridge would be preferable on the relay service than for a cosmos module. Successor is Childchain relayer service #26

Discretion of Reviewer to determine if demo is needed as time on bounty exceeded size of ticket or down grade to XS without the demo.

@johannbarbie
Copy link
Member Author

johannbarbie commented Sep 18, 2020

No need to fork ethermint. Childchain does not introduce any additional functionality not provided by the EVM

this is true for milestone 1, given the fact that we have dropped the precompile and use a static validator set.
for milestone 2 new modules will need to be integrated into the go-lang ethermint framework (see definition of Config Module, Anchor Module and others in grant proposal).

Discretion of Reviewer to determine if demo is needed as time on bounty exceeded size of ticket or down grade to XS without the demo.

i suggest to to leave the bounty size, but follow up with a simple component diagram or sequence diagram to explain how relay server and ethermintd will be interacting for relay of lock and unlock receipts across the chains. (instead of cosmos module demo).

@mwaa
Copy link
Contributor

mwaa commented Sep 25, 2020

Relay Lock interaction

@mwaa
Copy link
Contributor

mwaa commented Feb 1, 2021

Done

@mwaa mwaa closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants