aleph-im / pyaleph

Next generation network of decentralized big data applications. Current connected chains: Ethereum, Solana, Polkadot/Substrate, Cosmos-SDK, NULS.
https://aleph.im
MIT License
75 stars 19 forks source link

Solve issue with instance messages and `requirements` empty field #599

Closed nesitor closed 1 month ago

nesitor commented 1 month ago

Problem: When a user send an instance message with the field requirements to null, the message is rejected.

Solution: Check if the requirements field have something relevant inside.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.37%. Comparing base (38f8fa7) to head (e79aa8a). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #599 +/- ## ======================================= Coverage 94.37% 94.37% ======================================= Files 91 91 Lines 4910 4910 Branches 677 677 ======================================= Hits 4634 4634 Misses 241 241 Partials 35 35 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.