Skip to content

What has changed in transaction data structures ? #25

Answered by sczembor
sczembor asked this question in Q&A
Discussion options

You must be logged in to vote

Transaction Structure

Comparison of Transaction/Deploy Structure:

Pre-Condor (1.5.6) Deploy Structure:

deploy
├── hash
├── header
│   ├── account
│   ├── timestamp
│   ├── ttl
│   ├── gas_price
│   ├── body_hash
│   ├── dependencies
│   └── chain_name
├── payment
└── session
    └── StoredContractByHash
        ├── hash (contract hash)
        ├── entry_point
        └── args
└── approvals 
execution_results

Post-Condor (2.0.0) Transaction Structure:

transaction (Version1)
├── hash
├── header
│   ├── chain_name
│   ├── timestamp
│   ├── ttl
│   ├── body_hash
│   ├── pricing_mode
│   └── initiator_addr
├── body
│   ├── args
│   ├── target (Session or Transfer)
│   ├── entry_point (for Ses…

Replies: 1 comment

Comment options

sczembor
Jun 27, 2024
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by melpadden
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
json-rpc Issues with the json-rpc C2 Medium Complexity P2 Medium Priority
1 participant