Problem: In this issue, we are required to modify the behavior of
transfer_ownership entrypoint such that the new admin is set without
having to call accept_ownership call, if the new owner is the address of
the contract itsef.
Soltution: Implement the behavior and update tests and docs.
Description
Related issue(s)
Resolves #215
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Problem: In this issue, we are required to modify the behavior of transfer_ownership entrypoint such that the new admin is set without having to call accept_ownership call, if the new owner is the address of the contract itsef.
Soltution: Implement the behavior and update tests and docs.
Description
Related issue(s)
Resolves #215
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)