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

Code review #81

Open
wants to merge 17 commits into
base: dev
Choose a base branch
from
Open

Code review #81

wants to merge 17 commits into from

Conversation

cuteolaf
Copy link

@cuteolaf cuteolaf commented Nov 17, 2023

Code review

My first contribution to this project. (A simple code review to understand the project.)


Practical tips for PR review & merge:

  • All GitHub Actions report PASS
  • Newly added code/functions have unit tests
    • Coverage tools report all newly added lines as covered
    • The positive scenario is exercised
    • Negative scenarios are exercised, e.g. assert on all possible errors
    • Assert on events triggered if applicable
    • Assert on changes made to storage if applicable
  • Modified behavior/functions - try to make sure above test items are covered
  • Integration tests are added if applicable/needed

@cuteolaf
Copy link
Author

@atodorov @nathanwhit

Copy link
Contributor

@atodorov atodorov left a comment

Choose a reason for hiding this comment

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

Some changes requested. Also needs rebase onto latest dev b/c of some changes to README (should not conflict though).

.mega-linter.yml Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
runtime/src/lib.rs Outdated Show resolved Hide resolved
runtime/src/lib.rs Outdated Show resolved Hide resolved
@cuteolaf
Copy link
Author

thanks for your review, @atodorov

Copy link
Contributor

@atodorov atodorov left a comment

Choose a reason for hiding this comment

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

@cuteolaf can you rebase instead of merge and maybe squash some commits together for better readability.

Will requite another version bump afterwards.

Still needs decisionwhat the maximum number of authorities should be.

runtime/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@atodorov atodorov left a comment

Choose a reason for hiding this comment

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

See failure in https://github.com/gluwa/creditcoin3/actions/runs/7167525956/job/19514697597?pr=81.

Also can you 'rebase' instead of 'merge' ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants