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

Feat/fee logic #969

Merged
merged 5 commits into from
Feb 19, 2025
Merged

Feat/fee logic #969

merged 5 commits into from
Feb 19, 2025

Conversation

paologalligit
Copy link
Member

Description

This PR introduces the logic to calculate the fees dynamically based on the VIP-Dynamic Fee Market.

GHIssue

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • New and existing E2E tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have not added any vulnerable dependencies to my code

@codecov-commenter
Copy link

codecov-commenter commented Feb 3, 2025

Codecov Report

Attention: Patch coverage is 84.09091% with 35 lines in your changes missing coverage. Please review.

Project coverage is 62.13%. Comparing base (a3f56a6) to head (2fbd834).

Files with missing lines Patch % Lines
packer/flow.go 70.00% 3 Missing and 3 partials ⚠️
runtime/resolved_tx.go 14.28% 4 Missing and 2 partials ⚠️
tx/tx_dynamic_fee.go 40.00% 4 Missing and 2 partials ⚠️
txpool/validation.go 88.00% 4 Missing and 2 partials ⚠️
packer/packer.go 76.19% 3 Missing and 2 partials ⚠️
tx/transaction.go 73.33% 3 Missing and 1 partial ⚠️
cmd/thor/main.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           release/galactica     #969      +/-   ##
=====================================================
+ Coverage              62.03%   62.13%   +0.09%     
=====================================================
  Files                    225      226       +1     
  Lines                  23350    23498     +148     
=====================================================
+ Hits                   14486    14601     +115     
- Misses                  7738     7763      +25     
- Partials                1126     1134       +8     

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

@paologalligit paologalligit marked this pull request as ready for review February 11, 2025 15:54
@paologalligit paologalligit requested a review from a team as a code owner February 11, 2025 15:54
otherview
otherview previously approved these changes Feb 12, 2025
@paologalligit paologalligit changed the base branch from old-release/galactica to release/galactica February 18, 2025 13:36
@paologalligit paologalligit dismissed otherview’s stale review February 18, 2025 13:36

The base branch was changed.

@paologalligit paologalligit merged commit 1b887cd into release/galactica Feb 19, 2025
14 checks passed
@paologalligit paologalligit deleted the feat/fee-logic branch February 19, 2025 08:44
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