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

Python: add multi address #1658

Merged
merged 4 commits into from
Nov 21, 2023

Conversation

Alex6323
Copy link
Contributor

Links to any relevant issues

Closes #1577

@Alex6323 Alex6323 linked an issue Nov 21, 2023 that may be closed by this pull request
Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fmt

Copy link
Member

@Thoralf-M Thoralf-M left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fmt

@thibault-martinez thibault-martinez merged commit b23d0e2 into iotaledger:2.0 Nov 21, 2023
1 of 7 checks passed
Alex6323 added a commit to Alex6323/iota-sdk that referenced this pull request Nov 21, 2023
* add weighted address and multi address

* fmt
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.

Python: add MultiAddress
3 participants