Closed Buckram123 closed 3 months ago
Latest commit: |
049cbb3
|
Status: | ✅ Deploy successful! |
Preview URL: | https://79be4044.cw-orchestrator.pages.dev |
Branch Preview URL: | https://fix-mock-raw-query.cw-orchestrator.pages.dev |
Attention: Patch coverage is 80.95238%
with 8 lines
in your changes are missing coverage. Please review.
Project coverage is 64.6%. Comparing base (
33de752
) to head (049cbb3
).
This PR aims at fixing raw_query method for mock env
Could you elaborate what this is for ?
This PR aims at fixing raw_query method for mock env
Could you elaborate what this is for ?
Just a bugfix. Wanted to cw2 raw query in mock env, to see what contract is that addr, got error instead: Error: Error parsing into type alloc::vec::Vec<u8>: Invalid type
.
This PR aims at fixing raw_query method for mock env
Could you elaborate what this is for ?
Just a bugfix. Wanted to cw2 raw query in mock env, to see what contract is that addr, got error instead:
Error: Error parsing into type alloc::vec::Vec<u8>: Invalid type
.
Oh, so the to_json_binary function was not working properly ?
This PR aims at fixing raw_query method for mock env
Could you elaborate what this is for ?
Just a bugfix. Wanted to cw2 raw query in mock env, to see what contract is that addr, got error instead:
Error: Error parsing into type alloc::vec::Vec<u8>: Invalid type
.Oh, so the to_json_binary function was not working properly ?
No, it(raw_query method for mock env) was trying to deserialize raw query response into Vec<u8>
, but it can succeed only if response was b"[1, 2, 3]"
, not if it's b"{"foo": "bar"}
This PR aims at fixing raw_query method for mock env