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

Functions that return storage prefixes should return `&[u8]` #93

Open mooori opened 1 year ago

mooori commented 1 year ago

The functions that return storage prefixes (e.g. Pausable::pa_storage_key) should return &[u8] instead of &'static [u8]. This was pointed out by @birchmd here.

It is a trivial change for all plugins except AccessControllable as described here.

Steps to resolve this issue: