# RelayHubValidator

The RelayHub Validator Library

Validates the msg.data received by the RelayHub does not contain unnecessary bytes. Including these extra bytes would allow the Relay Server to inflate transaction costs and overcharge the client.

# Functions

# verifyTransactionPacking(string domainSeparatorName, struct GsnTypes.RelayRequest relayRequest, bytes signature, bytes approvalData)

(internal)

Validate that encoded relayCall is properly packed without any extra bytes


# dynamicParamSize(bytes buf)

→ uint256 (internal)