- Mar 24, 2021
-
-
Michael Müller authored
* Reduce code for `OptimizationPasses` * Fix typo: zeros ➜ zeroes * Reduce code for `OptimizationPasses` * Add log output for optimization flags * Support `optimization-passes` in the release profile * Add link to Windows binary releases to Readme * Improve failed assert message * Account for `binaryen-rs` behavior * Link GitHub issue in comment * Implement comments * Update `--help`
-
- Mar 23, 2021
-
-
dependabot[bot] authored
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.124 to 1.0.125. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.124...v1.0.125) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.3.1 to 2.3.2. - [Release notes](https://github.com/BurntSushi/walkdir/releases) - [Commits](https://github.com/BurntSushi/walkdir/compare/2.3.1...2.3.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 22, 2021
-
-
dependabot[bot] authored
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.38 to 1.0.39. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.38...1.0.39) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 18, 2021
-
-
Andrew Jones authored
* Refactoring build, phase 1 * Fmt * Extract local method for building, always optimize on build * Add MetadataResult type * Fmt * Create dest wasm dir * Execute build directly from metadata tests * Modify existing build test to code only, since metadata test now builds all * Fix errors after merge
-
Michael Müller authored
-
trace-andreason authored
* ink::test attributes in new template * add use ink * adding optimization-passes option * undoing unnecessary variable name change * remove fork changes * adding optimization_passes to tests * cargo fmting * switching to enum type * Update src/main.rs Co-authored-by: Michael Müller <[email protected]> * Update src/main.rs Co-authored-by: Michael Müller <[email protected]> * Update src/main.rs Co-authored-by: Michael Müller <[email protected]> * Update src/main.rs Co-authored-by: Michael Müller <[email protected]> * Update src/main.rs Co-authored-by: Michael Müller <[email protected]> * adding cli help comment * add line so default option is more visible * Update src/cmd/build.rs Co-authored-by: Michael Müller <[email protected]>
-
- Mar 10, 2021
-
-
Michael Müller authored
* Revert "Revert me: Remove `--all-features` (#114)" This reverts commit 4a0d352b. * Pass verbosity flag * Format use * Run tests without `binaryen-as-dependency` * Update to `scale-info` 0.6 * Fix `value used after move` * Do not continue processing wasm on `check` Results in `No such file` otherwise, since no *.wasm is generated on `check`. * Make casing consistent for `log` messages * Clarify behavior of `check` * Revert me: add debug output * Upgrade `cargo_metadata` to 0.13.1 * Fix assert for target path `target/ink` * Revert "Revert me: add debug output" This reverts commit d2bf1dd9. * Revert "Upgrade `cargo_metadata` to 0.13.1" This reverts commit 723c9b29. * Run tests only with `binaryen-as-dependency` * Upgrade cargo-metadata and fix usages (#210) * Only allow new contract names beginning with an alphabetic character (#219) * Only allow contract names beginning with an alphabetic character * Add test for contract name beginning with a number * Add test for contract name beginning with a number * Run tests only with `binaryen-as-dependency` * Refactor * Revert "Refactor" This reverts commit defe20db . Co-authored-by: Andrew Jones <[email protected]>
-
dependabot[bot] authored
Bumps [parity-wasm](https://github.com/paritytech/parity-wasm) from 0.42.1 to 0.42.2. - [Release notes](https://github.com/paritytech/parity-wasm/releases) - [Commits](https://github.com/paritytech/parity-wasm/commits/v0.42.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 09, 2021
-
-
Andrew Jones authored
* Only allow contract names beginning with an alphabetic character * Add test for contract name beginning with a number * Add test for contract name beginning with a number
-
Andrew Jones authored
-
dependabot[bot] authored
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) from 0.6.1 to 0.7.1. - [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases) - [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md) - [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 08, 2021
-
-
dependabot[bot] authored
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.123 to 1.0.124. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 04, 2021
-
-
dependabot[bot] authored
Bumps [hex](https://github.com/KokaKiwi/rust-hex) from 0.4.2 to 0.4.3. - [Release notes](https://github.com/KokaKiwi/rust-hex/releases) - [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.2...v0.4.3) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 02, 2021
-
-
Andrew Jones authored
* Update CHANGELOG.md * Bump version * Fix changelog link
-
Michael Müller authored
* Update to `parity-scale-codec` 2.0.1 in template * Add `funty` hotfix to template * Update template to ink! 3.0.0-rc3 * Update `scale-info` to 0.6.0
-
Michael Müller authored
-
dependabot[bot] authored
Bumps [zip](https://github.com/zip-rs/zip) from 0.5.10 to 0.5.11. - [Release notes](https://github.com/zip-rs/zip/releases) - [Commits](https://github.com/zip-rs/zip/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 01, 2021
-
-
dependabot[bot] authored
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.62 to 1.0.64. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.64) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Feb 24, 2021
-
-
trace-andreason authored
* no periods in new contract names * test for valid characters * more readable iterator
-
Michael Müller authored
* Bump version * Update changelog * Remove empty section from changelog
-
Michael Müller authored
* Build sub-contracts into sub-folders of `target/ink/` * Reduce code duplication with util function * Make `absolute_directory` method on `ManifestPath` * Revert unnecessary changes * Ensure workspace root is also the canonical path
-
- Feb 23, 2021
-
-
dependabot[bot] authored
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.12 to 0.3.13. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.12...0.3.13) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Feb 22, 2021
-
-
Andrew Jones authored
* Update CHANGELOG (use keepachangelog format) * Bump version
-
Michael Müller authored
* Use `--zero-filled-memory` for `wasm-opt` * Assert that compiled contract template is below 3k * Apply cargo fmt * Remove superfluous comment * Improve error message on `wasm-opt` error * Specify minimum binaryen version
-
- Feb 19, 2021
-
-
dependabot[bot] authored
Bumps [url](https://github.com/servo/rust-url) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.2.1) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Feb 18, 2021
-
-
Michael Müller authored
* Generate metadata explicitly for the contract which is build * Improve naming and comments * Revert me: Hotfix for funty issue * Move path replacement logic * Revert new line change * Simplify for which package metadata is generated * Change order back * Make code clearer
-
Michael Müller authored
* Revert me: Hotfix for funty issue * Assert that size of resulting wasm is > 0 * Ensure optimized file is not overwritten with empty file on `not(feature = binaryen-as-dependency)` * Fix `warning: panic message is not a string literal` * Do not record debug info * Update comments
-
- Feb 15, 2021
-
-
dependabot[bot] authored
Bumps [zip](https://github.com/zip/zip-rs) from 0.5.9 to 0.5.10. - [Release notes](https://github.com/zip/zip-rs/releases) - [Commits](https://github.com/zip/zip-rs/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Brian Anderson authored
-
- Feb 12, 2021
-
-
dependabot[bot] authored
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.2 to 0.8.3. - [Release notes](https://github.com/env-logger-rs/env_logger/releases) - [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.3) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Feb 11, 2021
-
-
Michael Müller authored
* Implement Wasm validation for known issues/markers * Add test for invalid panic import * Add prefix to error markers * Add test for ink! codegen error marker * Implement improved linker error protocol * Move validation into its own module * Migrate tests to new linker error protocol * Fix merge * Improve code structure * Fix formatting * Improve code structure * Remove mod indirection * Replace `contains` with `starts_with` * Add note regarding equivalent ink! type necessity * Throw an error on invalid import function * Add sunny day test * Do not panic if no import section is found * Update error message on decoding error
-
- Feb 08, 2021
-
-
dependabot[bot] authored
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Feb 05, 2021
-
-
dependabot[bot] authored
Bumps [assert_matches](https://github.com/murarth/assert_matches) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/murarth/assert_matches/releases) - [Commits](https://github.com/murarth/assert_matches/commits) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Feb 04, 2021
-
-
Michael Müller authored
* Fix `#[warn(clippy::ptr_arg)]` * Use either `binaryen-rs` dep or `wasm-opt` binary * Implement reviewers suggestions * Rename `optimization_level` to `optimization_passes` * Revert "Rename `optimization_level` to `optimization_passes`" This reverts commit 1fd35bcd. * Update installation instructions * Update readme * Add package manager links
-
- Feb 03, 2021
-
-
Michael Müller authored
* Fix `#[warn(clippy::ptr_arg)]` * Fix `#[warn(clippy::ptr_arg)]` * Fix `#[warn(clippy::match_like_matches_macro)]` * Fix `#[warn(clippy::type_complexity)]`
-
Michael Müller authored
* Print warning to stderr * Suppress output on `--quiet` * Refactor conditional printing
-
- Jan 28, 2021
-
-
Andrew Jones authored
* Update to scale-info 0.5 and codec 2.0 * Upgrade template to new codec
-
dependabot[bot] authored
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.11 to 0.3.12. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.11...0.3.12) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jan 27, 2021
-
-
dependabot[bot] authored
Bumps [log](https://github.com/rust-lang/log) from 0.4.13 to 0.4.14. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.13...0.4.14) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-