Closed NotJeremyLiu closed 9 months ago
The recent updates across various contracts and tests indicate a transition from binary to JSON serialization for handling query responses and message serialization. This change enhances the clarity and interoperability of data representation within the contracts' ecosystem.
Files | Change Summary |
---|---|
.../ibc-hooks/src/contract.rs , .../neutron-transfer/src/contract.rs |
Replaced to_binary with to_json_binary in query functions. |
.../ibc-hooks/tests/test_*.rs , .../neutron-transfer/tests/test_*.rs |
Updated expected error strings in tests with more details. |
.../swap/*/src/contract.rs , .../entry-point/src/contract.rs |
Changed to_binary calls to to_json_binary for message serialization. |
.../swap/*/tests/test_*.rs , .../entry-point/tests/test_*.rs |
Replaced to_binary with to_json_binary in test message serialization. |
.../entry-point/src/execute.rs |
Shifted from binary to JSON serialization with from_json and to_json_binary . |
.../skip/src/asset.rs |
Updated message serialization to JSON and removed AssetInfo import. |
🐇✨ In the land of code, where data streams flow, A change was made, JSON's the new glow. Binary waves goodbye, with a soft, silent sigh, As JSON takes the stage, under the tech sky. 🌟 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR
make upgrade
andmake update
to keep dependencies up to dateneutron-sdk
to0.8
from_binary
andto_binary
fromcosmwasm_std
and replaces them with their replacementsfrom_json
andto_json_binary
Summary by CodeRabbit
Refactor
Tests
Chores