-
Notifications
You must be signed in to change notification settings - Fork 7
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
411 Allow calling extrinsics of clients-info crate
from authorized accounts
#418
Merged
b-yap
merged 9 commits into
main
from
411-allow-calling-extrinsics-of-clients-info-crate-from-authorized-accounts
Oct 19, 2023
Merged
411 Allow calling extrinsics of clients-info crate
from authorized accounts
#418
b-yap
merged 9 commits into
main
from
411-allow-calling-extrinsics-of-clients-info-crate-from-authorized-accounts
Oct 19, 2023
Conversation
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
b-yap
force-pushed
the
411-allow-calling-extrinsics-of-clients-info-crate-from-authorized-accounts
branch
from
October 13, 2023 09:01
2155806
to
c388cd8
Compare
ebma
requested changes
Oct 13, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments, tests and benchmarks look good 👍
b-yap
added a commit
that referenced
this pull request
Oct 16, 2023
ebma
approved these changes
Oct 16, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now
ebma
reviewed
Oct 16, 2023
b-yap
force-pushed
the
411-allow-calling-extrinsics-of-clients-info-crate-from-authorized-accounts
branch
from
October 17, 2023 13:17
c9ae160
to
5c513d3
Compare
b-yap
force-pushed
the
411-allow-calling-extrinsics-of-clients-info-crate-from-authorized-accounts
branch
from
October 18, 2023 08:04
2ed1980
to
7e71389
Compare
…ob/17810623957?pr=418#step:12:618
b-yap
deleted the
411-allow-calling-extrinsics-of-clients-info-crate-from-authorized-accounts
branch
October 19, 2023 05:07
b-yap
added a commit
that referenced
this pull request
Oct 25, 2023
…accounts (#418) * initial iteration * add test cases and benchmark, to update the weights. also * rebase * initial iteration * add test cases and benchmark, to update the weights. also * remove unused 'e' * put back deny warnings * update metadata-standalone.scale * https://github.com/pendulum-chain/spacewalk/actions/runs/6557977544/job/17810623957?pr=418#step:12:618
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
closes #411
General overview of the changes:
clients-info
AuthorizedAccounts
storageHow to begin the review:
AuthorizedAccounts
fn authorize_account()
andfn deauthorize_account()
if the origin is not _
root_, check from the
AuthorizedAccounts`ThisAccountIdIsNotAuthorized
UserUnableToDeauthorizeThemself
UserUnableToDeauthorizeRootAccount
AccountIdAuthorized(T::AccountId)
,AccountIdDeauthorized(T::AccountId)
fn authorize_account_should_work()
fn deauthorize_account_should_work()
fn test_errors()
fn deauthorize_account()
andfn authorize_account()