• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Chia-Network / chia-blockchain / 40722267222
90%

Build:
DEFAULT BRANCH: main
Ran 28 Oct 2026 10:14PM UTC
Jobs 1
Files 943
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2026 04:03PM UTC coverage: 90.469% (+0.001%) from 90.468%
40722267222

push

github

web-flow
Fix fee estimates that are 1,000 times too small (#21533)

* Fix fee estimates that are 1,000 times too small

The tracker stores mojos per 1,000 cost, and the publisher already divides by 1,000 to report mojos per cost. parse() divided a second time, so a stored rate of 5,000 was published as 0.005. Return the stored unit from parse() and keep that single division in the publisher.

A stored 5,000 now publishes as 5.0. The steady-rate test checks that blocks paying 2 mojos per cost are quoted at about 2.

* Test the fee quote the command line and desktop app receive

get_fee_estimate now checks a stored rate of 5,000. A cost of 1, which chia show -f uses, must come back as 5. send_xch_transaction, which the desktop fee box uses, must come back as 5 times 9,401,710. A rate under 1 mojo per cost still becomes 0 at cost 1.

Name the 1,000-cost storage scale once, and use it where the tracker stores a rate and where the publisher converts it. The failure-bucket test follows the edge the tracker records and expects one bucket above the failure. The clamp at the first bucket is unchanged.

* Let the fee quote test satisfy the type check

The checker rejected a loose function assigned over get_blockchain_state, and the ignore comment named the wrong error. The test now uses a small subclass whose replacement has the same arguments and result. The quoted amounts are unchanged.

* Name the fee cap unit and lock the desktop send amount

The cap is still 40,000,000. The note now says that figure is mojos per 1,000 cost. The unit test expects 47,008,550 mojos for a desktop send at 5 per cost.

20237 of 25170 branches covered (80.4%)

Branch coverage included in aggregate %.

79 of 80 new or added lines in 5 files covered. (98.75%)

23 existing lines in 7 files now uncovered.

119241 of 129002 relevant lines covered (92.43%)

1.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.13
-0.87% chia/_tests/fee_estimation/test_fee_estimation_rpc.py

Coverage Regressions

Lines Coverage ∆ File
11
70.29
-1.25% chia/timelord/timelord.py
3
86.31
-0.29% chia/full_node/full_node_api.py
3
75.04
-0.45% chia/server/node_discovery.py
2
84.1
0.04% chia/full_node/full_node.py
2
97.13
-0.86% chia/_tests/core/test_farmer_harvester_rpc.py
1
72.51
-0.24% chia/full_node/full_node_rpc_api.py
1
94.12
-2.94% chia/_tests/core/util/test_file_keyring_synchronization.py
Jobs
ID Job ID Ran Files Coverage
1 40722267222.1 28 Oct 2026 10:14PM UTC 1886
90.47
GitHub Action Run
Source Files on build 40722267222
  • Tree
  • List 943
  • Changed 18
  • Source Changed 5
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40722267222
  • 2e906ab5 on github
  • Prev Build on main (#40721635467)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc