cargo-contract:4fcdd57545171d08cc289f80973a5e705c8ee086 commitshttps://gitlab.parity.io/sergejparity/cargo-contract/-/commits/4fcdd57545171d08cc289f80973a5e705c8ee0862020-05-22T11:55:11+01:00https://gitlab.parity.io/sergejparity/cargo-contract/-/commit/4fcdd57545171d08cc289f80973a5e705c8ee086Fix metadata generation2020-05-22T11:55:11+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/956b06ea686f1de366818a4f84f72c4353481331Update comment2020-05-22T08:31:07+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/cc7cd66373c5750946d9fc8bff426fed1328aa87Fmt2020-05-22T08:29:43+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/808ee0ff560327234fcfc8cab913395798a7653eWarn during build if original-manifest enabled2020-05-22T08:24:44+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/26fdefd8a6b1621dac9ea2d7e944b02352e2c46cFmt2020-05-22T08:13:42+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/7b774ebd36500b5c5895b31351dd8c8d53fcefcfAdd unstable-options2020-05-22T08:13:23+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/403577366f41947d2d40c60f1fc7cc2709f527f2Merge branch 'master' into aj-original-manifest2020-05-21T07:15:10+01:00Andrew Jonesascjones@gmail.com
# Conflicts:
# src/cmd/build.rshttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/76d02069945159c41959a44c5789fc0407008278Update cargo-xbuild (#54)2020-05-18T15:05:08+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/9f02b07195c622b63b4c6a9d8d71b06afbbe716cUpgrade to subxt v0.7.0 (#53)2020-05-13T10:36:34+01:00Andrew Jonesascjones@gmail.com
* Update installation instructions
* Upgrade to latest subxt
* Fmthttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/ee8facd5bddedc997c6c20bc5786a129eab0ed76Update dependencies2020-05-12T19:40:19+01:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/285a0495cba0e903b350907f92c671550d7e8ba3Fix LTO regressions in nightly toolchain (#52)2020-05-12T19:35:08+01:00Andrew Jonesascjones@gmail.com
* Upgrade cargo-xbuild to include LTO fix
* Bump version
* Update CHANGELOG
* Disable lto for metadata generation, enable for contract build
* Fmt
* Update changeloghttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/e33086bc6973e732fde7d46ba2ee176c7c38487bFmt2020-03-27T09:45:08+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/7eb7c3e8d2c4dbb4c7f6d239aac0eb7569f1fd37Add option to build with unmodified original manifest2020-03-27T09:34:35+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/25b7234b0bac911438227fac482ca6470d88bef4Release v0.6.0 (#50)2020-03-26T08:39:17+00:00Andrew Jonesascjones@gmail.com
* 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 slugshttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/ac0ddfa4f16361144fa6e057fc8ebed3ed7c5e4fRelease v0.5.0 (#48)2020-03-18T13:00:38+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/c38e134dc14d78e17b7d4aafb422d26ce89bc6a3Update template to ink! 2.0 dependencies (#47)2020-03-18T12:47:48+01:00Hero Birdrobin.freyler@gmail.com
* 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! crateshttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/47befe5ca0713edc5c7d156c5dbdde58a32655a3Fix saving artifact (#46)2020-03-09T15:39:15+00:00Denis Pisarevdenis.pisarev@parity.io
* change the CI docker image
* should have created the dir to store artifacts
* test saving artifact
* test ok, ready to mergehttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/1a8cd357a98eae9cc5488e23bb1c6e755b402f9dUpgrade dependencies (#45)2020-03-06T12:55:25+00:00Andrew Jonesascjones@gmail.com
* Update parity-scale codec to 1.2
* Update subxt version and use crates.io for sp-corehttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/208e0bed23816f6754e67e6530d71978eed5673echange file name of action file (#43)2020-03-03T15:38:52+01:00Stefanie Dollstefie.doll@googlemail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/ffe422660a4032feab5d25938110c22d9c600395Added github workflow for release bot (#42)2020-03-03T14:23:51+00:00Stefanie Dollstefie.doll@googlemail.com
To automatically post release updates to Riot roomhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/7da03c18fe0f163112e677828924a8aebdfadae2Save built artifact, it will be available in gitlab job (#17)2020-03-02T10:09:50+00:00Denis Pisarevdenis.pisarev@parity.io
* 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 testhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/f129a8015b4f1bde002e5f4e8ecaf2d1f2449146Update CHANGELOG for 0.4.1 release2020-02-26T16:55:14+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/d6fe3b04745eda1585d10721026e89a3148246c7Bump to v0.4.12020-02-26T16:36:30+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/2e8f9e6f9f1f19997e87f4120cde2d88a86cd3fdFail the build if xbuild fails (#41)2020-02-26T14:33:47+00:00Andrew Jonesascjones@gmail.com
* Fail the build if xbuild fails
* Debug log now redundant
* Add wasm-opt to release noteshttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/ec118fff9b497e080c1b02f219d853949a7a8eadReduce wasm binary size with `cargo-xbuild` & removing `rlib` crate-type (#33)2020-02-26T10:02:50+00:00Andrew Jonesascjones@gmail.com
* 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.mdhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/15afa2807f41632f46393131efefc06d831cb4abUpdate subxt for latest substrate compatibility2020-02-20T13:26:06+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/164ecde994a308e9b34ae145e9e3bfe8f600ebc0Upgrade dependencies (#30)2020-02-04T13:38:24+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/eb48c8d3f5449090f737fadfb53393b5f9c7a034Add wasm-opt optimization build step (#29)2020-02-04T13:30:24+00:00Andrew Jonesascjones@gmail.com
* Optimize wasm with Binaryen wasm-opt
* Friendly message and pretty colours
* Print optimized size compared to original
* Fmt
* Update src/cmd/build.rs
Co-Authored-By: <span data-trailer="Co-Authored-By:"><a href="mailto:robin.freyler@gmail.com" title="robin.freyler@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/557df8edfe28c1b73dfca387972b0ad4?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:robin.freyler@gmail.com" title="robin.freyler@gmail.com">Hero Bird</a> <<a href="mailto:robin.freyler@gmail.com" title="robin.freyler@gmail.com">robin.freyler@gmail.com</a>></span>
* Update src/cmd/build.rs
Co-Authored-By: <span data-trailer="Co-Authored-By:"><a href="mailto:robin.freyler@gmail.com" title="robin.freyler@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/557df8edfe28c1b73dfca387972b0ad4?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:robin.freyler@gmail.com" title="robin.freyler@gmail.com">Hero Bird</a> <<a href="mailto:robin.freyler@gmail.com" title="robin.freyler@gmail.com">robin.freyler@gmail.com</a>></span>
Co-authored-by: <span data-trailer="Co-authored-by:"><a href="mailto:robbepop@web.de" title="robbepop@web.de"><img alt="default avatar" src="https://secure.gravatar.com/avatar/2ff3a8bebdb18071a3a56d6202075e03?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:robbepop@web.de" title="robbepop@web.de">Hero Bird</a> <<a href="mailto:robbepop@web.de" title="robbepop@web.de">robbepop@web.de</a>></span>
https://gitlab.parity.io/sergejparity/cargo-contract/-/commit/562123e62d29c648076af553c18e6e7c9f1b0fdareplace ink_lang2 with ink_lang (#28)2020-02-04T11:17:36+01:00Satyam Agrawalsatyam0499@gmail.com
Co-authored-by: <span data-trailer="Co-authored-by:"><a href="mailto:34787127+SatyamSB@users.noreply.github.com" title="34787127+SatyamSB@users.noreply.github.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/8bd9d1712fccf14b2ee77bcac9f74ab8?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:34787127+SatyamSB@users.noreply.github.com" title="34787127+SatyamSB@users.noreply.github.com">Satyam agrawal</a> <<a href="mailto:34787127+SatyamSB@users.noreply.github.com" title="34787127+SatyamSB@users.noreply.github.com">34787127+SatyamSB@users.noreply.github.com</a>></span>
https://gitlab.parity.io/sergejparity/cargo-contract/-/commit/01e60630b9af07709250236a8a19956fc1e1c6b3update template for upcoming merge of ink! PR #312 (#25)2020-02-03T13:53:40+00:00Hero Birdrobin.freyler@gmail.com
Link to PR: <a href="https://github.com/paritytech/ink/pull/312" rel="nofollow noreferrer noopener" target="_blank">https://github.com/paritytech/ink/pull/312</a>https://gitlab.parity.io/sergejparity/cargo-contract/-/commit/e3ba2212522bfe58080b25931bb129f3a008f513Fix default features build (#26)2020-02-03T10:40:18+00:00Andrew Jonesascjones@gmail.com
* Check default features build in CI
* Hide extrinsics only stuff behind feature
* Make submit_extrinsic crate public
* Fmt
* Make build run on CI with default featureshttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/9e8fdf0aaa64713d14b2522fb356630dab5a9f5dUpdate to latest subxt with async/await (#20)2020-01-31T15:20:45+00:00Andrew Jonesascjones@gmail.com
* Update to latest subxt with async/await, latest substrate
* Factor out common extrinsic submission
* Fmthttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/46fea42e82a8c815521aec6e316e936565962d4achange the CI docker image (#19)2020-01-13T11:18:18+00:00Denis Pisarevdenis.pisarev@parity.iohttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/02081dda6ed0700de8490f6d65040e9c08171bb5Add CI badges and fix CI (#18)2020-01-09T10:53:15+00:00Andrew Jonesascjones@gmail.com
* Add CI badges and update title
* Revert to original title
* Try using different image
* Image path
* Install rustfmthttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/d02081b9820289cb499cd9eea56212776844ca92initial fail-fast CI with 3 stages (#16)2020-01-08T14:37:14+00:00Denis Pisarevdenis.pisarev@parity.io
* initial fail-fast CI with 3 stages
* build will happen nightly and on merges
* typo in name
* Format code
Co-authored-by: <span data-trailer="Co-authored-by:"><a href="mailto:ascjones@gmail.com" title="ascjones@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/8f4ad867da5f4f14b72f9ba1689abddb?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:ascjones@gmail.com" title="ascjones@gmail.com">Andrew Jones</a> <<a href="mailto:ascjones@gmail.com" title="ascjones@gmail.com">ascjones@gmail.com</a>></span>
https://gitlab.parity.io/sergejparity/cargo-contract/-/commit/14aea50e3ad7d1a1e9b5e30525a0c68f8d06a702Update to latest subxt (#14)2020-01-07T15:58:30+00:00Andrew Jonesascjones@gmail.comhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/288c5427be76e077f5f02ef692e88b8aaad1f0d5Remove ink! abstraction layer (#13)2020-01-06T13:34:34+00:00Andrew Jonesascjones@gmail.com
* Update to latest subxt
* Update subxt and dependencies
* Remove ink abstraction layer
* Format codehttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/25df0b82bbfe50dc339bca28ca8a0a55829f49f0Implement instantiate command (#12)2019-12-18T14:38:10+00:00Andrew Jonesascjones@gmail.com
* 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 READMEhttps://gitlab.parity.io/sergejparity/cargo-contract/-/commit/bedf3fd43b9f1ff7d502ed2be003765b02c9998cAdd feature deploy (#8)2019-11-28T10:05:55+00:00Qinxuan Chenkoushiro.cqx@gmail.com
* Add feature deploy
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:koushiro.cqx@gmail.com" title="koushiro.cqx@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/43cf3ad074bd676058e15a585c837690?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:koushiro.cqx@gmail.com" title="koushiro.cqx@gmail.com">koushiro</a> <<a href="mailto:koushiro.cqx@gmail.com" title="koushiro.cqx@gmail.com">koushiro.cqx@gmail.com</a>></span>
* Update README about the deploy feature
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:koushiro.cqx@gmail.com" title="koushiro.cqx@gmail.com"><img alt="default avatar" src="https://secure.gravatar.com/avatar/43cf3ad074bd676058e15a585c837690?s=32&d=identicon" class="avatar s16 avatar-inline"></a><a href="mailto:koushiro.cqx@gmail.com" title="koushiro.cqx@gmail.com">koushiro</a> <<a href="mailto:koushiro.cqx@gmail.com" title="koushiro.cqx@gmail.com">koushiro.cqx@gmail.com</a>></span>
https://gitlab.parity.io/sergejparity/cargo-contract/-/commit/f196085cb13d5afddfa27ccbeb5b9ca11a1faf90Update Cargo.lock (#9)2019-11-27T11:25:25+00:00Andrew Jonesascjones@gmail.com