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

Remove native tokens from AnchorOutput #1660

Conversation

thibault-martinez
Copy link
Member

No description provided.

@thibault-martinez thibault-martinez merged commit 4270b7c into iotaledger:2.0 Nov 21, 2023
22 of 35 checks passed
@thibault-martinez thibault-martinez deleted the remove-anchor-native-tokens branch November 21, 2023 14:50
Alex6323 pushed a commit to Alex6323/iota-sdk that referenced this pull request Nov 21, 2023
thibault-martinez added a commit that referenced this pull request Nov 27, 2023
* 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 <[email protected]>

* is_signature

* remove todo

* review 1

* review 2

* review 3

* fix copyright year

Co-authored-by: Thibault Martinez <[email protected]>

* StorageScore ❤️ 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 <[email protected]>

* final touches

* remove todo

* rm mana_cost fn from work score trait

---------

Co-authored-by: DaughterOfMars <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
thibault-martinez added a commit that referenced this pull request Nov 29, 2023
* 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 <[email protected]>

* is_signature

* remove todo

* first impl

* review 1

* review 2

* review 3

* fix copyright year

Co-authored-by: Thibault Martinez <[email protected]>

* StorageScore ❤️ 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 <[email protected]>

* 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 <[email protected]>

* remove builder method

* pr comments

* improve convenience

* simplify

---------

Co-authored-by: DaughterOfMars <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
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.

3 participants