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

fix: fix all typos issue #956

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/access.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ trait IAccessControl {
/// Returns whether the account has the role or not.
fn has_role(role: felt252, account: ContractAddress) -> bool;

/// Returns the adming role that controls `role`.
/// Returns the admin role that controls `role`.
fn get_role_admin(role: felt252) -> felt252;

/// Grants `role` to `account`.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/api/account.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ Returns the current public key of the account.
[[EthAccountComponent-set_public_key]]
==== `[.contract-item-name]#++set_public_key++#++(ref self: ContractState, new_public_key: EthPublicKey)++` [.item-kind]#external#

Sets a new public key for the account. Only accesible by the account calling itself through `\\__execute__`.
Sets a new public key for the account. Only accessible by the account calling itself through `\\__execute__`.

Emits both an {OwnerRemoved} and an {OwnerAdded} event.

Expand Down