Skip to content

Commit

Permalink
Order initial storage slot keys. (#329)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjohn authored Jun 6, 2022
1 parent 62fb812 commit 60be3d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions specs/protocol/tx_format.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ Transaction is invalid if:
- `staticContractsCount > MAX_STATIC_CONTRACTS`
- `staticContracts` is not ordered in ascending order
- Any contract with ID in `staticContracts` is not in the state
- The keys of `storageSlots` are not in ascending lexicographic order
- The computed contract ID (see below) is not equal to the `contractID` of the one `OutputType.ContractCreated` output
- `storageSlotsCount > MAX_STORAGE_SLOTS`
- The [Sparse Merkle tree](./cryptographic_primitives.md#sparse-merkle-tree) root of `storageSlots` is not equal to the `stateRoot` of the one `OutputType.ContractCreated` output
Expand Down

0 comments on commit 60be3d7

Please # to comment.