Skip to content

[AJUN-384] Pallet NewOmega #51

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

[AJUN-384] Pallet NewOmega #51

wants to merge 2 commits into from

Conversation

DidacSF
Copy link
Contributor

@DidacSF DidacSF commented May 24, 2024

Description

Implements the logic from the https://github.com/WiktorStarczewski/newomega.polkadot/tree/master/newomega_delegator in Pallet form

Type of changes

  • build: Changes that affect the build system or external dependencies (eg, Cargo, Docker)
  • ci: Changes to CI configuration
  • docs: Changes to documentation only
  • feat: Changes to add a new feature
  • fix: Changes to fix a bug
  • refactor: Changes that do not alter functionality
  • style: Changes to format the code
  • test: Changes to add missing tests or correct existing tests

Checklist

  • Tests for the changes have been added
  • Necessary documentation is added (if appropriate)
  • Formatted with cargo fmt --all
  • Linted with cargo clippy --all-features --all-targets
  • Tested with cargo test --workspace --all-features --all-targets

@DidacSF DidacSF requested a review from darkfriend77 May 24, 2024 08:38
@codecov-commenter
Copy link

codecov-commenter commented May 24, 2024

Codecov Report

Attention: Patch coverage is 80.16304% with 73 lines in your changes are missing coverage. Please review.

Project coverage is 67.00%. Comparing base (cd7d4bd) to head (bad7035).

Files Patch % Lines
pallets/ajuna-new-omega/src/simulator.rs 76.36% 39 Missing ⚠️
pallets/ajuna-new-omega/src/lib.rs 81.06% 32 Missing ⚠️
pallets/ajuna-new-omega/src/random.rs 91.30% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #51      +/-   ##
===========================================
+ Coverage    66.32%   67.00%   +0.67%     
===========================================
  Files           59       63       +4     
  Lines         6832     7200     +368     
===========================================
+ Hits          4531     4824     +293     
- Misses        2301     2376      +75     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

2 participants