starknet_api: add DeployAccount v4 transaction type (Blake2 address derivation) - #14813
Draft
ron-starkware wants to merge 1 commit into
Draft
Conversation
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jul 15, 2026
ron-starkware
force-pushed
the
ron/contract-address/deploy-account-v4-types
branch
from
July 15, 2026 10:17
dd887c4 to
cc0462c
Compare
ron-starkware
force-pushed
the
ron/contract-address/pedersen-image-escape
branch
from
July 19, 2026 09:19
9783bd7 to
34c036c
Compare
ron-starkware
force-pushed
the
ron/contract-address/deploy-account-v4-types
branch
from
July 19, 2026 09:19
cc0462c to
2ecac08
Compare
|
There hasn't been any activity on this pull request recently, and in order to prioritize active work, it has been marked as stale. |
ron-starkware
force-pushed
the
ron/contract-address/pedersen-image-escape
branch
from
August 31, 2026 12:56
34c036c to
0088e53
Compare
ron-starkware
force-pushed
the
ron/contract-address/deploy-account-v4-types
branch
from
August 31, 2026 12:56
2ecac08 to
159b89b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Stack — part 3 of 9 (base: #14812). Targets 0.14.5.
Adds
DeployAccountversion 4: v3's exact field set, with the contract address derived by BLAKE2s + the Pedersen-image escape instead of Pedersen. The version felt is the scheme signal; v1/v3 keep deriving with Pedersen indefinitely, so there is no flag day and no stranded counterfactual address.DeployAccountTransactionV4/RpcDeployAccountTransactionV4+ the enum variants.DeployAccountTransaction::address_derivation_hash()(V1/V3 → Pedersen, V4 → Blake2) is the single scheme-selection point; no caller hand-picks a scheme for a versioned transaction."0x4", protobufDeployAccountV4+ the mempool/consensus/sync oneofs, storage discriminantV4 = 2, cende"0x4", the test-instance registry.Fail-closed: blockifier's version allowlist still rejects v4 (#14815 enables it), and the gateway's stateful validation fully executes deploy-accounts, so v4 cannot be ingested from this PR alone.
🤖 Generated with Claude Code