zkevm-specs icon indicating copy to clipboard operation
zkevm-specs copied to clipboard

Transaction Hash

Open ed255 opened this issue 11 months ago • 1 comments

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.

ed255 avatar Mar 21 '24 10:03 ed255

Blocked until stack trie support is completed.

ed255 avatar Apr 18 '24 09:04 ed255