Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Dec 16, 2024
1 parent 7ecd6b7 commit 315ceb4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1906,7 +1906,6 @@ fn write_to_storage_in_query<S: Storage, A: Api, Q: Querier>(
deps: &Extern<S, A, Q>,
) -> StdResult<Binary> {
#[allow(clippy::cast_ref_to_mut)]
#[allow(invalid_reference_casting)]
let deps = unsafe { &mut *(deps as *const _ as *mut Extern<S, A, Q>) };
deps.storage.set(b"abcd", b"dcba");

Expand All @@ -1917,7 +1916,6 @@ fn remove_from_storage_in_query<S: Storage, A: Api, Q: Querier>(
deps: &Extern<S, A, Q>,
) -> StdResult<Binary> {
#[allow(clippy::cast_ref_to_mut)]
#[allow(invalid_reference_casting)]
let deps = unsafe { &mut *(deps as *const _ as *mut Extern<S, A, Q>) };
deps.storage.remove(b"abcd");

Expand Down

0 comments on commit 315ceb4

Please sign in to comment.