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

Polkadot: Implement caller_is_root runtime API #1620

Merged
merged 11 commits into from
Feb 1, 2024

Conversation

xermicus
Copy link
Contributor

Recent versions of the contracts pallet expose a runtime API for contracts to check whether their caller is of root origin. The PR exposes this API as a builtin.

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
@xermicus
Copy link
Contributor Author

xermicus commented Jan 31, 2024

Moved the clippy driveby changes into #1621

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
@xermicus xermicus merged commit cda387d into hyperledger-solang:main Feb 1, 2024
16 of 18 checks passed
github-merge-queue bot pushed a commit to paritytech/polkadot-sdk that referenced this pull request Feb 3, 2024
Can this API be marked stable? Implemented in [solang
here](hyperledger-solang/solang#1620)

---------

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
Can this API be marked stable? Implemented in [solang
here](hyperledger-solang/solang#1620)

---------

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
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