- 13 Nov, 2020 2 commits
-
-
Andrew Jones authored
-
Andrew Jones authored
-
- 11 Nov, 2020 1 commit
-
-
Michael Müller authored
-
- 10 Nov, 2020 2 commits
-
-
Michael Müller authored
-
Michael Müller authored
* Fix URIs * Make `generate-metadata` output consistent with `build` * Add `cargo contract pack` * Return error instead of panicking * Use blake2_hash() * Replace match with if * Pass reference instead of ownership * Generate metadata.json and <contract>.pack * Output .wasm, .json, .pack * Return result object instead of tuple * Get it to run with '--features test-ci-only' * Rename .pack to .contract * Apply suggestions from code review Co-authored-by:
Alexander Theißen <alex.theissen@me.com> * Introduce '--skip-packing' and '--skip-metadata' * Apply suggestions from code review Co-authored-by:
Alexander Theißen <alex.theissen@me.com> * Short help message * Output deprecated error for 'generate-metadata' * Rename pack ➜ bundle * Add 'cargo contract check' command * Optimize resulting Wasm file, except on 'check' * Do not make unoptimized file easily mistake for optimized one * Get it to run with * Update readme * Make unoptimized wasm not show up in target folder * Update comments * Remove 'generate-metadata' variants * Move dispatch logic into metadata * Update src/main.rs Co-authored-by:
Alexander Theißen <alex.theissen@me.com> * Move logic into build.rs * Improve progress output * Make clippy happy * Fix progress output * Make it work with `--features test-ci-only` * Apply cargo fmt * Always use optimized Wasm for metadata hash * Always use optimized Wasm for metadata hash * Make it work with `--features test-ci-only` * Switch naming * Fix metadata/bundle output * Use enum `BuildArtifacts` instead of boolean flags * Improve misleading fn name * Make it work with `--features test-ci-only` * Make output more concise * Print optimization result at the end * Improve output * Replace 5-tuple return value with struct * Include hash only for bundle in metadata * Make it work with `--features test-ci-only` * Fix doc test * Remove comments * Introduce wrapper type CodeHash * Make it work with `--features test-ci-only` * Display important results bold * Include size diff for `code-only` as well * Remove comment * Shorten code * Clone metadata for correct UI output * Remove unnecessary return * Fix return type * Print metadata generation in correct step Co-authored-by:
Alexander Theißen <alex.theissen@me.com>
-
- 05 Nov, 2020 2 commits
-
-
Andrew Jones authored
* Replace xbuild with cargo build-std * Comment about overridden RUSTFLAGS Co-authored-by:
Michael Mueller <mich@elmueller.net>
-
Michael Müller authored
-
- 02 Nov, 2020 1 commit
-
-
Michael Müller authored
* Use binaryen-rs as dep instead of manual install of wasm-opt * Get CI to build binaryen-sys * Add explanatory comment * Remove CXX export, will be set in docker instead
-
- 29 Oct, 2020 1 commit
-
-
Andrew Jones authored
* Add --manifest-path to build and generate-metadata * Fix up manifest path options * Fmt and use ManifestPath * Update src/main.rs Co-authored-by:
Michael Müller <michi@parity.io> Co-authored-by:
Michael Müller <michi@parity.io>
-
- 27 Oct, 2020 1 commit
-
-
Denis_P authored
* change (CI): some modern CI features * change (conf): chown * change (CI): missed one `only` * change (CI): create config file in new CARGO_HOME * change (CI): mkdir for prepopulation 1 step deeper * change (CI): do not look in the same dir
-
- 26 Oct, 2020 1 commit
-
-
Andrew Jones authored
* Bump version * Update CHANGELOG.md
-
- 22 Oct, 2020 1 commit
-
-
Hero Bird authored
-
- 13 Oct, 2020 1 commit
-
-
Andrew Jones authored
* Use ink 3.0.0-rc1 * Fix template ink deps * Fix deprecation warnings * Update CHANGELOG.md * Update README * Fmt * Add README to metadata crate to allow publishing * Add templates dir to include for publishing * Update Cargo.lock * Just make it 0.7.0 release
-
- 02 Oct, 2020 1 commit
-
-
Hero Bird authored
-
- 01 Oct, 2020 1 commit
-
-
Hero Bird authored
-
- 10 Sep, 2020 1 commit
-
-
Andrew Jones authored
* Extract contract metadata to its own crate * Add json serialization test * Add json test for excluding optional fields * Add doc tests and rename to contract-metadata * Fmt * Fix tests * Fmt * Builder API for contract metadata * Tests for builder pattern * Fmt * Make metadata version camel case * Builder optional fields * Check whether fields have not already been set * Check at least one author * I really should check it compiles before pushing * Oh yeah and cargo fmt fml * Yeah
-
- 14 Aug, 2020 1 commit
-
-
Andrew Jones authored
-
- 13 Aug, 2020 1 commit
-
-
Andrew Jones authored
* Upgrade dependencies * Update readme for minimum nightly requirement
-
- 05 Aug, 2020 1 commit
-
-
Andrew Jones authored
-
- 23 Jul, 2020 1 commit
-
-
Andrew Jones authored
* Generate main.rs with quote for passing extension metadata * Update template to scale-info 0.3 * Rename ink_abi package to ink_metadata * Temporarily change ink dependency branch to aj-extra-metadata * Fix up metadata generation codegen * Promote metadata mod to directory * Move InkProjectExtension data structure over from ink! PR * Revert "Generate main.rs with quote for passing extension metadata" This reverts commit 0929ce8a * Make it compile * Flatten metadata struct * Fmt * Capture ink metadata from stdout * Update comment * Construct hardcoded metadata values * Remove contract metadata builder, it is redundant * Generate contract wasm hash * Refactor: extract CrateMetadata for use in both metadata and build * Fmt * Rust version * Contract version * Add remaining optional enhanced metadata * Move wasm build, make repo and license work * Just use a String for the license * Remove unused variants * Read docs and homepage urls directly from manifest * Read user defined metadata * Fmt * This PR no longer depends on an updated version of ink! * Fix test error, refactor commands to use common method name * Fmt * Refactor crate metadata collection * Remove ink_lang dependency from generated metadata crate * Fmt * Return metadata path from generation * Fmt * Test metadata wasm hash * Fmt * Read ink language version * Ensure tmp dir is cleaned up after build * Make cargo-contract tmp dir not hidden * Fmt * Test source compiler, contract name, contract version * Use ink branch temporarily * Test for authors and documentation * Test user provided metadata section * Drop automatically handles tempdir removal * Remove redundant unwind bound * Comment crate features * Revert template to point at ink master * Self * Update comment * Remove redundant comment
-
- 09 Jul, 2020 2 commits
-
-
Andrew Jones authored
* Update CI docker image` * Rename ink_abi -> ink_metadata to fix tests
-
Andrew Jones authored
* Add file header check * Update file headers replacing ink!
-
- 25 Jun, 2020 1 commit
-
-
Andrew Jones authored
* Use latest subxt release * Use subxt 0.9.0
-
- 24 Jun, 2020 1 commit
-
-
Andrew Jones authored
* Use into for constructing toml values * Promote workspace mod to directory * Fix import warnings * Update license headers * Remove abi package from template, generate it instead * Extract contract name and generate files * Fix some errors * Insert ink_lang dependency * Fmt * ink! v2 compatibility * Use new generate_metadata extern * Warn the user if they have legacy abi_gen artifacts * Move existing abi package check to the right place * Remove v2 backwards compat, use ink! master in template * Remove type_metadata dependency * Fix up template for working with ink! master * Update template lib.rs for ink! 3 * Fix template * Fix template constructors * Try again with template * Move template files to templates dir * Rename abi to metadata * Rename abi constant and update warning * More renames from abi to metadata * Document generate_package function * Fmt * More abi to metadata renames * Update template parity-scale-codec * Bump version
-
- 19 Jun, 2020 1 commit
-
-
Andrew Jones authored
* Use into for constructing toml values * Promote workspace mod to directory * Fix import warnings * Update license headers * Fmt * Remove code from original PR
-
- 16 Jun, 2020 1 commit
-
-
Andrew Jones authored
* Add preferred defaults to `[profile.release]` section * Add preferred profile.release defaults for contract build * Remove [release.profile] section, update to scale-info release * Fmt * Fix remaining type-metadata reference in template * Remove unused default impl of Profile * OptLevel refactoring * Indent test toml for readability * Specify exact Lto values * Make OptLevel consistent with Lto (no option) * Revert to using type-metadata until ink! 3.0 release
-
- 22 May, 2020 1 commit
-
-
Andrew Jones authored
* Add option to build with unmodified original manifest * Fmt * Add unstable-options * Fmt * Warn during build if original-manifest enabled * Fmt * Update comment * Fix metadata generation
-
- 18 May, 2020 1 commit
-
-
Andrew Jones authored
-
- 13 May, 2020 1 commit
-
-
Andrew Jones authored
* Update installation instructions * Upgrade to latest subxt * Fmt
-
- 12 May, 2020 2 commits
-
-
Andrew Jones authored
-
Andrew Jones authored
* Upgrade cargo-xbuild to include LTO fix * Bump version * Update CHANGELOG * Disable lto for metadata generation, enable for contract build * Fmt * Update changelog
-
- 26 Mar, 2020 1 commit
-
-
Andrew Jones authored
* Update subxt and bump version * Update CHANGELOG * Update README * Fail build.rs when error, add diagnostics * Rename template Cargo.toml files so they are not excluded from the package It appears any dir with a Cargo.toml (not included in the workspace) is excluded from the package. * Reorder env vars for clarity * Add mention of crates.io release in CHANGELOG * Valid category slugs
-
- 18 Mar, 2020 2 commits
-
-
Andrew Jones authored
-
Hero Bird authored
* update template to ink! 2.0 dependencies * fix abi_gen ink_lang version * change version tag latest-v2.0 -> latest-v2 * fix Cargo version of ink! crates
-
- 09 Mar, 2020 1 commit
-
-
Denis_P authored
* change the CI docker image * should have created the dir to store artifacts * test saving artifact * test ok, ready to merge
-
- 06 Mar, 2020 1 commit
-
-
Andrew Jones authored
* Update parity-scale codec to 1.2 * Update subxt version and use crates.io for sp-core
-
- 03 Mar, 2020 2 commits
-
-
Stefanie Doll authored
-
Stefanie Doll authored
To automatically post release updates to Riot room
-
- 02 Mar, 2020 1 commit
-
-
Denis_P authored
* save built artifact, it will be available in gitlab job * change the CI docker image * if gitlab can rebase * if gitlab can rebase to origin * git creds * whatever origin should work * how to know that I'm on the right branch * remove --release from test
-
- 26 Feb, 2020 1 commit
-
-
Andrew Jones authored
-