We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 036abd8 commit 88af277Copy full SHA for 88af277
rust/src/contract_interface.rs
@@ -1903,9 +1903,7 @@ pub mod encoding {
1903
.map(|s| <<T as EncodingAdapter>::SelfEncoder>::deserialize(s.as_ref()))
1904
.transpose()?;
1905
let delta = delta
1906
- .map(|d| {
1907
- <<T as EncodingAdapter>::DeltaEncoder>::deserialize(d.as_ref()).map(Into::into)
1908
- })
+ .map(|d| <<T as EncodingAdapter>::DeltaEncoder>::deserialize(d.as_ref()))
1909
1910
let typed_update = TypedUpdateData::try_from((state, delta))?;
1911
match typed_state.merge(&typed_params, typed_update, &related_container) {
0 commit comments