Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed May 8, 2024
1 parent dcaf1ef commit 4c9c168
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/reference/objects.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,12 @@ Details about the consensus parameters that are being upgraded.

`witnessIndex`: [`U16!`](/docs/reference/scalars/#u16)

?
The index of the witness in the `witnesses` field that contains the serialized consensus parameters. For an upgrade to consensus parameters, the upgraded parameters are stored as a witness in the transaction.

`checksum`: [`Bytes32!`](/docs/reference/scalars/#bytes32)

?
The hash of the serialized consensus parameters.
Since the serialized consensus parameters live inside the transaction witnesses (which is malleable data), any party can override them. The `checksum` is used to verify that the data was not modified or tampered with.

## `Contract`

Expand Down

0 comments on commit 4c9c168

Please sign in to comment.