-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #290 - Introduce a new Ownable2Step contract - Make `onlyOwner()` internal in Ownable and implement `MethodError` to be able to use the error in our new contract(we've already seen we will need this for others) - Propose we use nextest instead of vainilla `cargo test` in the CI. It is faster(not as relevant right now) and the output is so much nicer #### PR Checklist - [x] Unit Tests - [x] e2e Tests - [x] Documentation --------- Co-authored-by: Daniel Bigos <daniel.bigos@openzeppelin.com>
- Loading branch information
1 parent
0815bdd
commit 27514ba
Showing
16 changed files
with
926 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,4 @@ Some of the items may not apply. | |
|
||
- [ ] Tests | ||
- [ ] Documentation | ||
- [ ] Changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
//! Contracts implementing access control mechanisms. | ||
pub mod control; | ||
pub mod ownable; | ||
pub mod ownable_two_step; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.