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

test: add integration tests for `FullAccessKeyFallback` #66

Closed mooori closed 1 year ago

mooori commented 1 year ago

Adds integration tests and removes the corresponding unit tests. The background and motivation are described in https://github.com/aurora-is-near/near-plugins/pull/51, which does the same for Pausable.

This only ports existing unit tests. We'll probably want to add more tests. Before doing that, I propose to wait for FullAccessKeyFallback changes resulting from audits.

mooori commented 1 year ago

It might take some time for fixes of above issues to land in workspaces, if they are fixed at all. While the issues lead to inefficient and awkward code, I think it’s not a blocker since this code is only available in tests. In that case we could move on with this PR.

WDYT @birchmd?