Skip to content

Commit

Permalink
pre-release: 12.0.0-beta5 (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat authored Nov 23, 2024
1 parent a30157f commit eddca04
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ Release History

### Pending

### Version 12.0.0-beta5

Released on November 23, 2024

#### Update
- fix: fix a bug in `AssembledTransaction.simulate`. ([#1000](https://github.com/StellarCN/py-stellar-base/pull/1000))

### Version 12.0.0-beta4

Released on November 22, 2024
Expand Down
4 changes: 2 additions & 2 deletions examples/soroban_invoke_contract_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ def parse_result_xdr(result):
return [scval.from_string(s).decode() for s in scval.from_vec(result)]


te: AssembledTransaction[List[str]] = ContractClient(
assembled: AssembledTransaction[List[str]] = ContractClient(
contract_id,
rpc_server_url,
network_passphrase,
).invoke("hello", [scval.to_string("world")], parse_result_xdr_fn=parse_result_xdr)
print(f"Result from simulation: {te.result}")
print(f"Result from simulation: {assembled.result}")

# hello is a read-only function, so we don't need to sign and submit the transaction.
# You can check `soroban_auth_atomic_swap.py` for an example of a function that requires signing and submitting.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stellar-sdk"
version = "12.0.0b4"
version = "12.0.0b5"
description = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon and Soroban-RPC server."
authors = [
"overcat <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion stellar_sdk/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
__description__ = "The Python Stellar SDK library provides APIs to build transactions and connect to Horizon and Soroban-RPC server."
__url__ = "https://github.com/StellarCN/py-stellar-base"
__issues__ = f"{__url__}/issues"
__version__ = "12.0.0b4"
__version__ = "12.0.0b5"
__author__ = "Eno, overcat"
__author_email__ = "[email protected], [email protected]"
__license__ = "Apache License 2.0"

0 comments on commit eddca04

Please sign in to comment.