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

iotaledger / iota / 21380994482

26 Jan 2026 03:28PM UTC coverage: 63.213% (-0.01%) from 63.227%
21380994482

push

github

web-flow
feat(wallet,dashboard): add staking edge case tests (#8906)

# Description of change

resolves #7709 

adds test for staking edge cases:
- using Max button
- using recommended button
- minimum allowed amount (1 IOTA)
- max amount -1 nano
- staking amount that multiple objects are needed
- staking amount for which more than 50 objects are needed to be merged

## How the change has been tested

- Stake min stakable amount
- Stake max stakable amount
- Stake amounts close to max amount (micros less than max)
- Stake large amounts in local network with `ex. --faucet-amount
2600000000000000`
- Test staking when user has lot of objects (request from faucet
multiple times or use https://thoralf-m.github.io/iota-utils/ to split
objects )
- test inputing `amounts > max amount` and `amount < min stakable
amount` (1 IOTA)

For all tests check that gas form field displays correct value

---------

Co-authored-by: Marc Espin <mespinsanz@gmail.com>
Co-authored-by: Keito <64607484+KeitoTadashi@users.noreply.github.com>

214149 of 338771 relevant lines covered (63.21%)

2500690.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.36
/crates/iota-core/src/execution_cache/writeback_cache.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc