feat(FullAccessKeyFallback)!: remove the plugin #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Removes the
FullAccessKeyFallback
since there are some issues with its design: external-4, external-6, external-23, external-30.The default implementation of
FullAccessKeyFallback
consists only of a few lines of code. If smart contract devs need this behavior, it makes more sense for them to implement their own solution tailored to their use-case.Breaking changes
It removes a plugin: the
FullAccessKeyFallback
trait and its default implementation.Additional changes
FullAccessKeyFallback
was the last plugin that was included inexamples/
. As the corresponding examples were removed, some code became unused, which is removed in this PR. This allows deleting theexamples/
directory.The contracts in
near-plugins-derive/tests/contracts
serve as examples now (ref. #48).