- Dec 20, 2021
-
-
Andrew Jones authored
* Cargo upgrade * Update blake2 hash function * Cargo update
-
- Dec 17, 2021
-
-
dependabot[bot] authored
* Bump heck from 0.3.3 to 0.4.0 Bumps [heck](https://github.com/withoutboats/heck) from 0.3.3 to 0.4.0. - [Release notes](https://github.com/withoutboats/heck/releases) - [Changelog](https://github.com/withoutboats/heck/blob/master/CHANGELOG.md) - [Commits](https://github.com/withoutboats/heck/commits) --- updated-dependencies: - dependency-name: heck dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix trait and method name changes * Upper camel case Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Jones <[email protected]>
-
- Dec 13, 2021
-
-
Michael Müller authored
https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
-
- Nov 29, 2021
-
-
Green Baneling authored
* Added `workspace` section to override parent `workspace` * Apply suggestions from code review Co-authored-by: Andrew Jones <[email protected]> Co-authored-by: Andrew Jones <[email protected]>
-
- Nov 16, 2021
-
-
Green Baneling authored
* `-Clinker-plugin-lto` reduced the size of my contract From: Original wasm size: 68.6K, Optimized: 31.9K To: Original wasm size: 67.2K, Optimized: 31.0K * Compiler will use `-Clinker-plugin-lto` if `lto` is enabled
-
- Nov 08, 2021
-
-
achimcc authored
* add offline flag to build mode * add network enum and interpret --offline flag * support offline flag for metadata generation * cargo fmt * cargo clippy * fix tests
-
- Aug 12, 2021
-
-
Michael Müller authored
* Add log output * Add #326 to changelog * Bump version * Fix changelog
-
Hernando Castano authored
* Spit out JSON results at the end of a build * Mark `--output_json` as conflicting with `--verbose` * Override verbosity to `quiet` when outputting JSON * Update tests to include `OutputType` param * Temporarily please Clippy * Add some logging This is gonna fail, but I want to see what the CI has to say. * Remove TODO so that format CI step passes * Return result from `serialize_json` * Make JSON test a sanity check * Mention this PR in the CHANGELOG * Implement `Default` for a few build options * Address Clippy's `too_many_arguments` lint * Use `ExecuteArgs` in tests * Make `manifest_path` field public instead Clippy was complaining about `dead_code` when building in non-test mode, so I'm going with this instead. * Apply suggestions from code review Co-authored-by: Michael Müller <[email protected]> * Sanity check `BuildResult'` JSON serialized form * Add `execute()` test back * Import `OutputType` in tests Co-authored-by: Michael Müller <[email protected]>
-
Alexander Theißen authored
* Do not strip out panic messages in debug builds * Build code_only test in release mode
-
- Aug 04, 2021
-
-
Michael Müller authored
* Debug test * More debugging * Add debugging info * More debugging * More debugging * More debugging * More debugging * Remove debugging code * Restore workflow * Restore workflow * Test more sub-commands
-
- Aug 03, 2021
-
-
Michael Müller authored
* Run tests for Windows * Add test to reproduce error * Canonicalize paths in test * Revert me: Run only necessary tests * Join `Path`'s to avoid OS-specific separators * Revert me: Debug output * Fix workflow * Revert me: Debugging * Windows debugging * More debugging * Debugging * Debugging * Add nightly * Debugging * Debugging * Debugging * Debugging * Debugging * Fix commands * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Debug path * Remove eprintln's * Test should fail * Test should run * Test should run * Restore Windows testing * Apply `cargo fmt` * Fix default * Remove debug stuff * Run tests only `master` * Update changelog
-
- Jul 22, 2021
-
-
Michael Müller authored
* Implement `BuildMode` * Remove `ignore` since all tests are failing anyway * Switch to `--release` * Revert "Switch to `--release`" This reverts commit 3cb01e10. * Keep `BuildMode` enum * Improve readability * Update changelog * Make `rustfmt` always report todo's and fixme's * Remove todo comment * Fix tests
-
Hernando Castano authored
* Change default opitmization pass to focus on code size * Change default optimization level from `-Os` to `-Oz` * Update CHANGELOG
-
- Jul 20, 2021
-
-
Alexander Theißen authored
-
Alexander Theißen authored
* Check all the code with clippy * Fix clippy warnings
-
Alexander Theißen authored
* Add `--keep-symbols` flag * Replace pwasm_utils::optimize by a simple export stripper * Satisfy clippy * Fix typos Co-authored-by: Michael Müller <[email protected]> * Fix test build errors * Fix tests * Rename to `--keep-debug-symbols` * Add test for `--keep-debug-symbols` * Fix typos Co-authored-by: Andrew Jones <[email protected]> Co-authored-by: Michael Müller <[email protected]> * Restore when/then Co-authored-by: Michael Müller <[email protected]> Co-authored-by: Andrew Jones <[email protected]>
-
- Jul 03, 2021
-
-
chiefbiiko authored
-
- Jun 17, 2021
-
-
Michael Müller authored
-
- May 25, 2021
-
-
Michael Müller authored
* Always use for Wasm output file name * Use `contract_artifact_name` instead of `package_name` * Apply `cargo fmt` * Satisfy clippy
-
- May 12, 2021
-
-
Michael Müller authored
* Suggest `binaryen` installation from GitHub on outdated version * Fix tests
-
- Apr 21, 2021
-
-
Michael Müller authored
* Add CI for building contract template under Windows * Disable `unix` specific tests * Remove build warnings due to `dead_code` with default features * Remove unused `binaryen` dependency * Ensure path is always canonicalized for comparison * Apply auto-formatting to yml * CI: optimize caching Co-authored-by: Denis P <[email protected]>
-
Michael Müller authored
* Remove deprecated `check` command * Update CHANGELOG.md Co-authored-by: Andrew Jones <[email protected]> Co-authored-by: Andrew Jones <[email protected]>
-
- Apr 20, 2021
-
-
Michael Müller authored
* Add fix * Revert "Add fix" This reverts commit 5c81fee5. * Generate unique contract names for tests * Fix test * Implement comments * Implement comments
-
- Apr 13, 2021
-
-
Michael Müller authored
error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value --> src/workspace/profile.rs:75:22 | 75 | fn to_toml_value(&self) -> value::Value { | ^^^^^ | = note: `-D clippy::wrong-self-convention` implied by `-D warnings` = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value --> src/workspace/profile.rs:102:22 | 102 | fn to_toml_value(&self) -> value::Value { | ^^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention error: methods with the following characteristics: (`to_*` and `self` type is `Copy`) usually take `self` by value --> src/workspace/profile.rs:121:22 | 121 | fn to_toml_value(&self) -> value::Value { | ^^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
-
- Apr 12, 2021
-
-
Michael Müller authored
* Remove support for `binaryen-as-dependency` * Add to changelog
-
- Apr 06, 2021
-
-
Michael Müller authored
* Fix `wasm-opt --version` parsing * Mark stdout output and error clearer * Implement comments * Update readme * Update readme
-
- Apr 01, 2021
-
-
Aten authored
* add git commit hash in cargo-contract version * remove todo and add version for `cargo contract` command * It seems that I misunderstand the requirements. recover the old modify * remove `pub`
-
- Mar 31, 2021
-
-
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
-
- 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
* 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 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]>
-
- 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
-
- Feb 24, 2021
-
-
trace-andreason authored
* no periods in new contract names * test for valid characters * more readable iterator
-