Skip to content

Commit

Permalink
#458: review feedback for preview9
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Jun 1, 2023
1 parent aacd8f7 commit 93c84e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions address_workaround.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@

const SorobanClient = require('soroban-client');

const contractId = process.argv[2] || undefined;
let contractId = process.argv[2] || undefined;
if (contractId) {
if (SorobanClient.StrKey.isValidContract(contractId)) {
console.log(contractId);
return;
}
const buf = Buffer.from(contractId, "hex")
console.log(SorobanClient.StrKey.encodeContract(buf));
console.log(new SorobanClient.Contract(contractId).contractId());
}
3 changes: 2 additions & 1 deletion quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ futurenet)
;;
esac

# TODO - set this to Preview9 quickstart image when available.
# this is set to the quickstart `soroban-dev` image annointed as the release
# for a given Soroban Release, it is captured on Soroban Releases - https://soroban.stellar.org/docs/reference/releases
QUICKSTART_SOROBAN_DOCKER_SHA=stellar/quickstart:soroban-dev@sha256:57e8ab498bfa14c65595fbb01cb94b1cdee9637ef2e6634e59d54f6958c05bdb

shift
Expand Down

0 comments on commit 93c84e1

Please sign in to comment.