Skip to content

Commit 8ed9026

Browse files
committed
fix: dependencies
1 parent 66aed1a commit 8ed9026

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

clarity/src/vm/clarity_wasm.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7737,7 +7737,10 @@ mod error_mapping {
77377737
use stacks_common::types::StacksEpochId;
77387738
use wasmtime::{AsContextMut, Instance, Trap};
77397739

7740-
use super::{read_from_wasm_indirect, read_identifier_from_wasm, signature_from_string};
7740+
use super::{
7741+
read_bytes_from_wasm, read_from_wasm_indirect, read_identifier_from_wasm,
7742+
signature_from_string,
7743+
};
77417744
use crate::vm::errors::{CheckErrors, Error, RuntimeErrorType, ShortReturnType, WasmError};
77427745
use crate::vm::types::{OptionalData, ResponseData};
77437746
use crate::vm::{ClarityVersion, Value};
@@ -7997,11 +8000,9 @@ mod error_mapping {
79978000
},
79988001
)))
79998002
}
8000-
ErrorMap::ShortReturnExpectedValueOptional => {
8001-
Error::ShortReturn(ShortReturnType::ExpectedValue(Value::Optional(
8002-
clarity::vm::types::OptionalData { data: None },
8003-
)))
8004-
}
8003+
ErrorMap::ShortReturnExpectedValueOptional => Error::ShortReturn(
8004+
ShortReturnType::ExpectedValue(Value::Optional(OptionalData { data: None })),
8005+
),
80058006
ErrorMap::ShortReturnExpectedValue => {
80068007
let clarity_val =
80078008
short_return_value(&instance, &mut store, epoch_id, clarity_version);

0 commit comments

Comments
 (0)