hyperledger / solang

Solidity Compiler for Solana and Polkadot
https://solang.readthedocs.io/
Apache License 2.0
1.22k stars 207 forks source link

Polkadot: Implement `caller_is_root` runtime API #1620

Closed xermicus closed 5 months ago

xermicus commented 5 months ago

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.

xermicus commented 5 months ago

Moved the clippy driveby changes into #1621