Near-One / near-plugins

Implementation of common patterns used for NEAR smart contracts.
Creative Commons Zero v1.0 Universal
27 stars 12 forks source link

Fulfill TODO #102

Closed SteMak closed 1 year ago

SteMak commented 1 year ago

The ToDo refers to PR #12. As it was merged, the code can be updated there.

In such a way, some unnecessary actions are performed (.iter().skip(0).take(1).cloned().collect()). However, the code looks clearer.

The change does not break any tests.

If the PR would not be accepted, the ToDo should be reworked or removed.

mooori commented 1 year ago

The CI failure seems to be unrelated to the changes made in this PR. We are investigating it.

CI is passing now after an issue with its setup has been resolved.