We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
register_contract_wasm
1 parent 2eede78 commit ecac9feCopy full SHA for ecac9fe
tests/soroban.rs
@@ -59,6 +59,9 @@ impl SorobanEnv {
59
}
60
61
pub fn register_contract(&mut self, contract_wasm: Vec<u8>) -> Address {
62
+ // For now, we keep using `register_contract_wasm`. To use `register`, we have to figure
63
+ // out first what to pass for `constructor_args`
64
+ #[allow(deprecated)]
65
let addr = self
66
.env
67
.register_contract_wasm(None, contract_wasm.as_slice());
0 commit comments