Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

Ethereum receiver contract#41

Merged
GregTheGreek merged 36 commits intomasterfrom
greg/contracts/intial
Dec 18, 2019
Merged

Ethereum receiver contract#41
GregTheGreek merged 36 commits intomasterfrom
greg/contracts/intial

Conversation

@GregTheGreek
Copy link
Copy Markdown
Member

@GregTheGreek GregTheGreek commented Dec 12, 2019

This pr introduces the basic outline of the deposit contract on the Ethereum side. Somewhat opinionated, happy to discuss this and use it as a starting point

Glossary:

  • Validator Proposal - A vote to add/remove a bridge validator
  • Deposit Proposal - A vote to validate a transfer

Includes:

  • Multi-signatures for bridge validators
  • Create and vote on Deposit Proposals
  • Create and vote on Validator Proposals
  • Add/remove bridge validators based on proposal
  • Validator Proposal tests
  • Deposit Proposal tests
  • Threshold tests

Missing:

  • Handling deposit after a successful vote

Issues:
Partially completes #8

@GregTheGreek GregTheGreek added this to the v0.1.0 - Centrifuge<>Ethereum milestone Dec 12, 2019
@GregTheGreek
Copy link
Copy Markdown
Member Author

@noot Fixed.

@ansermino
Copy link
Copy Markdown
Contributor

Looks good, add tests pls

@GregTheGreek
Copy link
Copy Markdown
Member Author

@noot @ansermino I'm happy with the current state of this.

Please re-review, everything has been changed.

@GregTheGreek GregTheGreek requested a review from noot December 16, 2019 14:22
Copy link
Copy Markdown
Contributor

@noot noot left a comment

Choose a reason for hiding this comment

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

overall good, have some comments to be addressed. overall, let's add some events and more tests for edge cases

@GregTheGreek GregTheGreek requested a review from noot December 17, 2019 22:21
@GregTheGreek GregTheGreek mentioned this pull request Dec 18, 2019
@GregTheGreek
Copy link
Copy Markdown
Member Author

@ansermino @noot g2g

@GregTheGreek GregTheGreek merged commit dead267 into master Dec 18, 2019
@GregTheGreek GregTheGreek deleted the greg/contracts/intial branch February 5, 2020 06:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants