hyperledger-solang / solang

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

Polkadot: Implement `caller_is_root` runtime API #1620

Closed xermicus closed 8 months ago

xermicus commented 8 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 8 months ago

Moved the clippy driveby changes into #1621