soroban contract build command is failing. Maybe due to latest soroban-sdk release 20.0.0?
❯ soroban contract build
cargo rustc --manifest-path=Cargo.toml --crate-type=cdylib --target=wasm32-unknown-unknown --release
Compiling soroban-did-contract v0.1.0 (/home/miguelnietoa/kommit/ospo/soroban-did-contract)
error[E0599]: no method named `bump` found for struct `Instance` in the current scope
--> src/contract.rs:41:14
|
39 | / e.storage()
40 | | .instance()
41 | | .bump(LEDGERS_THRESHOLD, LEDGERS_TO_EXTEND);
| | -^^^^ method not found in `Instance`
| |_____________|
|
warning: use of deprecated associated function `soroban_sdk::String::from_slice`: use from_str
--> src/did_uri.rs:14:28
|
14 | let hash_str = String::from_slice(e, "#");
| ^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default