Skip to content

Commit e53ba10

Browse files
authored
Merge pull request #4011 from stacks-network/feat/hotfix-traits
fix: fix trait handler and cut release
2 parents fb5e2f5 + 96872fb commit e53ba10

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to the versioning scheme outlined in the [README.md](README.md).
77

8+
## [2.4.0.0.3]
9+
10+
This is a high-priority hotfix that addresses a bug in transaction processing which
11+
could impact miner availability.
12+
813
## [2.4.0.0.2]
914

1015
This is a hotfix that changes the logging failure behavior from panicking to dropping

clarity/src/vm/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,12 @@ pub fn eval<'a>(
344344
let f = lookup_function(&function_name, env)?;
345345
apply(&f, &rest, env, context)
346346
}
347-
TraitReference(_, _) | Field(_) => unreachable!("can't be evaluated"),
347+
TraitReference(_, _) | Field(_) => {
348+
return Err(InterpreterError::BadSymbolicRepresentation(
349+
"Unexpected trait reference".into(),
350+
)
351+
.into())
352+
}
348353
};
349354

350355
if let Some(mut eval_hooks) = env.global_context.eval_hooks.take() {

0 commit comments

Comments
 (0)