1. Aug 13, 2020
  2. Aug 05, 2020
  3. Jul 23, 2020
    • Andrew Jones's avatar
      Generate extended contract metadata (#62) · d28a743b
      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
      d28a743b
  4. Jul 09, 2020
  5. Jun 25, 2020
  6. Jun 24, 2020
    • Andrew Jones's avatar
      Autogenerate abi/metadata package (#58) · 80716750
      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
      ink-ci
      80716750
  7. Jun 19, 2020
  8. Jun 16, 2020
    • Andrew Jones's avatar
      Add preferred default release profile settings (#55) · 4a265c3d
      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
      4a265c3d
  9. May 22, 2020
  10. May 18, 2020
  11. May 13, 2020
  12. May 12, 2020
  13. Mar 26, 2020
    • Andrew Jones's avatar
      Release v0.6.0 (#50) · 25b7234b
      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
      v0.6.0
      25b7234b
  14. Mar 18, 2020
  15. Mar 09, 2020
    • Denis_P's avatar
      Fix saving artifact (#46) · 47befe5c
      Denis_P authored
      * change the CI docker image
      
      * should have created the dir to store artifacts
      
      * test saving artifact
      
      * test ok, ready to merge
      47befe5c
  16. Mar 06, 2020
  17. Mar 03, 2020
  18. Mar 02, 2020
    • Denis_P's avatar
      Save built artifact, it will be available in gitlab job (#17) · 7da03c18
      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
      7da03c18
  19. Feb 26, 2020
    • Andrew Jones's avatar
      Update CHANGELOG for 0.4.1 release · f129a801
      Andrew Jones authored
      f129a801
    • Andrew Jones's avatar
      Bump to v0.4.1 · d6fe3b04
      Andrew Jones authored
      v0.4.1
      d6fe3b04
    • Andrew Jones's avatar
      Fail the build if xbuild fails (#41) · 2e8f9e6f
      Andrew Jones authored
      * Fail the build if xbuild fails
      
      * Debug log now redundant
      
      * Add wasm-opt to release notes
      2e8f9e6f
    • Andrew Jones's avatar
      Reduce wasm binary size with `cargo-xbuild` & removing `rlib` crate-type (#33) · ec118fff
      Andrew Jones authored
      * WIP: building wasm with xargo
      
      * Fix compilation errors
      
      * Fmt
      
      * Run commands with `rustup run nightly`
      
      * Pass separate link-args in rustflags for xargo compat
      
      * Warn user if 'rlib' crate type
      
      * Colourise printed error
      
      * Ignore Xargo.toml in template
      
      * Refactor Xargo file generation, only remove if generated.
      
      * WIP: Add rlib crate-type when generating metadata
      
      * Add rlib when building metadata, remove when building wasm
      
      * Fmt
      
      * Make error bright red
      
      * Fix generating without modified Cargo.toml
      
      * Don't need to check nightly installed, the command will fail
      
      * Only load toml when ready to modify: allow for multi usage
      
      * Fmt
      
      * Show error context
      
      * Debug crate metadata
      
      * Disable rlib by default for template
      
      * Use correct working dir, not workspace root
      
      * Use `cargo-xbuild` as lib
      
      * Check for nightly channel
      
      * Check for correct xbuild configuration
      
      * Add xbuild config to template
      
      * Fix xbuild config check and use latest xbuild version
      
      * Fmt
      
      * Restore tempfile dev dependency
      
      * Move xbuild config to the end of the file
      
      * Enable rlib by default in template
      
      * Don't need nightly for generating the metadata
      
      * Actually do need nightly, and just run plain cargo
      
      * Not verbose: need to pass that flag through properly
      
      * Fmt
      
      * Fix tests
      
      * Error when xbuild config not present, and update README
      
      * Fix tests
      
      * Remove references to xargo and update readmes
      
      * Fmt
      
      * Add error context to cargo invocation
      
      * Fix tests compilation
      
      * Fmt
      
      * Nightly toolchain for CI
      
      * Add docs for nightly toolchain requirement
      
      * Link to nightly docs
      
      * Disable backtrace on CI
      
      * Make tests pass
      
      * Install rust-src
      
      * Disable backtrace to make tests pass
      
      * Move args closer to invocation
      
      * Create temporary Cargo.toml
      
      * Rework temp manifest api
      
      * Target dir is already absolute
      
      * temp dir prefix
      
      * xbuild config with sysroot path and explicit args
      
      * Use custom xbuild branch
      
      * Remove check for xbuild config
      
      * Rewrite relatives paths when using temp file
      
      * Fix dependency path rewrite
      
      * Update cargo-xbuild
      
      * workspaces: parse workspace member manifests
      
      * WIP workspaces
      
      * Implement temp workspace copy
      
      * Fmt
      
      * Rewrite bin relative path
      
      * Handle package rename for contracts
      
      * Fmt
      
      * Pass rustflags by setting env var
      
      * Fmt
      
      * Use abs path for lib default
      
      * Add 1 decimal place to file size
      
      * Make generate-metadata work, introduces ManifestPath
      
      * Fmt
      
      * cargo update
      
      * Rename manifest to workspace
      
      * Fix test compilation and fmt
      
      * Fix link
      
      * Add prerequisites section to readme
      
      * Remove rust-src component (added to image)
      
      * Fix deploy build
      
      * Use builder like method for amending root manifest
      
      * List installed components
      
      * Show active-toolchain and whether rust-src installed
      
      * Install nightly rust-src (temporary)
      
      * Fix metadata test
      
      * Fmt
      
      * Remove manual install of rust-src and diagnostics
      
      * More doc comments
      
      * Add verbosity flags
      
      * Add verbosity flags to metadata command
      
      * Fix working dir for generate-metadata
      
      * Add verbosity to tests
      
      * Add verbosity to tests
      
      * Make url optional and cargo update
      
      * Remove bk file from gitignore
      
      * Bump version
      
      * Fix comment and formatting
      
      * Add CHANGELOG.md
      v0.4.0
      ec118fff
  20. Feb 20, 2020
  21. Feb 04, 2020
  22. Feb 03, 2020
  23. Jan 31, 2020
  24. Jan 13, 2020
  25. Jan 09, 2020
  26. Jan 08, 2020
  27. Jan 07, 2020
  28. Jan 06, 2020
  29. Dec 18, 2019
    • Andrew Jones's avatar
      Implement instantiate command (#12) · 25df0b82
      Andrew Jones authored
      * Implement instantiate command
      
      * Bump version
      
      * Doc comments
      
      * Fix invalid default gas value
      
      * Default empty constructor data
      
      * Require constructor data
      
      * Hide instantiate behind deploy feature
      
      * Rename deploy feature to extrinsics to include instantiate
      
      * Format code
      
      * Fix deploy test
      
      * Instantiate test
      
      * Update README
      25df0b82
  30. Nov 28, 2019