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

Internal audit of Proof of Stake #3082

Closed
11 tasks
timmoreton opened this issue Mar 11, 2020 · 6 comments
Closed
11 tasks

Internal audit of Proof of Stake #3082

timmoreton opened this issue Mar 11, 2020 · 6 comments

Comments

@timmoreton
Copy link
Contributor

timmoreton commented Mar 11, 2020

Work in pairs, or divide-and-conquer.

Goal is to produce a brief document we can walk-through as a group that covers the following:

  • How does this work?
  • What are the dependencies?
  • What design docs or specs cover this feature? Any gaps? Is the spec wrong, or the implementation?
  • Are there areas missing unit tests?
  • What e2e tests cover this? What could be added?
  • Are inputs validated?
  • Are parameters and constants set sensibly?
  • If we discover a serious issue, how many hrs to a full fix inc data recovery?
  • What is the path for upgrading or changing this feature (e.g governance, backwards-compatible validator upgrade, hard fork, ..)? Does this difficulty match the quality and completeness?
  • How could this be attacked?
  • Are the user docs correct and complete? Links to code?

Share document, then comment on the doc, then let's have the walkthrough meeting before end of Sprint.

@timmoreton timmoreton changed the title Internal audit of Proof of Stake, Epoch rewards Internal audit of Proof of Stake Mar 12, 2020
@H34D
Copy link
Contributor

H34D commented Mar 19, 2020

@H34D
Copy link
Contributor

H34D commented Mar 25, 2020

My ToDo's

  • pos.go
  • validators.sol
  • accounts.sol

@jio-gl
Copy link
Contributor

jio-gl commented Mar 25, 2020

First version of report covering some of the most important modules Node pos.sol, contract Election.sol, contract LockedGold.sol. https://docs.google.com/document/d/1SHaxaeretavJIk-mC96SA83LoKOxG_n2gBpAIgAIT9k/edit?userstoinvite=a%40celo.org&ts=5e7b8c46&actionButton=1#heading=h.yx6vxgosxfso

@jio-gl
Copy link
Contributor

jio-gl commented Mar 25, 2020

Need to double-check if we want to fix High priority items now before mainnet or not. Also confirm if we want to open issues for Medium and Low priority items.

@H34D
Copy link
Contributor

H34D commented Apr 15, 2020

My ToDo's

  • pos.go
  • validators.sol
  • accounts.sol

this is the current status quo

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2022

This issue is stale and will be closed in 30 days without activity

@github-actions github-actions bot added the stale label Jun 4, 2022
@github-actions github-actions bot closed this as completed Jul 4, 2022
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

4 participants