Closed 99Kies closed 1 month ago
Check your Cargo.lock
. Most likely you have there the newest compatible version of cosmwasm_std
1.5.5.
Sylvia 0.8.1 uses the ^1.3 version as in your project.
You can safely ignore this warning, in following versions we switched from using the to_binary
to to_json_binary
.
Unfortunately we cannot silence this warning since it's not related to the impl block, but rather the generated sv
module.
To fix this, consider upgrading to the newest version of Sylvia:
https://crates.io/crates/sylvia/1.1.0 -> Uses CosmWasm 2 https://crates.io/crates/sylvia/0.10.1 -> Uses CosmWasm 1
We recommend using the 1.1.0
version, since CosmWasm 2 contracts can be used on chains using CosmWasm 1.
@kulikthebird we can consider adding the ability to forward attributes to generated modules.
how to solve this warning message?
my dependencies
warning log: