This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
Replies: 1 comment 1 reply
-
Ya if we're moving hash calculation outside the runtime it makes sense to remove it from the Pallet config. So if I understand it correctly, in the new flow we receive |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now the
ComputeTransactionHash
trait is generic over aHasherT
type. Those are sizeless types, representing either Pedersen or Poseindon hashers. The idea was that each chain could choose which one to use for performance reasons.The situation now is that:
So the hasher is not a config of the chain, but one of the tx.
Would you all agree if we remove chain level hasher config, and implement the starknet design instead?
Other chains could still be able to diverge from starknet design by ignoring our implementations of
ComputeTransactionHash
for blockifiers tx types and crate their ownBeta Was this translation helpful? Give feedback.
All reactions