Skip to content

Commit 43237d2

Browse files
committed
Uniswap works for Solana and Substrate
Added - Added a strength reduce pass to eliminate 256/128 bit multiply, division, and modulo where possible. - Visual Studio Code extension can download the Solang binary from github releases, so the user is not required to download it themselves - The Solana target now has support for arrays and mapping in contract storage - The Solana target has support for the keccak256(), ripemd160(), and sha256() builtin hash functions. - The Solana target has support for the builtins this and block.timestamp. - Implement abi.encodePacked() for the ethereum abi encoder - The Solana target now compiles all contracts to a single `bundle.so` BPF program. - Any unused variables, events, or contract variables are now detected and warnings are given, thanks to [LucasSte](#429) - The `immutable` attribute on contract storage variables is now supported. - The `override` attribute on public contract storage variables is now supported. - The `unchecked {}` code block is now parsed and supported. Math overflow still is unsupported for types larger than 64 bit. - `assembly {}` blocks are now parsed and give a friendly error message. - Any variable use before it is given a value is now detected and results in a undefined variable diagnostic, thanks to [LucasSte](#468) Changed - Solang now uses LLVM 12.0, based on the [Solana LLVM tree](https://github.com/solana-labs/llvm-project/) Fixed - Fix a number of issues with parsing the uniswap v2 contracts - ewasm: staticcall() and delegatecall() cannot take value argument - Fixed array support in the ethereum abi encoder and decoder - Fixed issues in arithmetic on non-power-of-2 types (e.g. uint112) Signed-off-by: Sean Young <sean@mess.org>
1 parent 8594cfa commit 43237d2

4 files changed

Lines changed: 10 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to [Solang](https://github.com/hyperledger-labs/solang/)
33
will be documented here.
44

5-
## [Unreleased]
5+
## [0.1.8]
66

77
### Added
88
- Added a strength reduce pass to eliminate 256/128 bit multiply, division,

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "solang"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
authors = ["Sean Young <sean@mess.org>"]
55
homepage = "https://github.com/hyperledger-labs/solang"
66
documentation = "https://solang.readthedocs.io/"

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Sean Young <sean@mess.org>'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.1.7'
25+
release = '0.1.8'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/installing.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,25 @@ Download release binaries
88

99
For Linux x86-64, there is a binary available in the github releases:
1010

11-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.7/solang-linux>`_
11+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.8/solang-linux>`_
1212

1313
For Windows x64, there is a binary available:
1414

15-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.7/solang.exe>`_
15+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.8/solang.exe>`_
1616

17-
For MacOS, there is an intel binary available.
18-
Remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac`` in the terminal.
17+
For MacOS, there is an arm and intel binary available.
18+
Remember to remove the quarantine attribute using ``xattr -d com.apple.quarantine solang-mac-arm`` in the terminal.
1919

20-
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.7/solang-mac>`_
20+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.8/solang-mac-arm>`_
2121

22+
`<https://github.com/hyperledger-labs/solang/releases/download/v0.1.8/solang-mac-intel>`_
2223

2324
Using hyperledgerlabs/solang docker hub images
2425
----------------------------------------------
2526

2627
New images are automatically made available on
2728
`docker hub <https://hub.docker.com/repository/docker/hyperledgerlabs/solang/>`_.
28-
There is a release `v0.1.7` tag and a `latest` tag:
29+
There is a release `v0.1.8` tag and a `latest` tag:
2930

3031
.. code-block:: bash
3132

0 commit comments

Comments
 (0)