@openzeppelin/miden-multisig-client 0.18.0-rc.1 → 0.18.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,11 +38,11 @@ interface BaseProposalMetadata {
38
38
  saltHex?: string;
39
39
  requiredSignatures?: number;
40
40
  /**
41
- * Base64-serialized Miden `ChainAnchor` pinning the reference block the
42
- * proposal's transaction summary was built at. Required to verify or
43
- * execute the proposal: since protocol 0.16 the signed summary binds the
44
- * reference block commitment, so it only reproduces when re-executed at
45
- * that block.
41
+ * Base64-serialized Miden `ChainAnchor` at the block the proposal's
42
+ * transaction summary binds, the proposer's sync height when it built the
43
+ * request. Required, and checked against the summary's block commitment: a
44
+ * rebuild binds the block it names. The proposal executes at the chain tip,
45
+ * not at the anchor; 0.18.0-rc.1 clients still re-execute at it.
46
46
  */
47
47
  chainAnchor?: string;
48
48
  }
@@ -175,9 +175,10 @@ export interface Proposal {
175
175
  /**
176
176
  * Outcome of checking a proposal's metadata against its signed summary.
177
177
  * `failed.retryable` is true when the failure came from a transient node or
178
- * RPC error, so the same proposal may verify on a later sync; false when the
179
- * proposal itself cannot be reproduced (tampered metadata, an anchor block the
180
- * node has pruned) and it has to be re-proposed.
178
+ * RPC error, or from chain state this client had not caught up with, so the
179
+ * same proposal may verify on a later sync; false when the proposal itself
180
+ * cannot be reproduced (tampered metadata, for example) and it has to be
181
+ * re-proposed.
181
182
  */
182
183
  export type ProposalVerification =
183
184
  | { status: 'unchecked' }