tangle-network / tangle

Modular restaking infrastructure for developers, restakers, and operators.
https://www.tangle.tools/
GNU General Public License v3.0
51 stars 24 forks source link

feat!: Select Assets when requesting a service #785

Closed shekohex closed 20 hours ago

shekohex commented 1 day ago

Summary of changes

This pull request introduces support for adding assets in the services pallet by adding AssetId to various APIs and structures, and implementing constraints and validation for assets.

Changes introduced in this pull request:

API and Trait Updates:

Struct and Type Modifications:

Validation and Error Handling:

Event and Storage Updates:

Precompile Changes:

Reference issue to close (if applicable)

Closes #774

drewstone commented 1 day ago

Tests please, very exhaustive if possible too. We're getting an audit very soon.