Skip to content

Update dependencies and use near-plugins#96

Open
mfornet wants to merge 4 commits into
masterfrom
plugins
Open

Update dependencies and use near-plugins#96
mfornet wants to merge 4 commits into
masterfrom
plugins

Conversation

@mfornet

@mfornet mfornet commented Feb 12, 2022

Copy link
Copy Markdown
Contributor

Use near-plugins to extend contracts with new functionalities.

  1. Ownable pattern allows setting the owner to a DAO that can control admin functions from the bridge.
  2. Pausable changes the old mechanism for pausing functions, but provides the same features.
  3. Upgradable allows owner to upgrade the bridge to a new version.
  4. FullAccessKeyFallback allows the owner to attach a full access key in case of Emergency.

Notes for reviewer:

Check notes from reviewer here: Near-One/rainbow-bridge#714

Testing plan

  • All bridge tests should pass, i.e. basic mechanisms of the bridge haven't changed.
  • WIP: Add tests to check all new features works as expected

- Update near-sdk to 4.0
- Extend functionalities from the contracts using near-plugins
@mfornet mfornet requested review from karim-en and sept-en February 12, 2022 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants