Skip to content

Commit

Permalink
release: v1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgar2017 committed Aug 26, 2024
1 parent 2697d7a commit 84af966
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 16 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# The `zksolc` changelog

## [Unreleased]
## [1.5.3] - 2024-08-27

### Added

- More LLVM optimizations

### Changed

- Migrated to the LLVM-based assembler and linker
- Updated to Rust v1.80.1

### Fixed

- The complex bitwise operations misoptimization

## [1.5.2] - 2024-07-31

### Added
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ authors = [
]
license = "MIT OR Apache-2.0"
edition = "2021"
version = "1.5.2"
version = "1.5.3"
2 changes: 1 addition & 1 deletion LLVM.lock
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
url = "https://github.com/matter-labs/era-compiler-llvm"
branch = "main"
branch = "v1.5.2"
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ We recommend at least 4 GB of RAM available for the build process.
<details>
<summary>3. Download `solc` compiler.</summary>

[Download a version](https://github.com/ethereum/solc-bin) of [the solc compiler](https://docs.soliditylang.org/en/v0.8.21/) compiler.
[Download the latest version](https://github.com/ethereum/solc-bin) of [the solc compiler](https://docs.soliditylang.org/en/latest/) compiler.

> If it is not named exactly `solc` and in your `$PATH`, see the `--solc` option below.

Expand Down Expand Up @@ -178,19 +178,10 @@ The `solc` compiler must be available in `$PATH`, or its path must be passed exp
For big projects it is more convenient to use the compiler via the Hardhat plugin. For single-file contracts, or small
projects, the CLI suffices.

## Unit testing
## Unit and e2e/CLI testing

Run `cargo test` from the repository root.

## CLI testing

For running command line interface tests, `zksolc` itself and `solc` must also be available in `$PATH`, because it calls itself recursively to allow compiling each contract in a separate processes. To successfully run CLI tests:

1. Go to `cli-tests`.
2. Make `npm i`.
3. Add `solc` and `zksolc` to `$PATH`.
4. Run `npm test`.

## Troubleshooting

- Unset any LLVM-related environment variables you may have set, especially `LLVM_SYS_<version>_PREFIX` (see e.g. [llvm-sys](https://crates.io/crates/llvm-sys) and [https://llvm.org/docs/GettingStarted.html#local-llvm-configuration](https://llvm.org/docs/GettingStarted.html#local-llvm-configuration)). To make sure: `set | grep LLVM`
Expand Down

0 comments on commit 84af966

Please sign in to comment.