Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

[ABO-197] Add orml-vesting to the RelayChain block for Ajuna Network #361

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

DidacSF
Copy link
Contributor

@DidacSF DidacSF commented Oct 26, 2023

Description

This PR adjusts the BlockNumberProvider for the Ajuna runtime so that it uses the relay chain block number instead of the parachain block number for the vesting calculations.

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 October 26, 2023 08:22
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

Attention: 53 lines in your changes are missing coverage. Please review.

Comparison is base (210f36d) 74.97% compared to head (56496c5) 75.76%.
Report is 26 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #361      +/-   ##
===========================================
+ Coverage    74.97%   75.76%   +0.79%     
===========================================
  Files           33       33              
  Lines         3421     3508      +87     
===========================================
+ Hits          2565     2658      +93     
+ Misses         856      850       -6     
Files Coverage Δ
pallets/ajuna-awesome-avatars/src/lib.rs 83.39% <100.00%> (+0.51%) ⬆️
...ts/ajuna-awesome-avatars/src/types/avatar/force.rs 64.00% <100.00%> (+9.83%) ⬆️
...na-awesome-avatars/src/types/avatar/rarity_tier.rs 65.62% <ø> (+9.37%) ⬆️
...na-awesome-avatars/src/types/avatar/versions/v1.rs 87.32% <100.00%> (ø)
...atars/src/types/avatar/versions/v2/avatar_utils.rs 92.22% <ø> (+0.43%) ⬆️
...s/src/types/avatar/versions/v2/combinator/breed.rs 79.31% <ø> (ø)
...s/src/types/avatar/versions/v2/combinator/equip.rs 96.77% <ø> (ø)
...src/types/avatar/versions/v2/combinator/glimmer.rs 81.08% <100.00%> (+1.35%) ⬆️
...rs/src/types/avatar/versions/v2/combinator/mate.rs 68.05% <100.00%> (+0.91%) ⬆️
...ars/src/types/avatar/versions/v2/combinator/mod.rs 48.48% <ø> (ø)
... and 10 more

... and 4 files with indirect coverage changes

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

@DidacSF DidacSF merged commit d774189 into develop Nov 23, 2023
@DidacSF DidacSF deleted the ABO-197 branch November 23, 2023 13:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant