pub fn ensure_starknet_transaction<OuterOrigin>(
    o: OuterOrigin
) -> Result<(), &'static str>where
    OuterOrigin: Into<Result<RawOrigin, OuterOrigin>>,
Expand description

Ensure that the origin is a Starknet transaction. See: https://github.com/keep-starknet-strange/madara/issues/21

Arguments

  • o - The origin to check.

Returns

  • Result<(), &'static str> - The result of the check.