Skip to content
Snippets Groups Projects
Unverified Commit 88f898e7 authored by Michael Müller's avatar Michael Müller Committed by GitHub
Browse files

[pallet-revive] Fix `caller_is_root` return value (#7086)


Closes https://github.com/paritytech/polkadot-sdk/issues/6767.

The return type of the host function `caller_is_root` was denoted as
`u32` in `pallet_revive_uapi`. This PR fixes the return type to `bool`.

As a drive-by, the PR re-exports `pallet_revive::exec::Origin` to extend
what can be tested externally.

---------

Co-authored-by: default avatarCyrill Leutwiler <bigcyrill@hotmail.com>
parent ef064a35
Pipeline #511914 waiting for manual action with stages
in 9 minutes and 44 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment