You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,9 @@ and this project adheres to the versioning scheme outlined in the [README.md](RE
12
12
- Add `stackerdb_timeout_secs` to miner config for limiting duration of StackerDB HTTP requests.
13
13
- When determining a global transaction replay set, the state evaluator now uses a longest-common-prefix algorithm to find a replay set in the case where a single replay set has less than 70% of signer weight.
14
14
- New endpoint /v3/tenures/blocks/ allowing retrieving the list of stacks blocks from a burn block
15
+
- Creates epoch 3.3 and costs-4 in preparation for a hardfork to activate Clarity 4
16
+
- Adds support for new Clarity 4 builtins (not activated until epoch 3.3):
Copy file name to clipboardExpand all lines: clarity-serialization/src/errors/analysis.rs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,7 @@ pub enum CheckErrors {
195
195
CouldNotDetermineResponseErrType,
196
196
CouldNotDetermineSerializationType,
197
197
UncheckedIntermediaryResponses,
198
+
ExpectedContractPrincipalValue(Value),
198
199
199
200
CouldNotDetermineMatchTypes,
200
201
CouldNotDetermineType,
@@ -533,10 +534,11 @@ impl DiagnosableError for CheckErrors {
533
534
CheckErrors::UnionTypeValueError(expected_types, found_type) => format!("expecting expression of type {}, found '{}'", formatted_expected_types(expected_types), found_type),
534
535
CheckErrors::ExpectedOptionalType(found_type) => format!("expecting expression of type 'optional', found '{found_type}'"),
535
536
CheckErrors::ExpectedOptionalOrResponseType(found_type) => format!("expecting expression of type 'optional' or 'response', found '{found_type}'"),
536
-
CheckErrors::ExpectedOptionalOrResponseValue(found_type) => format!("expecting expression of type 'optional' or 'response', found '{found_type}'"),
537
+
CheckErrors::ExpectedOptionalOrResponseValue(found_value) => format!("expecting expression of type 'optional' or 'response', found '{found_value}'"),
537
538
CheckErrors::ExpectedResponseType(found_type) => format!("expecting expression of type 'response', found '{found_type}'"),
538
-
CheckErrors::ExpectedOptionalValue(found_type) => format!("expecting expression of type 'optional', found '{found_type}'"),
539
-
CheckErrors::ExpectedResponseValue(found_type) => format!("expecting expression of type 'response', found '{found_type}'"),
539
+
CheckErrors::ExpectedOptionalValue(found_value) => format!("expecting expression of type 'optional', found '{found_value}'"),
540
+
CheckErrors::ExpectedResponseValue(found_value) => format!("expecting expression of type 'response', found '{found_value}'"),
541
+
CheckErrors::ExpectedContractPrincipalValue(found_value) => format!("expecting contract principal value, found '{found_value}'"),
540
542
CheckErrors::CouldNotDetermineResponseOkType => "attempted to obtain 'ok' value from response, but 'ok' type is indeterminate".into(),
541
543
CheckErrors::CouldNotDetermineResponseErrType => "attempted to obtain 'err' value from response, but 'err' type is indeterminate".into(),
542
544
CheckErrors::CouldNotDetermineMatchTypes => "attempted to match on an (optional) or (response) type where either the some, ok, or err type is indeterminate. you may wish to use unwrap-panic or unwrap-err-panic instead.".into(),
0 commit comments