Look up relay parent info for a block that is an ancestor of the block
this API is called at. Returns None if the relay parent is not found
in the allowed relay parents for the given session.
NOTE: A block is not in its own AllowedRelayParents storage (it gets
added during the next block's inherent). Querying a block about itself
will always return None. Use the node-side check_relay_parent_session
utility for a general-purpose check that handles both the self and
ancestor cases.
Look up relay parent info for a block that is an ancestor of the block this API is called at. Returns
Noneif the relay parent is not found in the allowed relay parents for the given session.NOTE: A block is not in its own
AllowedRelayParentsstorage (it gets added during the next block's inherent). Querying a block about itself will always returnNone. Use the node-sidecheck_relay_parent_sessionutility for a general-purpose check that handles both the self and ancestor cases.