zkevm-specs
zkevm-specs copied to clipboard
Transaction Hash
Currently the Transaction Table contains TxSignHash
which is the hash of the Transaction without the signature; which is used for signature verification. This field is used to verify the validity of the signature (and recover the public key -> address), and is currently being calculated by the verifier (although it could be improved by being calculated in circuit).
What we don't have is the TxHash, which needs to be calculated by the circuit. The TxHash is used in the TxTree.
Depends on the RLP circuit.
The calculation of the TxHash depends on the Tx type.
Blocked until stack trie support is completed.