We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59ad7dd commit aa6cde5Copy full SHA for aa6cde5
crates/stellar-registry-cli/src/commands/deploy.rs
@@ -167,7 +167,7 @@ impl Cmd {
167
function_name: "deploy".try_into().unwrap(),
168
args: [
169
ScVal::String(ScString(self.wasm_name.clone().try_into().unwrap())),
170
- ScVal::Void, // TODO should be a way to pass version
+ self.version.clone().map(|s|ScVal::String(ScString(s.try_into().unwrap()))).unwrap_or(ScVal::Void),
171
ScVal::String(ScString(self.contract_name.clone().try_into().unwrap())),
172
ScVal::Address(xdr::ScAddress::Account(AccountId(
173
xdr::PublicKey::PublicKeyTypeEd25519(Uint256(key.verifying_key().to_bytes())),
0 commit comments