w3f/polkadot-spec

Missing 3rd argument in `TaggedTransactionQueue_validate_transaction`

radkomih opened this issue · 0 comments

Here in the spec it says that there are two arguments

Arguments
    * The source of the transaction as defined in [Definition 224](https://spec.polkadot.network/#defn-transaction-source).
    * A byte array that contains the transaction.

but in Substrate, there is a 3rd one, a block_hash.

fn validate_transaction(
	source: TransactionSource,
	tx: <Block as BlockT>::Extrinsic,
	block_hash: <Block as BlockT>::Hash,
) -> TransactionValidity {
	Executive::validate_transaction(source, tx, block_hash)
}