Function assert_inner_hash_valid_authwit_public
pub unconstrained fn assert_inner_hash_valid_authwit_public(
context: PublicContext,
on_behalf_of: AztecAddress,
inner_hash: Field,
)
pub unconstrained fn assert_inner_hash_valid_authwit_public(
context: PublicContext,
on_behalf_of: AztecAddress,
inner_hash: Field,
)
Assert that
on_behalf_ofhas authorized a specificinner_hashin the authentication registryCompute the
inner_hashusing themsg_sender,selectorandargs_hashand then make a call out to theon_behalf_ofcontract to verify that theinner_hashis valid.Note that the authentication registry will take the
msg_senderinto account as the consumer, so this will only work if themsg_senderis the same as theconsumerwhen themessage_hashwas inserted into the registry.@param on_behalf_of The address that has allegedly authorized the
inner_hash