- Mar 31, 2021
-
-
Michael Müller authored
* Bump versions * Update changelog * Apply suggestions from code review Co-authored-by: Andrew Jones <[email protected]> * Remove empty section Co-authored-by: Andrew Jones <[email protected]>
-
dependabot[bot] authored
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.2 to 1.4.5. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.4.2...1.4.5) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Michael Müller authored
* Improve error output * Add installation commands * Fix casing * Use display instead of debug
-
- Mar 30, 2021
-
-
Michael Müller authored
* Improve `wasm-opt` not found error message * Improve error message + check `wasm-opt` compatibility * Use `regex` for parsing `wasm-opt --version` * Apply suggestions from code review Co-authored-by: Andrew Jones <[email protected]> * Implement comments * Apply cargo fmt Co-authored-by: Andrew Jones <[email protected]>
-
Andrew Jones authored
* Check wasm optimized output file exists * Fmt * Add expected optimized file to error * Use display for path
-
Michael Müller authored
* Add clippy to CI * Fix `Cargo.toml` path
-
trace-andreason authored
* ink::test attributes in new template * add use ink * Update templates/new/lib.rs Co-authored-by: Michael Müller <[email protected]> Co-authored-by: Michael Müller <[email protected]>
-
- Mar 29, 2021
-
-
dependabot[bot] authored
Bumps [which](https://github.com/harryfei/which-rs) from 4.0.2 to 4.1.0. - [Release notes](https://github.com/harryfei/which-rs/releases) - [Commits](https://github.com/harryfei/which-rs/compare/4.0.2...4.1.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.39 to 1.0.40. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.39...1.0.40) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Mar 26, 2021
-
-
Michael Müller authored
* Detect version mismatches of `parity-scale-codec` * Detect `scale-info` mismatch as well * Improve error message * Clarify when a mismatch happens
-
Michael Müller authored
* Add missing derive * Write value actually to manifest * Add another test * Reduce code duplication * Implement comments * Derive `PartialEq` always
-
- Mar 24, 2021
-
-
Michael Müller authored
* Test new project template in CI * Add empty workspace before build * Add `--all-features`
-
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
-