You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,49 @@ will be documented here.
4
4
5
5
## Unreleased
6
6
7
+
## v0.3.4 London
8
+
7
9
### Added
10
+
-**Soroban** Support for [Stellar Asset Contract(SAC)](https://developers.stellar.org/docs/tokens/stellar-asset-contract)
11
+
-**Soroban** Support for [Cross Contract Calls](https://developers.stellar.org/docs/build/smart-contracts/example-contracts/cross-contract-call)
12
+
-**Soroban** Support for [Soroban Authorization Framework](https://developers.stellar.org/docs/learn/fundamentals/contract-development/authorization)
13
+
-**Soroban** Support for different [Soroban Storage types](https://developers.stellar.org/docs/build/guides/storage/choosing-the-right-storage)
8
14
-**Soroban** Work on adding support for [Stellar's Soroban](https://soroban.stellar.org/docs) contracts platforms started, by adding a skeleton that supports the Soroban runtime. [Salaheldin Soliman](https://github.com/salaheldinsoliman)
9
-
10
15
- The `string.concat()` and `bytes.concat()` builtin functions are supported. [seanyoung](https://github.com/seanyoung)
16
+
-**Experimental**: Three address code format IR for the CFG has been implemented (disabled by default).
17
+
[fanyi-zhao](https://github.com/fanyi-zhao).
18
+
-**Polkadot**: Compatibility with ink! v5.0 metadata and substrate-contracts-node v0.39.0
-**Polkadot/BREAKING**: Event encoding and topics follow [ink! v5.0](https://use.ink/faq/migrating-from-ink-4-to-5#events-20-1)
13
26
-**BREAKING** The non-standard extension of concatenating strings using the `+` operator
14
27
has been removed, use `string.concat()` instead. [seanyoung](https://github.com/seanyoung)
15
28
- Removed the `--no-log-api-return-codes` compile flag as this is now done by the runtime [xermicus](https://github.com/xermicus)
29
+
-**Solana/BREAKING**: Remove balance, transfer, and send builtins from Solana [LucasSte](https://github.com/LucasSte)
30
+
- No longer support numbers in octal notation [seanyoung](https://github.com/seanyoung)
31
+
- Moved to LLVM version 16 [seanyoung](https://github.com/seanyoung)
32
+
- Improve overloaded function call diagnostics: From Solidity 0.6 onwards, overloaded functions or events
33
+
resolving to multiple candidates are an error. In earlier versions, the first result is used.
34
+
[seanyoung](https://github.com/seanyoung)
35
+
-**Polkadot**: Implement the caller_is_root runtime API as a builtin [xermicus](https://github.com/xermicus)
36
+
37
+
### Fixed
38
+
-[Two Infinite loops in codegen](https://github.com/hyperledger-solang/solang/commit/c6db2acc8a3927fae17c437eeeea0d0ae49a67df), thanks to @smoelius.
39
+
-[Handle abi.encode() with infinite empty arguments](https://github.com/hyperledger-solang/solang/commit/12a6d83b91f7f5a4cc48156e1112638e733e143a), thanks to @smoelius.
40
+
- Unreachable code, function types with parameter/return names and unknown assembly flags are warnings
41
+
instead of errors, matching with solc. [xermicus](https://github.com/xermicus)
42
+
- Fixed a bunch of typos in the documentation [divdeploy](https://github.com/divdeploy)
43
+
- Clean up the LLD linker context after linking each contract, preventing potential issues when compiling
44
+
multiple contracts at once. [xermicus](https://github.com/xermicus)
45
+
- Expression statement should be followed by a semicolon, fixing a bug where "_;" was incorrectly parsed
46
+
as a variable. [seanyoung](https://github.com/seanyoung)
47
+
- Represent type(T) correctly in the AST, fixing various related issues [seanyoung](https://github.com/seanyoung)
48
+
- Fix a bug in abi.encodeCall() argument parsing when there is only a single argument [seanyoung](https://github.com/seanyoung)
49
+
- Fixed a codegen bug when the RHS of a shift expression is a struct member [PaddyClark0](https://github.com/PaddyClark0)
You will have a file called `token.wasm`. Deploy it using the [`Stellar CLI`](https://developers.stellar.org/docs/tools/cli), after following the [`Stellar CLI Setup Manual`](https://developers.stellar.org/docs/build/smart-contracts/getting-started/setup):
64
+
65
+
```bash
66
+
stellar contract deploy --source-account alice --wasm token.wasm --network testnet -- --_admin alice --_name SolangToken --_symbol SOLT --_decimals 18
67
+
ℹ️ Skipping install because wasm already installed
68
+
ℹ️ Using wasm hash b1c84d8b8057a62fb6d77ef55c9e7fb2e66c74136c7df32efd87a1c9d475f1b0
69
+
ℹ️ Simulating deploy transaction…
70
+
ℹ️ Transaction hash is fc3b1f00d2940e646d210e6e96347fd45dc8dd873009604ec67957edb6f6589d
Once deployed, copy the deployed contract ID and interact with it:
80
+
81
+
```bash
82
+
stellar contract invoke --network testnet --id CDGUMUXA6IRRVMMKIVQJWLZZONDXBJ4AITHQS757PTBVAL4U54HI3KEW --source-account alice -- mint --to alice --amount 120
0 commit comments