Skip to content

refactor(fees): simplify fee abstractions#1438

Closed
glevco wants to merge 14 commits intoraul-oliveira/fee-token-verificationfrom
refactor/fees/remove-abstractions
Closed

refactor(fees): simplify fee abstractions#1438
glevco wants to merge 14 commits intoraul-oliveira/fee-token-verificationfrom
refactor/fees/remove-abstractions

Conversation

@glevco
Copy link
Contributor

@glevco glevco commented Oct 1, 2025

Motivation

Simplify the fee-related logic by removing intermediary models and abstractions.

Acceptance Criteria

  • Remove syscall balance rules abstractions, changing the classes to functions.

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged

@glevco glevco self-assigned this Oct 1, 2025
@glevco glevco moved this from Todo to In Progress (WIP) in Hathor Network Oct 1, 2025
@codecov
Copy link

codecov bot commented Oct 1, 2025

Codecov Report

❌ Patch coverage is 94.08284% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.81%. Comparing base (4d5742a) to head (25f458d).
⚠️ Report is 19 commits behind head on master.

Files with missing lines Patch % Lines
hathor/nanocontracts/runner/runner.py 91.35% 5 Missing and 2 partials ⚠️
hathor/nanocontracts/storage/changes_tracker.py 75.00% 1 Missing and 1 partial ⚠️
hathor/nanocontracts/runner/types.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1438      +/-   ##
==========================================
- Coverage   85.88%   85.81%   -0.07%     
==========================================
  Files         431      432       +1     
  Lines       33274    33365      +91     
  Branches     5215     5223       +8     
==========================================
+ Hits        28576    28633      +57     
- Misses       3660     3684      +24     
- Partials     1038     1048      +10     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@glevco glevco force-pushed the refactor/fees/remove-abstractions branch from f1c5abb to 25f458d Compare October 1, 2025 23:11
@glevco glevco moved this from In Progress (WIP) to In Progress (Done) in Hathor Network Oct 1, 2025
@raul-oliveira raul-oliveira force-pushed the raul-oliveira/create-fee-tokens-in-nano branch 4 times, most recently from 7769d16 to 7a2a4eb Compare October 2, 2025 19:39
@jansegre jansegre deleted the branch raul-oliveira/fee-token-verification October 2, 2025 20:33
@jansegre jansegre closed this Oct 2, 2025
@github-project-automation github-project-automation bot moved this from In Progress (Done) to Waiting to be deployed in Hathor Network Oct 2, 2025
@glevco glevco moved this from Waiting to be deployed to In Progress (WIP) in Hathor Network Oct 3, 2025
@glevco glevco reopened this Oct 10, 2025
@glevco glevco changed the base branch from raul-oliveira/create-fee-tokens-in-nano to master October 10, 2025 20:51
@glevco glevco changed the base branch from master to raul-oliveira/fee-token-verification October 10, 2025 20:53
@glevco glevco force-pushed the raul-oliveira/fee-token-verification branch from a2fec5c to 1791f90 Compare October 10, 2025 20:53
@glevco glevco force-pushed the refactor/fees/remove-abstractions branch from 25f458d to d6addb4 Compare October 10, 2025 21:00
@glevco glevco force-pushed the refactor/fees/remove-abstractions branch from d6addb4 to ea23e32 Compare October 10, 2025 21:12
@glevco glevco force-pushed the refactor/fees/remove-abstractions branch from ea23e32 to 3fd8327 Compare October 11, 2025 04:21
@glevco glevco force-pushed the raul-oliveira/fee-token-verification branch 5 times, most recently from 72e231a to dca477b Compare October 15, 2025 16:32
@jansegre jansegre deleted the branch raul-oliveira/fee-token-verification October 15, 2025 17:30
@jansegre jansegre closed this Oct 15, 2025
@github-project-automation github-project-automation bot moved this from In Progress (WIP) to Waiting to be deployed in Hathor Network Oct 15, 2025
@glevco glevco moved this from Waiting to be deployed to In Progress (WIP) in Hathor Network Oct 15, 2025
@glevco
Copy link
Contributor Author

glevco commented Oct 15, 2025

Moved to #1469

@glevco glevco moved this from In Progress (WIP) to Done in Hathor Network Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants