Commit 54a6a87
[chore]sdk-examples: fix broken py-stellar-base imports (#2545)
* chore(sdk-examples): fix broken py-stellar-base imports
Standing-correctness audit against py-stellar-base 14.1.1:
learn/migrate/evm/smart-contract-deployment.mdx imported from the
pre-v9 `stellar_sdk.soroban.*` sub-package, which no longer exists
(the module layout is flat: `soroban_server`, `soroban_rpc`).
`SorobanServer` is re-exported at the top level, so the import is now
`from stellar_sdk import SorobanServer`. The second import
(`TransactionStatus` from `stellar_sdk.soroban.soroban_rpc`) referenced
a symbol that no longer exists under that name and was unused in the
snippet, so it was removed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Update docs/learn/migrate/evm/smart-contract-deployment.mdx
Co-authored-by: Leigh <351529+leighmcculloch@users.noreply.github.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Leigh <351529+leighmcculloch@users.noreply.github.com>1 parent 676111f commit 54a6a87
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
| 122 | + | |
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
| |||
0 commit comments