Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies and use near-plugins #96

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Update dependencies and use near-plugins #96

wants to merge 4 commits into from

Conversation

mfornet
Copy link
Contributor

@mfornet mfornet commented Feb 12, 2022

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
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