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

iotaledger / iota-sdk / 7035325349

29 Nov 2023 04:09PM UTC coverage: 48.791% (-0.02%) from 48.814%
7035325349

push

github

web-flow
Calculate and set `max_burned_mana` field (#1610)

* add workscore calc

* fix merge

* finish calculations

* nits

* merge import

* nits

* rename trait fn

* update work score computations

* nit

* move work score types into own module

* add and impl mana cost fn

* PR suggestions 1

Co-authored-by: DaughterOfMars <alexandcoats@gmail.com>

* is_signature

* remove todo

* first impl

* review 1

* review 2

* review 3

* fix copyright year

Co-authored-by: Thibault Martinez <thibault.martinez.30@gmail.com>

* StorageScore :heart: WorkScore

* Fix def_is_as_opt panic message (#1659)

* Remove native tokens from AnchorOutput (#1660)

* Python: add multi address (#1658)

* add weighted address and multi address

* fmt

* fmt

* align + more impls

* nit

* default impl for all features

* default impl for all unlocks

* self

* rm WorkScore impl for NativeTokens type

* review suggestions

* align and improve

* cleanup

* cleanup 2

* forward work score in NativeTokenFeature

* cleanup 3

* forward 2

* let's see if we're faster than thibault

* unnecessary import

* underscore

Co-authored-by: Thibault Martinez <thibault.martinez.30@gmail.com>

* final touches

* remove todo

* rm mana_cost fn from work score trait

* set max burned mana to minimum

* use builder

* remnant

* use with_ instead of ctro to set mana

* nit

* another remnant

* ctor enum approach

* rand

Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>

* remove builder method

* pr comments

* improve convenience

* simplify

---------

Co-authored-by: DaughterOfMars <alexandcoats@gmail.com>
Co-authored-by: Thibault Martinez <thibault.martinez.30@gmail.com>
Co-authored-by: Thibault Martinez <thibault@iota.org>
Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com>

17 of 39 new or added lines in 4 files covered. (43.59%)

9 existing lines in 1 file now uncovered.

9965 of 20424 relevant lines covered (48.79%)

897.55 hits per line

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

27.59
/sdk/src/types/block/address/anchor.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

© 2024 Coveralls, Inc