starknet-io / starknet-docs

The repo for Starknet's developer documentation. Includes contribution guidelines and the Starknet documentation supplementary style guide
https://docs.starknet.io/
111 stars 158 forks source link

Fix invoke tx v3 hash calculation #1276

Closed odednaor closed 1 month ago

odednaor commented 1 month ago

Description of the Changes

Current invoke tx v3 hash calculation has

h(
      h(account_deployment_data),
      h(calldata)
    )

as part of the hash calculation, though the hash is calculated without the nested hash function. Just

h(account_deployment_data),
h(calldata)

PR Preview URL

https://starknet-io.github.io/starknet-docs/pr-1276/documentation/architecture_and_concepts/Network_Architecture/transactions/#v3_hash_calculation

Check List


This change is Reviewable

starknet-bot commented 1 month ago

Your preview build is ready! ✨ Check the following link in 1-2 minutes: https://starknet-io.github.io/starknet-docs/pr-1276/documentation/ .