diff --git a/CHANGELOG.md b/CHANGELOG.md index 887075db5..c0f23295d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [5.0.0-alpha] ### Changed -- Updated the toolchain version used by `ink_linting` - [#1616](https://github.com/paritytech/cargo-contract/pull/1616) +- Updated the toolchain version used by `ink_linting` - [#1616](https://github.com/use-ink/cargo-contract/pull/1616) +- Update repository URLs & references from `paritytech` GitHub organization to new `use-ink` one ‒ [#1663](https://github.com/use-ink/cargo-contract/pull/1663) - Bump the version of `subxt` and `subxt-signer` - [#1722](https://github.com/use-ink/cargo-contract/pull/1722) ### Removed @@ -21,28 +22,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [4.1.1] ### Fixed -- Remove mention of non-existent argument, improve clarity of warning message - [#1590](https://github.com/paritytech/cargo-contract/pull/1590) +- Remove mention of non-existent argument, improve clarity of warning message - [#1590](https://github.com/use-ink/cargo-contract/pull/1590) ## [4.1.0] ### Fixed -- Fix the `instantiate` command for Substrate `0.9.42` based chains - [#1564](https://github.com/paritytech/cargo-contract/pull/1564) +- Fix the `instantiate` command for Substrate `0.9.42` based chains - [#1564](https://github.com/use-ink/cargo-contract/pull/1564) ### Added -- Add `cargo contract storage --version` command - [#1564](https://github.com/paritytech/cargo-contract/pull/1564) -- Add `cargo contract verify --wasm` argument - [#1551](https://github.com/paritytech/cargo-contract/pull/1551) -- Add `cargo contract instantiate --chain` with production chain endpoints - [#1290](https://github.com/paritytech/cargo-contract/pull/1290) -- Warn when uploading unverifiable contract builds to production - [#1290](https://github.com/paritytech/cargo-contract/pull/1290) +- Add `cargo contract storage --version` command - [#1564](https://github.com/use-ink/cargo-contract/pull/1564) +- Add `cargo contract verify --wasm` argument - [#1551](https://github.com/use-ink/cargo-contract/pull/1551) +- Add `cargo contract instantiate --chain` with production chain endpoints - [#1290](https://github.com/use-ink/cargo-contract/pull/1290) +- Warn when uploading unverifiable contract builds to production - [#1290](https://github.com/use-ink/cargo-contract/pull/1290) ## [4.0.2] ### Fixed -- Fix installation instructions for `ink_linting` - [#1546](https://github.com/paritytech/cargo-contract/pull/1546) +- Fix installation instructions for `ink_linting` - [#1546](https://github.com/use-ink/cargo-contract/pull/1546) ## [4.0.1] ### Fixed -- Fix e2e tests in the contract template - [#1537](https://github.com/paritytech/cargo-contract/pull/1537) +- Fix e2e tests in the contract template - [#1537](https://github.com/use-ink/cargo-contract/pull/1537) ## [4.0.0] @@ -55,119 +56,119 @@ e.g. the newly added contract verification in more detail._ 👉 _You can view it [here](https://use.ink/faq/migrating-from-ink-4-to-5)._ **Notable changes:** -- Verifiable builds inside a docker container - [#1148](https://github.com/paritytech/cargo-contract/pull/1148) -- Extrinsics extracted to separate crate - [#1181](https://github.com/paritytech/cargo-contract/pull/1181) -- Fix building contracts with Rust >= 1.70: enable `sign_ext` Wasm opcode - [#1189](https://github.com/paritytech/cargo-contract/pull/1189) -- Support for multiple versions of `pallet-contracts` - [#1399](https://github.com/paritytech/cargo-contract/pull/1399) +- Verifiable builds inside a docker container - [#1148](https://github.com/use-ink/cargo-contract/pull/1148) +- Extrinsics extracted to separate crate - [#1181](https://github.com/use-ink/cargo-contract/pull/1181) +- Fix building contracts with Rust >= 1.70: enable `sign_ext` Wasm opcode - [#1189](https://github.com/use-ink/cargo-contract/pull/1189) +- Support for multiple versions of `pallet-contracts` - [#1399](https://github.com/use-ink/cargo-contract/pull/1399) ### Added -- Export `ink_metadata` types in `transcode` crate - [#1522](https://github.com/paritytech/cargo-contract/pull/1522) -- Improved error message for Strings as CLI arguments - [#1492](https://github.com/paritytech/cargo-contract/pull/1492) -- Add a user-friendly view of contract storage data in the form of a table - [#1414](https://github.com/paritytech/cargo-contract/pull/1414) -- Add `rpc` command - [#1458](https://github.com/paritytech/cargo-contract/pull/1458) -- Add schema generation and verification - [#1404](https://github.com/paritytech/cargo-contract/pull/1404) -- Compare `Environment` types against the node - [#1377](https://github.com/paritytech/cargo-contract/pull/1377) -- Detect `INK_STATIC_BUFFER_SIZE` env var - [#1310](https://github.com/paritytech/cargo-contract/pull/1310) -- Add `verify` command - [#1306](https://github.com/paritytech/cargo-contract/pull/1306) -- Add `--binary` flag for `info` command - [#1311](https://github.com/paritytech/cargo-contract/pull/1311/) -- Add `--all` flag for `info` command - [#1319](https://github.com/paritytech/cargo-contract/pull/1319) -- Add contract language detection feature for `info` command - [#1329](https://github.com/paritytech/cargo-contract/pull/1329) -- Add warning message when using incompatible contract's ink! version - [#1334](https://github.com/paritytech/cargo-contract/pull/1334) -- Add workspace support -[#1358](https://github.com/paritytech/cargo-contract/pull/1358) -- Add `Storage Total Deposit` to `info` command output - [#1347](https://github.com/paritytech/cargo-contract/pull/1347) -- Add dynamic types support - [#1399](https://github.com/paritytech/cargo-contract/pull/1399) -- Basic storage inspection command - [#1395](https://github.com/paritytech/cargo-contract/pull/1395) -- Standardised verifiable builds - [#1148](https://github.com/paritytech/cargo-contract/pull/1148) -- Enable Wasm sign_ext [#1189](https://github.com/paritytech/cargo-contract/pull/1189) -- Expose extrinsics operations as a library - [#1181](https://github.com/paritytech/cargo-contract/pull/1181) -- Suggest valid message or constructor name, when misspelled - [#1162](https://github.com/paritytech/cargo-contract/pull/1162) -- Add flag -y as a shortcut for --skip-confirm - [#1127](https://github.com/paritytech/cargo-contract/pull/1127) -- Add command line argument --max-memory-pages - [#1128](https://github.com/paritytech/cargo-contract/pull/1128) -- Show Gas consumption by default for dry-runs - [#1121](https://github.com/paritytech/cargo-contract/pull/1121) +- Export `ink_metadata` types in `transcode` crate - [#1522](https://github.com/use-ink/cargo-contract/pull/1522) +- Improved error message for Strings as CLI arguments - [#1492](https://github.com/use-ink/cargo-contract/pull/1492) +- Add a user-friendly view of contract storage data in the form of a table - [#1414](https://github.com/use-ink/cargo-contract/pull/1414) +- Add `rpc` command - [#1458](https://github.com/use-ink/cargo-contract/pull/1458) +- Add schema generation and verification - [#1404](https://github.com/use-ink/cargo-contract/pull/1404) +- Compare `Environment` types against the node - [#1377](https://github.com/use-ink/cargo-contract/pull/1377) +- Detect `INK_STATIC_BUFFER_SIZE` env var - [#1310](https://github.com/use-ink/cargo-contract/pull/1310) +- Add `verify` command - [#1306](https://github.com/use-ink/cargo-contract/pull/1306) +- Add `--binary` flag for `info` command - [#1311](https://github.com/use-ink/cargo-contract/pull/1311/) +- Add `--all` flag for `info` command - [#1319](https://github.com/use-ink/cargo-contract/pull/1319) +- Add contract language detection feature for `info` command - [#1329](https://github.com/use-ink/cargo-contract/pull/1329) +- Add warning message when using incompatible contract's ink! version - [#1334](https://github.com/use-ink/cargo-contract/pull/1334) +- Add workspace support -[#1358](https://github.com/use-ink/cargo-contract/pull/1358) +- Add `Storage Total Deposit` to `info` command output - [#1347](https://github.com/use-ink/cargo-contract/pull/1347) +- Add dynamic types support - [#1399](https://github.com/use-ink/cargo-contract/pull/1399) +- Basic storage inspection command - [#1395](https://github.com/use-ink/cargo-contract/pull/1395) +- Standardised verifiable builds - [#1148](https://github.com/use-ink/cargo-contract/pull/1148) +- Enable Wasm sign_ext [#1189](https://github.com/use-ink/cargo-contract/pull/1189) +- Expose extrinsics operations as a library - [#1181](https://github.com/use-ink/cargo-contract/pull/1181) +- Suggest valid message or constructor name, when misspelled - [#1162](https://github.com/use-ink/cargo-contract/pull/1162) +- Add flag -y as a shortcut for --skip-confirm - [#1127](https://github.com/use-ink/cargo-contract/pull/1127) +- Add command line argument --max-memory-pages - [#1128](https://github.com/use-ink/cargo-contract/pull/1128) +- Show Gas consumption by default for dry-runs - [#1121](https://github.com/use-ink/cargo-contract/pull/1121) ### Changed -- Print type comparison warning only on `--verbose` - [#1483](https://github.com/paritytech/cargo-contract/pull/1483) -- Mandatory dylint-based lints - [#1412](https://github.com/paritytech/cargo-contract/pull/1412) -- Add a new tabular layout for the contract storage data - [#1485](https://github.com/paritytech/cargo-contract/pull/1485) -- Run wasm-opt first, remove sign_ext feature - [#1416](https://github.com/paritytech/cargo-contract/pull/1416) -- Bump `subxt` to `0.32.0` - [#1352](https://github.com/paritytech/cargo-contract/pull/1352) -- Remove check for compatible `scale` and `scale-info` versions - [#1370](https://github.com/paritytech/cargo-contract/pull/1370) -- Dry-run result output improvements - [1123](https://github.com/paritytech/cargo-contract/pull/1123) -- Display build progress with --output-json, print to stderr - [1211](https://github.com/paritytech/cargo-contract/pull/1211) -- Upgrade wasm-opt to 0.113 - [#1188](https://github.com/paritytech/cargo-contract/pull/1188) -- Update substrate dependencies - [#1149](https://github.com/paritytech/cargo-contract/pull/1149) -- Make output format of cargo contract info consistent with other subcommands - [#1120](https://github.com/paritytech/cargo-contract/pull/1120) -- set minimum supported `rust-version` to `1.70` - [#1241](https://github.com/paritytech/cargo-contract/pull/1241) - -### Fixed -- Fix parsing of docker STDOUT - [#1526](https://github.com/paritytech/cargo-contract/pull/1526) -- Remove docker container on build failure - [#1531](https://github.com/paritytech/cargo-contract/pull/1531) -- Fix build `--verifiable` command [#1511](https://github.com/paritytech/cargo-contract/pull/1511) -- Do not allow to execute calls on immutable contract messages - [#1397](https://github.com/paritytech/cargo-contract/pull/1397) -- Improve JSON Output for Upload and Remove Commands - [#1389](https://github.com/paritytech/cargo-contract/pull/1389) -- Fix for a Url to String conversion in `info` command - [#1330](https://github.com/paritytech/cargo-contract/pull/1330) -- Configure tty output correctly - [#1209](https://github.com/paritytech/cargo-contract/pull/1209) -- Set `lto = "thin"` for metadata build to fix `linkme` on macOS - [#1200](https://github.com/paritytech/cargo-contract/pull/1200) -- fix(build): An error when running with `--lint` - [#1174](https://github.com/paritytech/cargo-contract/pull/1174) -- Dry-run result output improvements - [#1123](https://github.com/paritytech/cargo-contract/pull/1123) -- feat: use `CARGO_ENCODED_RUSTFLAGS` instead of `RUSTFLAGS` - [#1124](https://github.com/paritytech/cargo-contract/pull/1124) +- Print type comparison warning only on `--verbose` - [#1483](https://github.com/use-ink/cargo-contract/pull/1483) +- Mandatory dylint-based lints - [#1412](https://github.com/use-ink/cargo-contract/pull/1412) +- Add a new tabular layout for the contract storage data - [#1485](https://github.com/use-ink/cargo-contract/pull/1485) +- Run wasm-opt first, remove sign_ext feature - [#1416](https://github.com/use-ink/cargo-contract/pull/1416) +- Bump `subxt` to `0.32.0` - [#1352](https://github.com/use-ink/cargo-contract/pull/1352) +- Remove check for compatible `scale` and `scale-info` versions - [#1370](https://github.com/use-ink/cargo-contract/pull/1370) +- Dry-run result output improvements - [1123](https://github.com/use-ink/cargo-contract/pull/1123) +- Display build progress with --output-json, print to stderr - [1211](https://github.com/use-ink/cargo-contract/pull/1211) +- Upgrade wasm-opt to 0.113 - [#1188](https://github.com/use-ink/cargo-contract/pull/1188) +- Update substrate dependencies - [#1149](https://github.com/use-ink/cargo-contract/pull/1149) +- Make output format of cargo contract info consistent with other subcommands - [#1120](https://github.com/use-ink/cargo-contract/pull/1120) +- set minimum supported `rust-version` to `1.70` - [#1241](https://github.com/use-ink/cargo-contract/pull/1241) + +### Fixed +- Fix parsing of docker STDOUT - [#1526](https://github.com/use-ink/cargo-contract/pull/1526) +- Remove docker container on build failure - [#1531](https://github.com/use-ink/cargo-contract/pull/1531) +- Fix build `--verifiable` command [#1511](https://github.com/use-ink/cargo-contract/pull/1511) +- Do not allow to execute calls on immutable contract messages - [#1397](https://github.com/use-ink/cargo-contract/pull/1397) +- Improve JSON Output for Upload and Remove Commands - [#1389](https://github.com/use-ink/cargo-contract/pull/1389) +- Fix for a Url to String conversion in `info` command - [#1330](https://github.com/use-ink/cargo-contract/pull/1330) +- Configure tty output correctly - [#1209](https://github.com/use-ink/cargo-contract/pull/1209) +- Set `lto = "thin"` for metadata build to fix `linkme` on macOS - [#1200](https://github.com/use-ink/cargo-contract/pull/1200) +- fix(build): An error when running with `--lint` - [#1174](https://github.com/use-ink/cargo-contract/pull/1174) +- Dry-run result output improvements - [#1123](https://github.com/use-ink/cargo-contract/pull/1123) +- feat: use `CARGO_ENCODED_RUSTFLAGS` instead of `RUSTFLAGS` - [#1124](https://github.com/use-ink/cargo-contract/pull/1124) ## [4.0.0-rc.4] ### Added -- Export `ink_metadata` types in `transcode` crate - [#1522](https://github.com/paritytech/cargo-contract/pull/1522) +- Export `ink_metadata` types in `transcode` crate - [#1522](https://github.com/use-ink/cargo-contract/pull/1522) ### Fixed -- Fix parsing of docker STDOUT - [#1526](https://github.com/paritytech/cargo-contract/pull/1526) -- Remove docker container on build failure - [#1531](https://github.com/paritytech/cargo-contract/pull/1531) +- Fix parsing of docker STDOUT - [#1526](https://github.com/use-ink/cargo-contract/pull/1526) +- Remove docker container on build failure - [#1531](https://github.com/use-ink/cargo-contract/pull/1531) ## [4.0.0-rc.3] ### Fixed -- Fix build `--verifiable` command [#1511](https://github.com/paritytech/cargo-contract/pull/1511) +- Fix build `--verifiable` command [#1511](https://github.com/use-ink/cargo-contract/pull/1511) ## [4.0.0-rc.2] ### Added -- Improved error message for Strings as CLI arguments - [#1492](https://github.com/paritytech/cargo-contract/pull/1492) -- Add a user-friendly view of contract storage data in the form of a table - [#1414](https://github.com/paritytech/cargo-contract/pull/1414) -- Add `rpc` command - [#1458](https://github.com/paritytech/cargo-contract/pull/1458) +- Improved error message for Strings as CLI arguments - [#1492](https://github.com/use-ink/cargo-contract/pull/1492) +- Add a user-friendly view of contract storage data in the form of a table - [#1414](https://github.com/use-ink/cargo-contract/pull/1414) +- Add `rpc` command - [#1458](https://github.com/use-ink/cargo-contract/pull/1458) ### Changed -- Print type comparison warning only on `--verbose` - [#1483](https://github.com/paritytech/cargo-contract/pull/1483) -- Mandatory dylint-based lints - [#1412](https://github.com/paritytech/cargo-contract/pull/1412) -- Add a new tabular layout for the contract storage data - [#1485](https://github.com/paritytech/cargo-contract/pull/1485) +- Print type comparison warning only on `--verbose` - [#1483](https://github.com/use-ink/cargo-contract/pull/1483) +- Mandatory dylint-based lints - [#1412](https://github.com/use-ink/cargo-contract/pull/1412) +- Add a new tabular layout for the contract storage data - [#1485](https://github.com/use-ink/cargo-contract/pull/1485) ## [4.0.0-rc.1] ### Changed -- Run wasm-opt first, remove sign_ext feature - [#1416](https://github.com/paritytech/cargo-contract/pull/1416) +- Run wasm-opt first, remove sign_ext feature - [#1416](https://github.com/use-ink/cargo-contract/pull/1416) ## [4.0.0-rc] ### Added -- Add schema generation and verification - [#1404](https://github.com/paritytech/cargo-contract/pull/1404) -- Compare `Environment` types against the node - [#1377](https://github.com/paritytech/cargo-contract/pull/1377) -- Detect `INK_STATIC_BUFFER_SIZE` env var - [#1310](https://github.com/paritytech/cargo-contract/pull/1310) -- Add `verify` command - [#1306](https://github.com/paritytech/cargo-contract/pull/1306) -- Add `--binary` flag for `info` command - [#1311](https://github.com/paritytech/cargo-contract/pull/1311/) -- Add `--all` flag for `info` command - [#1319](https://github.com/paritytech/cargo-contract/pull/1319) -- Add contract language detection feature for `info` command - [#1329](https://github.com/paritytech/cargo-contract/pull/1329) -- Add warning message when using incompatible contract's ink! version - [#1334](https://github.com/paritytech/cargo-contract/pull/1334) -- Add workspace support -[#1358](https://github.com/paritytech/cargo-contract/pull/1358) -- Add `Storage Total Deposit` to `info` command output - [#1347](https://github.com/paritytech/cargo-contract/pull/1347) -- Add dynamic types support - [#1399](https://github.com/paritytech/cargo-contract/pull/1399) -- Basic storage inspection command - [#1395](https://github.com/paritytech/cargo-contract/pull/1395) +- Add schema generation and verification - [#1404](https://github.com/use-ink/cargo-contract/pull/1404) +- Compare `Environment` types against the node - [#1377](https://github.com/use-ink/cargo-contract/pull/1377) +- Detect `INK_STATIC_BUFFER_SIZE` env var - [#1310](https://github.com/use-ink/cargo-contract/pull/1310) +- Add `verify` command - [#1306](https://github.com/use-ink/cargo-contract/pull/1306) +- Add `--binary` flag for `info` command - [#1311](https://github.com/use-ink/cargo-contract/pull/1311/) +- Add `--all` flag for `info` command - [#1319](https://github.com/use-ink/cargo-contract/pull/1319) +- Add contract language detection feature for `info` command - [#1329](https://github.com/use-ink/cargo-contract/pull/1329) +- Add warning message when using incompatible contract's ink! version - [#1334](https://github.com/use-ink/cargo-contract/pull/1334) +- Add workspace support -[#1358](https://github.com/use-ink/cargo-contract/pull/1358) +- Add `Storage Total Deposit` to `info` command output - [#1347](https://github.com/use-ink/cargo-contract/pull/1347) +- Add dynamic types support - [#1399](https://github.com/use-ink/cargo-contract/pull/1399) +- Basic storage inspection command - [#1395](https://github.com/use-ink/cargo-contract/pull/1395) ### Changed -- Bump `subxt` to `0.32.0` - [#1352](https://github.com/paritytech/cargo-contract/pull/1352) -- Remove check for compatible `scale` and `scale-info` versions - [#1370](https://github.com/paritytech/cargo-contract/pull/1370) -- Bump `ink` to `5.0.0-rc` - [#1415](https://github.com/paritytech/cargo-contract/pull/1415) +- Bump `subxt` to `0.32.0` - [#1352](https://github.com/use-ink/cargo-contract/pull/1352) +- Remove check for compatible `scale` and `scale-info` versions - [#1370](https://github.com/use-ink/cargo-contract/pull/1370) +- Bump `ink` to `5.0.0-rc` - [#1415](https://github.com/use-ink/cargo-contract/pull/1415) ### Fixed -- Do not allow to execute calls on immutable contract messages - [#1397](https://github.com/paritytech/cargo-contract/pull/1397) -- Improve JSON Output for Upload and Remove Commands - [#1389](https://github.com/paritytech/cargo-contract/pull/1389) -- Fix for a Url to String conversion in `info` command - [#1330](https://github.com/paritytech/cargo-contract/pull/1330) +- Do not allow to execute calls on immutable contract messages - [#1397](https://github.com/use-ink/cargo-contract/pull/1397) +- Improve JSON Output for Upload and Remove Commands - [#1389](https://github.com/use-ink/cargo-contract/pull/1389) +- Fix for a Url to String conversion in `info` command - [#1330](https://github.com/use-ink/cargo-contract/pull/1330) ## [4.0.0-alpha] @@ -181,257 +182,257 @@ If you still want to compile with `1.69` and target an older version of `pallet- then use the previous `3.0.1` release. **Notable changes:** -- Verifiable builds inside a docker container - [#1148](https://github.com/paritytech/cargo-contract/pull/1148) -- Extrinsics extracted to separate crate - [#1181](https://github.com/paritytech/cargo-contract/pull/1181) -- Fix building contracts with Rust >= 1.70: enable `sign_ext` Wasm opcode - [#1189](https://github.com/paritytech/cargo-contract/pull/1189) +- Verifiable builds inside a docker container - [#1148](https://github.com/use-ink/cargo-contract/pull/1148) +- Extrinsics extracted to separate crate - [#1181](https://github.com/use-ink/cargo-contract/pull/1181) +- Fix building contracts with Rust >= 1.70: enable `sign_ext` Wasm opcode - [#1189](https://github.com/use-ink/cargo-contract/pull/1189) ### Added -- Standardised verifiable builds - [#1148](https://github.com/paritytech/cargo-contract/pull/1148) -- Enable Wasm sign_ext [#1189](https://github.com/paritytech/cargo-contract/pull/1189) -- Expose extrinsics operations as a library - [#1181](https://github.com/paritytech/cargo-contract/pull/1181) -- Suggest valid message or constructor name, when misspelled - [#1162](https://github.com/paritytech/cargo-contract/pull/1162) -- Add flag -y as a shortcut for --skip-confirm - [#1127](https://github.com/paritytech/cargo-contract/pull/1127) -- Add command line argument --max-memory-pages - [#1128](https://github.com/paritytech/cargo-contract/pull/1128) -- Show Gas consumption by default for dry-runs - [#1121](https://github.com/paritytech/cargo-contract/pull/1121) +- Standardised verifiable builds - [#1148](https://github.com/use-ink/cargo-contract/pull/1148) +- Enable Wasm sign_ext [#1189](https://github.com/use-ink/cargo-contract/pull/1189) +- Expose extrinsics operations as a library - [#1181](https://github.com/use-ink/cargo-contract/pull/1181) +- Suggest valid message or constructor name, when misspelled - [#1162](https://github.com/use-ink/cargo-contract/pull/1162) +- Add flag -y as a shortcut for --skip-confirm - [#1127](https://github.com/use-ink/cargo-contract/pull/1127) +- Add command line argument --max-memory-pages - [#1128](https://github.com/use-ink/cargo-contract/pull/1128) +- Show Gas consumption by default for dry-runs - [#1121](https://github.com/use-ink/cargo-contract/pull/1121) ### Changed -- Dry-run result output improvements - [1123](https://github.com/paritytech/cargo-contract/pull/1123) -- Display build progress with --output-json, print to stderr - [1211](https://github.com/paritytech/cargo-contract/pull/1211) -- Update `subxt` to `0.30.1` with new `subxt-signer` crate - [#1236](https://github.com/paritytech/cargo-contract/pull/1236) -- Upgrade wasm-opt to 0.113 - [#1188](https://github.com/paritytech/cargo-contract/pull/1188) -- Update substrate dependencies - [#1149](https://github.com/paritytech/cargo-contract/pull/1149) -- Make output format of cargo contract info consistent with other subcommands - [#1120](https://github.com/paritytech/cargo-contract/pull/1120) -- set minimum supported `rust-version` to `1.70` - [#1241](https://github.com/paritytech/cargo-contract/pull/1241) -- `[extrinsics]` update metadata to `substrate-contracts-node 0.29` - [#1242](https://github.com/paritytech/cargo-contract/pull/1242) - -### Fixed -- Configure tty output correctly - [#1209](https://github.com/paritytech/cargo-contract/pull/1209) -- Set `lto = "thin"` for metadata build to fix `linkme` on macOS - [#1200](https://github.com/paritytech/cargo-contract/pull/1200) -- fix(build): An error when running with `--lint` - [#1174](https://github.com/paritytech/cargo-contract/pull/1174) -- Dry-run result output improvements - [#1123](https://github.com/paritytech/cargo-contract/pull/1123) -- feat: use `CARGO_ENCODED_RUSTFLAGS` instead of `RUSTFLAGS` - [#1124](https://github.com/paritytech/cargo-contract/pull/1124) +- Dry-run result output improvements - [1123](https://github.com/use-ink/cargo-contract/pull/1123) +- Display build progress with --output-json, print to stderr - [1211](https://github.com/use-ink/cargo-contract/pull/1211) +- Update `subxt` to `0.30.1` with new `subxt-signer` crate - [#1236](https://github.com/use-ink/cargo-contract/pull/1236) +- Upgrade wasm-opt to 0.113 - [#1188](https://github.com/use-ink/cargo-contract/pull/1188) +- Update substrate dependencies - [#1149](https://github.com/use-ink/cargo-contract/pull/1149) +- Make output format of cargo contract info consistent with other subcommands - [#1120](https://github.com/use-ink/cargo-contract/pull/1120) +- set minimum supported `rust-version` to `1.70` - [#1241](https://github.com/use-ink/cargo-contract/pull/1241) +- `[extrinsics]` update metadata to `substrate-contracts-node 0.29` - [#1242](https://github.com/use-ink/cargo-contract/pull/1242) + +### Fixed +- Configure tty output correctly - [#1209](https://github.com/use-ink/cargo-contract/pull/1209) +- Set `lto = "thin"` for metadata build to fix `linkme` on macOS - [#1200](https://github.com/use-ink/cargo-contract/pull/1200) +- fix(build): An error when running with `--lint` - [#1174](https://github.com/use-ink/cargo-contract/pull/1174) +- Dry-run result output improvements - [#1123](https://github.com/use-ink/cargo-contract/pull/1123) +- feat: use `CARGO_ENCODED_RUSTFLAGS` instead of `RUSTFLAGS` - [#1124](https://github.com/use-ink/cargo-contract/pull/1124) ## [3.1.0] **YANKED** ## [3.0.1] ### Fixed -- `[contract-build]` flush the remaining buffered bytes - [1118](https://github.com/paritytech/cargo-contract/pull/1118) +- `[contract-build]` flush the remaining buffered bytes - [1118](https://github.com/use-ink/cargo-contract/pull/1118) ## [3.0.0] ### Added -- Experimental support for RISC-V contracts - [#1076](https://github.com/paritytech/cargo-contract/pull/1076) +- Experimental support for RISC-V contracts - [#1076](https://github.com/use-ink/cargo-contract/pull/1076) ### Changed -- Contracts are build as `bin` crate now (we used `cdylib` before) - [#1076](https://github.com/paritytech/cargo-contract/pull/1076) +- Contracts are build as `bin` crate now (we used `cdylib` before) - [#1076](https://github.com/use-ink/cargo-contract/pull/1076) - BREAKING CHANGE: Make sure that your contract is `no_main` by having this on top of your contract: - `#![cfg_attr(not(feature = "std"), no_std, no_main)]` - - This will be detected and suggested for `error[E0601]` - [#1113](https://github.com/paritytech/cargo-contract/pull/1113) + - This will be detected and suggested for `error[E0601]` - [#1113](https://github.com/use-ink/cargo-contract/pull/1113) - Update contracts node metadata (#1105) - Compatible with `substrate-contracts-node 0.25.0-a2b09462c7c` ### Fixed -- Fix original Wasm artifact path [#1116](https://github.com/paritytech/cargo-contract/pull/1116) +- Fix original Wasm artifact path [#1116](https://github.com/use-ink/cargo-contract/pull/1116) ## [2.2.1] ### Fixed -- Revert "Bump tracing from 0.1.37 to 0.1.38" - [#1096](https://github.com/paritytech/cargo-contract/pull/1096) +- Revert "Bump tracing from 0.1.37 to 0.1.38" - [#1096](https://github.com/use-ink/cargo-contract/pull/1096) ## [2.2.0] ### Added -- Add `info` command - [#993](https://github.com/paritytech/cargo-contract/pull/993) -- Add `--output-json` flag for `info` command - [#1007](https://github.com/paritytech/cargo-contract/pull/1007) +- Add `info` command - [#993](https://github.com/use-ink/cargo-contract/pull/993) +- Add `--output-json` flag for `info` command - [#1007](https://github.com/use-ink/cargo-contract/pull/1007) ### Changed -- Minimum requirements of `ink!` dependencies all updated to `4.2.0` - [#1084](https://github.com/paritytech/cargo-contract/pull/1084) -- Upgrade `subxt` to `0.28` [#1039](https://github.com/paritytech/cargo-contract/pull/1039) -- Upgrade `scale-info` to `2.5` [#1057](https://github.com/paritytech/cargo-contract/pull/1057) +- Minimum requirements of `ink!` dependencies all updated to `4.2.0` - [#1084](https://github.com/use-ink/cargo-contract/pull/1084) +- Upgrade `subxt` to `0.28` [#1039](https://github.com/use-ink/cargo-contract/pull/1039) +- Upgrade `scale-info` to `2.5` [#1057](https://github.com/use-ink/cargo-contract/pull/1057) ### Fixed -- Rewrites build file path in manifest [#1077](https://github.com/paritytech/cargo-contract/pull/1077) -- Only copy and rewrite target contract manifest [#1079](https://github.com/paritytech/cargo-contract/pull/1079) +- Rewrites build file path in manifest [#1077](https://github.com/use-ink/cargo-contract/pull/1077) +- Only copy and rewrite target contract manifest [#1079](https://github.com/use-ink/cargo-contract/pull/1079) ## [2.1.0] ### Changed -- Dry-run `instantiate`, `call` and `upload` commands by default - [#999](https://github.com/paritytech/cargo-contract/pull/999) +- Dry-run `instantiate`, `call` and `upload` commands by default - [#999](https://github.com/use-ink/cargo-contract/pull/999) ### Added -- Add `cargo contract encode` command - [#998](https://github.com/paritytech/cargo-contract/pull/998) +- Add `cargo contract encode` command - [#998](https://github.com/use-ink/cargo-contract/pull/998) ### Fixed -- Limit input length for `decode` command - [#982](https://github.com/paritytech/cargo-contract/pull/982) -- Pass contract features to metadata gen package - [#1005](https://github.com/paritytech/cargo-contract/pull/1005) -- Custom AccountId32 impl, remove substrate deps - [#1010](https://github.com/paritytech/cargo-contract/pull/1010) +- Limit input length for `decode` command - [#982](https://github.com/use-ink/cargo-contract/pull/982) +- Pass contract features to metadata gen package - [#1005](https://github.com/use-ink/cargo-contract/pull/1005) +- Custom AccountId32 impl, remove substrate deps - [#1010](https://github.com/use-ink/cargo-contract/pull/1010) - Fixes issue with with incompatible `wasmtime` versions when dependant project has old substrate dependencies. ### [2.0.2] ### Fixed -- Explicitly enable `std` feature for metadata generation [#977](https://github.com/paritytech/cargo-contract/pull/977) -- Return artifact paths when contracts unchanged [#992](https://github.com/paritytech/cargo-contract/pull/992) +- Explicitly enable `std` feature for metadata generation [#977](https://github.com/use-ink/cargo-contract/pull/977) +- Return artifact paths when contracts unchanged [#992](https://github.com/use-ink/cargo-contract/pull/992) - Minimum requirements of `ink!` dependencies all updated to `4.0.1` ## [2.0.1] ### Fixed -- Return correct contract id for `instantiate` command with subcontracts ‒ [#777](https://github.com/paritytech/cargo-contract/pull/777) -- Bump template to ink! 4.0 ‒ [#971](https://github.com/paritytech/cargo-contract/pull/971) +- Return correct contract id for `instantiate` command with subcontracts ‒ [#777](https://github.com/use-ink/cargo-contract/pull/777) +- Bump template to ink! 4.0 ‒ [#971](https://github.com/use-ink/cargo-contract/pull/971) ## [2.0.0] Major release compatible with `ink! 4.0.0`. All the changes in aggregate since `1.5`: ### Added -- Add support for ink!'s `version` metadata field - [#641](https://github.com/paritytech/cargo-contract/pull/641) -- Add Rust specific build info to metadata - [#680](https://github.com/paritytech/cargo-contract/pull/680) -- Log code hash if contract is already uploaded - [#805](https://github.com/paritytech/cargo-contract/pull/805) -- Add remove command - [#837](https://github.com/paritytech/cargo-contract/pull/837) +- Add support for ink!'s `version` metadata field - [#641](https://github.com/use-ink/cargo-contract/pull/641) +- Add Rust specific build info to metadata - [#680](https://github.com/use-ink/cargo-contract/pull/680) +- Log code hash if contract is already uploaded - [#805](https://github.com/use-ink/cargo-contract/pull/805) +- Add remove command - [#837](https://github.com/use-ink/cargo-contract/pull/837) ### Changed -- Build contracts and dylint driver with stable - [#698](https://github.com/paritytech/cargo-contract/pull/698) -- Compile dylints when compiling the contract - [#703](https://github.com/paritytech/cargo-contract/pull/703) -- Move transcode example to doc test, add helper method - [#705](https://github.com/paritytech/cargo-contract/pull/705) +- Build contracts and dylint driver with stable - [#698](https://github.com/use-ink/cargo-contract/pull/698) +- Compile dylints when compiling the contract - [#703](https://github.com/use-ink/cargo-contract/pull/703) +- Move transcode example to doc test, add helper method - [#705](https://github.com/use-ink/cargo-contract/pull/705) - Note that alongside this PR we released [`contract-transcode@0.2.0`](https://crates.io/crates/contract-transcode/0.2.0) -- Replace custom RPCs by `state_call` - [#701](https://github.com/paritytech/cargo-contract/pull/701) -- Removed requirement to install binaryen. The `wasm-opt` tool is now compiled into `cargo-contract` - [#766](https://github.com/paritytech/cargo-contract/pull/766). -- Make linting opt in with `--lint` - [#799](https://github.com/paritytech/cargo-contract/pull/799) -- Update to weights v2 - [#809](https://github.com/paritytech/cargo-contract/pull/809) -- Update validation for renamed FFI functions - [#816](https://github.com/paritytech/cargo-contract/pull/816) -- Denominated units for balances in events - [#750](https://github.com/paritytech/cargo-contract/pull/750) -- Upgrade wasm-opt to 0.110.2 - [#802](https://github.com/paritytech/cargo-contract/pull/802) -- Pass `--features` through to `cargo` - [#853](https://github.com/paritytech/cargo-contract/pull/853/files) -- Bump minimum requirement of `scale-info` in template to `2.3` - [#847](https://github.com/paritytech/cargo-contract/pull/847/files) -- Remove `unstable` module check, add `--skip-wasm-validation` - [#846](https://github.com/paritytech/cargo-contract/pull/846/files) -- Extract lib for invoking contract build - [#787](https://github.com/paritytech/cargo-contract/pull/787/files) -- Upgrade wasm-opt to 0.111.0 [#888](https://github.com/paritytech/cargo-contract/pull/888) -- Enable `wasm-opt` MVP features only [#891](https://github.com/paritytech/cargo-contract/pull/891) -- Require env_type transcoders to be Send + Sync [#879](https://github.com/paritytech/cargo-contract/pull/879) -- Extrinsics: allow specifying contract artifact directly [#893](https://github.com/paritytech/cargo-contract/pull/893) -- Upgrade `subxt` to `0.26` [#924](https://github.com/paritytech/cargo-contract/pull/924) -- Display detailed cause of an error [#931](https://github.com/paritytech/cargo-contract/pull/931) -- Use package name instead of lib name, default to "rlib" [#929](https://github.com/paritytech/cargo-contract/pull/929) -- Rename `metadata.json` to `{contract_name}.json` - [#952](https://github.com/paritytech/cargo-contract/pull/952) -- Do not postprocess or generate metadata if contract unchanged [#964](https://github.com/paritytech/cargo-contract/pull/964) -- Update `subxt` and substrate dependencies [#968](https://github.com/paritytech/cargo-contract/pull/968) - -### Fixed -- Fix `tracing_subscriber` filtering - [#702](https://github.com/paritytech/cargo-contract/pull/702) -- Sync version of transcode crate to fix metadata parsing - [#723](https://githubcom/paritytech/cargo-contract/pull/723) -- Fix numbering of steps during `build` - [#715](https://github.com/paritytech/cargo-contract/pull/715) -- Skip linting if running building in --offline mode - [#737](https://github.com/paritytech/cargo-contract/pull/737) -- Fix storage deposit limit encoding - [#751](https://github.com/paritytech/cargo-contract/pull/751) -- Rewrite relative path for `dev-dependency` - [#760](https://github.com/paritytech/cargo-contract/pull/760) -- Log failure instead of failing when decoding an event - [#769](https://github.com/paritytech/cargo-contract/pull/769) -- Fixed having non-JSON output after calling `instantiate` with `--output-json` - [#839](https://github.com/paritytech/cargo-contract/pull/839/files) -- add `-C target-cpu=mvp` rust flag to build command - [#838](https://github.com/paritytech/cargo-contract/pull/838/files) -- Miscellaneous extrinsics display improvements [#916](https://github.com/paritytech/cargo-contract/pull/916) -- Fix decoding of `LangError` [#919](https://github.com/paritytech/cargo-contract/pull/919) -- Respect the lockfile [#948](https://github.com/paritytech/cargo-contract/pull/948) -- Error if mismatching # of args for instantiate/call [#966](https://github.com/paritytech/cargo-contract/pull/966) -- Pretty-print call dry-run return data [#967](https://github.com/paritytech/cargo-contract/pull/967) +- Replace custom RPCs by `state_call` - [#701](https://github.com/use-ink/cargo-contract/pull/701) +- Removed requirement to install binaryen. The `wasm-opt` tool is now compiled into `cargo-contract` - [#766](https://github.com/use-ink/cargo-contract/pull/766). +- Make linting opt in with `--lint` - [#799](https://github.com/use-ink/cargo-contract/pull/799) +- Update to weights v2 - [#809](https://github.com/use-ink/cargo-contract/pull/809) +- Update validation for renamed FFI functions - [#816](https://github.com/use-ink/cargo-contract/pull/816) +- Denominated units for balances in events - [#750](https://github.com/use-ink/cargo-contract/pull/750) +- Upgrade wasm-opt to 0.110.2 - [#802](https://github.com/use-ink/cargo-contract/pull/802) +- Pass `--features` through to `cargo` - [#853](https://github.com/use-ink/cargo-contract/pull/853/files) +- Bump minimum requirement of `scale-info` in template to `2.3` - [#847](https://github.com/use-ink/cargo-contract/pull/847/files) +- Remove `unstable` module check, add `--skip-wasm-validation` - [#846](https://github.com/use-ink/cargo-contract/pull/846/files) +- Extract lib for invoking contract build - [#787](https://github.com/use-ink/cargo-contract/pull/787/files) +- Upgrade wasm-opt to 0.111.0 [#888](https://github.com/use-ink/cargo-contract/pull/888) +- Enable `wasm-opt` MVP features only [#891](https://github.com/use-ink/cargo-contract/pull/891) +- Require env_type transcoders to be Send + Sync [#879](https://github.com/use-ink/cargo-contract/pull/879) +- Extrinsics: allow specifying contract artifact directly [#893](https://github.com/use-ink/cargo-contract/pull/893) +- Upgrade `subxt` to `0.26` [#924](https://github.com/use-ink/cargo-contract/pull/924) +- Display detailed cause of an error [#931](https://github.com/use-ink/cargo-contract/pull/931) +- Use package name instead of lib name, default to "rlib" [#929](https://github.com/use-ink/cargo-contract/pull/929) +- Rename `metadata.json` to `{contract_name}.json` - [#952](https://github.com/use-ink/cargo-contract/pull/952) +- Do not postprocess or generate metadata if contract unchanged [#964](https://github.com/use-ink/cargo-contract/pull/964) +- Update `subxt` and substrate dependencies [#968](https://github.com/use-ink/cargo-contract/pull/968) + +### Fixed +- Fix `tracing_subscriber` filtering - [#702](https://github.com/use-ink/cargo-contract/pull/702) +- Sync version of transcode crate to fix metadata parsing - [#723](https://github.com/use-ink/cargo-contract/pull/723) +- Fix numbering of steps during `build` - [#715](https://github.com/use-ink/cargo-contract/pull/715) +- Skip linting if running building in --offline mode - [#737](https://github.com/use-ink/cargo-contract/pull/737) +- Fix storage deposit limit encoding - [#751](https://github.com/use-ink/cargo-contract/pull/751) +- Rewrite relative path for `dev-dependency` - [#760](https://github.com/use-ink/cargo-contract/pull/760) +- Log failure instead of failing when decoding an event - [#769](https://github.com/use-ink/cargo-contract/pull/769) +- Fixed having non-JSON output after calling `instantiate` with `--output-json` - [#839](https://github.com/use-ink/cargo-contract/pull/839/files) +- add `-C target-cpu=mvp` rust flag to build command - [#838](https://github.com/use-ink/cargo-contract/pull/838/files) +- Miscellaneous extrinsics display improvements [#916](https://github.com/use-ink/cargo-contract/pull/916) +- Fix decoding of `LangError` [#919](https://github.com/use-ink/cargo-contract/pull/919) +- Respect the lockfile [#948](https://github.com/use-ink/cargo-contract/pull/948) +- Error if mismatching # of args for instantiate/call [#966](https://github.com/use-ink/cargo-contract/pull/966) +- Pretty-print call dry-run return data [#967](https://github.com/use-ink/cargo-contract/pull/967) ### Removed -- Remove the `test` command [#958](https://github.com/paritytech/cargo-contract/pull/958) -- Remove rust toolchain channel check - [#848](https://github.com/paritytech/cargo-contract/pull/848/files) +- Remove the `test` command [#958](https://github.com/use-ink/cargo-contract/pull/958) +- Remove rust toolchain channel check - [#848](https://github.com/use-ink/cargo-contract/pull/848/files) ## [2.0.0-rc.1] - 2023-02-01 Second release candidate compatible with `ink! 4.0.0-rc`. ### Changed -- Upgrade `subxt` to `0.26` [#924](https://github.com/paritytech/cargo-contract/pull/924) -- Display detailed cause of an error [#931](https://github.com/paritytech/cargo-contract/pull/931) -- Use package name instead of lib name, default to "rlib" [#929](https://github.com/paritytech/cargo-contract/pull/929) +- Upgrade `subxt` to `0.26` [#924](https://github.com/use-ink/cargo-contract/pull/924) +- Display detailed cause of an error [#931](https://github.com/use-ink/cargo-contract/pull/931) +- Use package name instead of lib name, default to "rlib" [#929](https://github.com/use-ink/cargo-contract/pull/929) ### Fixed -- Miscellaneous extrinsics display improvements [#916](https://github.com/paritytech/cargo-contract/pull/916) -- Fix decoding of `LangError` [#919](https://github.com/paritytech/cargo-contract/pull/919) +- Miscellaneous extrinsics display improvements [#916](https://github.com/use-ink/cargo-contract/pull/916) +- Fix decoding of `LangError` [#919](https://github.com/use-ink/cargo-contract/pull/919) ## [2.0.0-rc] - 2023-01-12 First release candidate for compatibility with `ink! 4.0-rc`. ### Changed -- Extrinsics: allow specifying contract artifact directly [#893](https://github.com/paritytech/cargo-contract/pull/893) +- Extrinsics: allow specifying contract artifact directly [#893](https://github.com/use-ink/cargo-contract/pull/893) ### Added -- Add `cargo contract remove` command [#837](https://github.com/paritytech/cargo-contract/pull/837) +- Add `cargo contract remove` command [#837](https://github.com/use-ink/cargo-contract/pull/837) ## [2.0.0-beta.2] - 2023-01-09 ### Changed -- Upgrade wasm-opt to 0.111.0 [#888](https://github.com/paritytech/cargo-contract/pull/888) -- Enable `wasm-opt` MVP features only [#891](https://github.com/paritytech/cargo-contract/pull/891) -- Require env_type transcoders to be Send + Sync [#879](https://github.com/paritytech/cargo-contract/pull/879) +- Upgrade wasm-opt to 0.111.0 [#888](https://github.com/use-ink/cargo-contract/pull/888) +- Enable `wasm-opt` MVP features only [#891](https://github.com/use-ink/cargo-contract/pull/891) +- Require env_type transcoders to be Send + Sync [#879](https://github.com/use-ink/cargo-contract/pull/879) ### Fixed -- Add determinism arg to upload TX [#870](https://github.com/paritytech/cargo-contract/pull/870) +- Add determinism arg to upload TX [#870](https://github.com/use-ink/cargo-contract/pull/870) ## [2.0.0-beta.1] - 2022-12-07 ### Changed -- Pass `--features` through to `cargo` - [#853](https://github.com/paritytech/cargo-contract/pull/853/files) -- Remove rust toolchain channel check - [#848](https://github.com/paritytech/cargo-contract/pull/848/files) -- Bump minimum requirement of `scale-info` in template to `2.3` - [#847](https://github.com/paritytech/cargo-contract/pull/847/files) -- Remove `unstable` module check, add `--skip-wasm-validation` - [#846](https://github.com/paritytech/cargo-contract/pull/846/files) -- Extract lib for invoking contract build - [#787](https://github.com/paritytech/cargo-contract/pull/787/files) +- Pass `--features` through to `cargo` - [#853](https://github.com/use-ink/cargo-contract/pull/853/files) +- Remove rust toolchain channel check - [#848](https://github.com/use-ink/cargo-contract/pull/848/files) +- Bump minimum requirement of `scale-info` in template to `2.3` - [#847](https://github.com/use-ink/cargo-contract/pull/847/files) +- Remove `unstable` module check, add `--skip-wasm-validation` - [#846](https://github.com/use-ink/cargo-contract/pull/846/files) +- Extract lib for invoking contract build - [#787](https://github.com/use-ink/cargo-contract/pull/787/files) ### Fixed -- Fixed having non-JSON output after calling `instantiate` with `--output-json` - [#839](https://github.com/paritytech/cargo-contract/pull/839/files) -- add `-C target-cpu=mvp` rust flag to build command - [#838](https://github.com/paritytech/cargo-contract/pull/838/files) +- Fixed having non-JSON output after calling `instantiate` with `--output-json` - [#839](https://github.com/use-ink/cargo-contract/pull/839/files) +- add `-C target-cpu=mvp` rust flag to build command - [#838](https://github.com/use-ink/cargo-contract/pull/838/files) ## [2.0.0-beta] - 2022-11-22 -This release supports the ink! [`v4.0.0-beta`](https://github.com/paritytech/ink/releases/tag/v4.0.0-beta) release. +This release supports the ink! [`v4.0.0-beta`](https://github.com/use-ink/ink/releases/tag/v4.0.0-beta) release. ### Changed -- Update to weights v2 - [#809](https://github.com/paritytech/cargo-contract/pull/809) -- Update validation for renamed FFI functions - [#816](https://github.com/paritytech/cargo-contract/pull/816) -- Denominated units for balances in events - [#750](https://github.com/paritytech/cargo-contract/pull/750) -- Upgrade wasm-opt to 0.110.2 - [#802](https://github.com/paritytech/cargo-contract/pull/802) +- Update to weights v2 - [#809](https://github.com/use-ink/cargo-contract/pull/809) +- Update validation for renamed FFI functions - [#816](https://github.com/use-ink/cargo-contract/pull/816) +- Denominated units for balances in events - [#750](https://github.com/use-ink/cargo-contract/pull/750) +- Upgrade wasm-opt to 0.110.2 - [#802](https://github.com/use-ink/cargo-contract/pull/802) ### Added -- Log code hash if contract is already uploaded - [#805](https://github.com/paritytech/cargo-contract/pull/805) +- Log code hash if contract is already uploaded - [#805](https://github.com/use-ink/cargo-contract/pull/805) ## [2.0.0-alpha.5] - 2022-10-27 ### Added -- Add Rust specific build info to metadata - [#680](https://github.com/paritytech/cargo-contract/pull/680) +- Add Rust specific build info to metadata - [#680](https://github.com/use-ink/cargo-contract/pull/680) ### Changed -- Removed requirement to install binaryen. The `wasm-opt` tool is now compiled into `cargo-contract` - [#766](https://github.com/paritytech/cargo-contract/pull/766). -- Make linting opt in with `--lint` - [#799](https://github.com/paritytech/cargo-contract/pull/799) +- Removed requirement to install binaryen. The `wasm-opt` tool is now compiled into `cargo-contract` - [#766](https://github.com/use-ink/cargo-contract/pull/766). +- Make linting opt in with `--lint` - [#799](https://github.com/use-ink/cargo-contract/pull/799) ### Fixed -- Log failure instead of failing when decoding an event - [#769](https://github.com/paritytech/cargo-contract/pull/769) +- Log failure instead of failing when decoding an event - [#769](https://github.com/use-ink/cargo-contract/pull/769) ## [2.0.0-alpha.4] - 2022-10-03 ### Fixed -- Fix storage deposit limit encoding - [#751](https://github.com/paritytech/cargo-contract/pull/751) -- Rewrite relative path for `dev-dependency` - [#760](https://github.com/paritytech/cargo-contract/pull/760) +- Fix storage deposit limit encoding - [#751](https://github.com/use-ink/cargo-contract/pull/751) +- Rewrite relative path for `dev-dependency` - [#760](https://github.com/use-ink/cargo-contract/pull/760) ## [2.0.0-alpha.3] - 2022-09-21 -This release supports compatibility with the [`v4.0.0-alpha.3`](https://github.com/paritytech/ink/releases/tag/v4.0.0-alpha.3) +This release supports compatibility with the [`v4.0.0-alpha.3`](https://github.com/use-ink/ink/releases/tag/v4.0.0-alpha.3) release of `ink!`. It is *not* backwards compatible with older versions of `ink!`. ### Added -- `--output-json` support for `call`, `instantiate` and `upload` commands - [#722](https://github.com/paritytech/cargo-contract/pull/722) -- Denominated units for Balances - [#750](https://github.com/paritytech/cargo-contract/pull/750) -- Use new ink entrance crate - [#728](https://github.com/paritytech/cargo-contract/pull/728) +- `--output-json` support for `call`, `instantiate` and `upload` commands - [#722](https://github.com/use-ink/cargo-contract/pull/722) +- Denominated units for Balances - [#750](https://github.com/use-ink/cargo-contract/pull/750) +- Use new ink entrance crate - [#728](https://github.com/use-ink/cargo-contract/pull/728) ### Fixed -- Skip linting if running building in --offline mode - [#737](https://github.com/paritytech/cargo-contract/pull/737) +- Skip linting if running building in --offline mode - [#737](https://github.com/use-ink/cargo-contract/pull/737) ## [2.0.0-alpha.2] - 2022-09-02 ### Fixed -- Sync version of transcode crate to fix metadata parsing - [#723](https://githubcom/paritytech/cargo-contract/pull/723) -- Fix numbering of steps during `build` - [#715](https://github.com/paritytech/cargo-contract/pull/715) +- Sync version of transcode crate to fix metadata parsing - [#723](https://github.com/use-ink/cargo-contract/pull/723) +- Fix numbering of steps during `build` - [#715](https://github.com/use-ink/cargo-contract/pull/715) ## [2.0.0-alpha.1] - 2022-08-24 @@ -439,88 +440,88 @@ This release brings two exciting updates! First, contracts can now be built usin `stable` Rust toolchain! Don't ask us how we managed to do this 👻. Secondly, it allows you to build ink! `v4.0.0-alpha.1`, which introduced a small - but -breaking - change to the ink! ABI as part of [paritytech/ink#1313](https://github.com/paritytech/ink/pull/1313). +breaking - change to the ink! ABI as part of [use-ink/ink#1313](https://github.com/use-ink/ink/pull/1313). ### Added -- Add support for ink!'s `version` metadata field - [#641](https://github.com/paritytech/cargo-contract/pull/641) +- Add support for ink!'s `version` metadata field - [#641](https://github.com/use-ink/cargo-contract/pull/641) ### Changed -- Build contracts and dylint driver with stable - [#698](https://github.com/paritytech/cargo-contract/pull/698) -- Compile dylints when compiling the contract - [#703](https://github.com/paritytech/cargo-contract/pull/703) -- Move transcode example to doc test, add helper method - [#705](https://github.com/paritytech/cargo-contract/pull/705) +- Build contracts and dylint driver with stable - [#698](https://github.com/use-ink/cargo-contract/pull/698) +- Compile dylints when compiling the contract - [#703](https://github.com/use-ink/cargo-contract/pull/703) +- Move transcode example to doc test, add helper method - [#705](https://github.com/use-ink/cargo-contract/pull/705) - Note that alongside this PR we released [`contract-transcode@0.2.0`](https://crates.io/crates/contract-transcode/0.2.0) -- Replace custom RPCs by `state_call` - [#701](https://github.com/paritytech/cargo-contract/pull/701) +- Replace custom RPCs by `state_call` - [#701](https://github.com/use-ink/cargo-contract/pull/701) ### Fixed -- Fix `tracing_subscriber` filtering - [#702](https://github.com/paritytech/cargo-contract/pull/702) +- Fix `tracing_subscriber` filtering - [#702](https://github.com/use-ink/cargo-contract/pull/702) ## [1.5.0] - 2022-08-15 ### Added -- Dry run gas limit estimation - [#484](https://github.com/paritytech/cargo-contract/pull/484) +- Dry run gas limit estimation - [#484](https://github.com/use-ink/cargo-contract/pull/484) ### Changed -- Bump `ink_*` crates to `v3.3.1` - [#686](https://github.com/paritytech/cargo-contract/pull/686) -- Refactor out transcode as a separate library - [#597](https://github.com/paritytech/cargo-contract/pull/597) -- Sync `metadata` version with `cargo-contract` - [#611](https://github.com/paritytech/cargo-contract/pull/611) -- Adapt to new subxt API - [#678](https://github.com/paritytech/cargo-contract/pull/678) -- Replace log/env_logger with tracing/tracing_subscriber - [#689](https://github.com/paritytech/cargo-contract/pull/689) +- Bump `ink_*` crates to `v3.3.1` - [#686](https://github.com/use-ink/cargo-contract/pull/686) +- Refactor out transcode as a separate library - [#597](https://github.com/use-ink/cargo-contract/pull/597) +- Sync `metadata` version with `cargo-contract` - [#611](https://github.com/use-ink/cargo-contract/pull/611) +- Adapt to new subxt API - [#678](https://github.com/use-ink/cargo-contract/pull/678) +- Replace log/env_logger with tracing/tracing_subscriber - [#689](https://github.com/use-ink/cargo-contract/pull/689) - Contract upload: emitting a warning instead of an error when the contract already - existed is more user friendly - [#644](https://github.com/paritytech/cargo-contract/pull/644) + existed is more user friendly - [#644](https://github.com/use-ink/cargo-contract/pull/644) ### Fixed -- Fix windows dylint build [#690](https://github.com/paritytech/cargo-contract/pull/690) -- Fix `instantiate_with_code` with already uploaded code [#594](https://github.com/paritytech/cargo-contract/pull/594) +- Fix windows dylint build [#690](https://github.com/use-ink/cargo-contract/pull/690) +- Fix `instantiate_with_code` with already uploaded code [#594](https://github.com/use-ink/cargo-contract/pull/594) ## [1.4.0] - 2022-05-18 ### Changed -- Updated `cargo contract new` template dependencies to ink! `version = "3"` - [#569](https://github.com/paritytech/cargo-contract/pull/569) -- Improved documentation on how to invoke `cargo contract decode` - [#572](https://github.com/paritytech/cargo-contract/pull/572) +- Updated `cargo contract new` template dependencies to ink! `version = "3"` - [#569](https://github.com/use-ink/cargo-contract/pull/569) +- Improved documentation on how to invoke `cargo contract decode` - [#572](https://github.com/use-ink/cargo-contract/pull/572) ### Fixed -- Make constructor selector look for exact function name - [#562](https://github.com/paritytech/cargo-contract/pull/562) (thanks [@forgetso](https://github.com/forgetso)!) -- Fix dirty directory issue when crate installation had been interrupted - [#571](https://github.com/paritytech/cargo-contract/pull/571) +- Make constructor selector look for exact function name - [#562](https://github.com/use-ink/cargo-contract/pull/562) (thanks [@forgetso](https://github.com/forgetso)!) +- Fix dirty directory issue when crate installation had been interrupted - [#571](https://github.com/use-ink/cargo-contract/pull/571) ## [1.3.0] - 2022-05-09 ### Added -- Allow hex literals for unsigned integers - [#547](https://github.com/paritytech/cargo-contract/pull/547) +- Allow hex literals for unsigned integers - [#547](https://github.com/use-ink/cargo-contract/pull/547) ### Fixed -- Display `H256` instances in events as hex encoded string - [#550](https://github.com/paritytech/cargo-contract/pull/550) -- Fix extrinsic params for contract chains - [#523](https://github.com/paritytech/cargo-contract/pull/523) -- Fix `Vec` args - [#519](https://github.com/paritytech/cargo-contract/pull/519) -- Fix `--dry-run` error deserialization and report error details - [#534](https://github.com/paritytech/cargo-contract/pull/534) +- Display `H256` instances in events as hex encoded string - [#550](https://github.com/use-ink/cargo-contract/pull/550) +- Fix extrinsic params for contract chains - [#523](https://github.com/use-ink/cargo-contract/pull/523) +- Fix `Vec` args - [#519](https://github.com/use-ink/cargo-contract/pull/519) +- Fix `--dry-run` error deserialization and report error details - [#534](https://github.com/use-ink/cargo-contract/pull/534) ## [1.2.0] - 2022-04-13 ### Added -- `decode` command for event, message and constructor data decoding - [#481](https://github.com/paritytech/cargo-contract/pull/481) +- `decode` command for event, message and constructor data decoding - [#481](https://github.com/use-ink/cargo-contract/pull/481) ### Fixed -- Fix usage of `check-only` and remove need for `FromStr` impl - [#499](https://github.com/paritytech/cargo-contract/pull/499) +- Fix usage of `check-only` and remove need for `FromStr` impl - [#499](https://github.com/use-ink/cargo-contract/pull/499) ## [1.1.1] - 2022-04-05 ### Fixed -- Fix linting support for Apple Silicon (and some other architectures) - [#489](https://github.com/paritytech/cargo-contract/pull/489) -- Allow multiple args values for call and instantiate commands - [#480](https://github.com/paritytech/cargo-contract/pull/480) -- Fix event decoding - [`c721b1`](https://github.com/paritytech/cargo-contract/commit/c721b19519e579de41217aa347625920925d8040) +- Fix linting support for Apple Silicon (and some other architectures) - [#489](https://github.com/use-ink/cargo-contract/pull/489) +- Allow multiple args values for call and instantiate commands - [#480](https://github.com/use-ink/cargo-contract/pull/480) +- Fix event decoding - [`c721b1`](https://github.com/use-ink/cargo-contract/commit/c721b19519e579de41217aa347625920925d8040) ## [1.1.0] - 2022-03-18 ### Added -- `--skip-linting` flag that allows to skip the linting step during build process - [#468](https://github.com/paritytech/cargo-contract/pull/468) +- `--skip-linting` flag that allows to skip the linting step during build process - [#468](https://github.com/use-ink/cargo-contract/pull/468) ## [1.0.1] - 2022-03-18 -- Improved error reporting during installation - [#469](https://github.com/paritytech/cargo-contract/pull/469) +- Improved error reporting during installation - [#469](https://github.com/use-ink/cargo-contract/pull/469) ## [1.0.0] - 2022-03-17 ### Changed -- Updated `cargo contract new` template dependencies to ink! `3.0` - [#466](https://github.com/paritytech/cargo-contract/pull/466) +- Updated `cargo contract new` template dependencies to ink! `3.0` - [#466](https://github.com/use-ink/cargo-contract/pull/466) ## [0.18.0] - 2022-03-14 @@ -530,7 +531,7 @@ We added commands to upload, instantiate and call contracts! This allows interacting with contracts on live chains with a compatible [`pallet-contracts`](https://github.com/paritytech/substrate/tree/master/frame/contracts). -For command-line examples on how to use these commands see [#79](https://github.com/paritytech/cargo-contract/pull/79). +For command-line examples on how to use these commands see [#79](https://github.com/use-ink/cargo-contract/pull/79). ### Linting rules for smart contracts @@ -539,176 +540,176 @@ From now on `cargo-contract` checks if the ink! smart contract that is `build` or `check`-ed follows certain rules. As a starting point we've only added one linting rule so far; it asserts correct -initialization of the [`ink_storage::Mapping`](https://paritytech.github.io/ink/ink_storage/struct.Mapping.html) +initialization of the [`ink_storage::Mapping`](https://use-ink.github.io/ink/ink_storage/struct.Mapping.html) data structure. In order for the linting to work with your smart contract, the contract has to be written in at least ink! 3.0.0-rc9. If it's older the linting will just always succeed. ### Added -- Interact with contracts: upload, instantiate and call commands - [#79](https://github.com/paritytech/cargo-contract/pull/79) -- Add linting to assert correct initialization of [`ink_storage::Mapping`](https://paritytech.github.io/ink/ink_storage/struct.Mapping.html) - [#431](https://github.com/paritytech/cargo-contract/pull/431) +- Interact with contracts: upload, instantiate and call commands - [#79](https://github.com/use-ink/cargo-contract/pull/79) +- Add linting to assert correct initialization of [`ink_storage::Mapping`](https://use-ink.github.io/ink/ink_storage/struct.Mapping.html) - [#431](https://github.com/use-ink/cargo-contract/pull/431) ### Changed -- Upgrade `subxt`, SCALE crates, and substrate primitive `sp-*` crates [#451](https://github.com/paritytech/cargo-contract/pull/451). -- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc9` - [#443](https://github.com/paritytech/cargo-contract/pull/443) +- Upgrade `subxt`, SCALE crates, and substrate primitive `sp-*` crates [#451](https://github.com/use-ink/cargo-contract/pull/451). +- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc9` - [#443](https://github.com/use-ink/cargo-contract/pull/443) ## [0.17.0] - 2022-01-19 ### Changed -- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc8` - [#402](https://github.com/paritytech/cargo-contract/pull/402) -- Reverted the disabled overflow checks in the `cargo contract new` template - [#376](https://github.com/paritytech/cargo-contract/pull/376) -- Migrated to 2021 edition, enforcing MSRV of `1.56.1` - [#360](https://github.com/paritytech/cargo-contract/pull/360) +- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc8` - [#402](https://github.com/use-ink/cargo-contract/pull/402) +- Reverted the disabled overflow checks in the `cargo contract new` template - [#376](https://github.com/use-ink/cargo-contract/pull/376) +- Migrated to 2021 edition, enforcing MSRV of `1.56.1` - [#360](https://github.com/use-ink/cargo-contract/pull/360) ### Added -- For contract size optimization added `workspace` section to override parent `workspace` - [#378](https://github.com/paritytech/cargo-contract/pull/378) +- For contract size optimization added `workspace` section to override parent `workspace` - [#378](https://github.com/use-ink/cargo-contract/pull/378) ## [0.16.0] - 2021-11-25 ### Changed -- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc7` - [#374](https://github.com/paritytech/cargo-contract/pull/374) -- Disabled overflow checks in the `cargo contract new` template - [#372](https://github.com/paritytech/cargo-contract/pull/372) -- Use `-Clinker-plugin-lto` if `lto` is enabled (reduces the size of a contract) - [#358](https://github.com/paritytech/cargo-contract/pull/358) -- Deserialize metadata - [#368](https://github.com/paritytech/cargo-contract/pull/368) +- Updated `cargo contract new` template dependencies to ink! `3.0.0-rc7` - [#374](https://github.com/use-ink/cargo-contract/pull/374) +- Disabled overflow checks in the `cargo contract new` template - [#372](https://github.com/use-ink/cargo-contract/pull/372) +- Use `-Clinker-plugin-lto` if `lto` is enabled (reduces the size of a contract) - [#358](https://github.com/use-ink/cargo-contract/pull/358) +- Deserialize metadata - [#368](https://github.com/use-ink/cargo-contract/pull/368) ### Added -- Added a `--offline` flag to build contracts without network access - [#356](https://github.com/paritytech/cargo-contract/pull/356) +- Added a `--offline` flag to build contracts without network access - [#356](https://github.com/use-ink/cargo-contract/pull/356) ## [0.15.0] - 2021-10-18 ### Changed -- Update to `scale-info` 1.0 and support new metadata versioning - [#342](https://github.com/paritytech/cargo-contract/pull/342) -- Update `cargo contract new` template dependencies to ink! `rc6` - [#342](https://github.com/paritytech/cargo-contract/pull/342) +- Update to `scale-info` 1.0 and support new metadata versioning - [#342](https://github.com/use-ink/cargo-contract/pull/342) +- Update `cargo contract new` template dependencies to ink! `rc6` - [#342](https://github.com/use-ink/cargo-contract/pull/342) ## [0.14.0] - 2021-08-12 ### Added -- Add option for JSON formatted output - [#324](https://github.com/paritytech/cargo-contract/pull/324) +- Add option for JSON formatted output - [#324](https://github.com/use-ink/cargo-contract/pull/324) ### Changed -- Use new dependency resolver for template contract - [#325](https://github.com/paritytech/cargo-contract/pull/325) -- Do not strip out panic messages in debug builds - [#326](https://github.com/paritytech/cargo-contract/pull/326) +- Use new dependency resolver for template contract - [#325](https://github.com/use-ink/cargo-contract/pull/325) +- Do not strip out panic messages in debug builds - [#326](https://github.com/use-ink/cargo-contract/pull/326) ## [0.13.1] - 2021-08-03 ### Fixed -- Fixed a Windows issue with contract files in sub-folders - [#313](https://github.com/paritytech/cargo-contract/pull/313) +- Fixed a Windows issue with contract files in sub-folders - [#313](https://github.com/use-ink/cargo-contract/pull/313) ## [0.13.0] - 2021-07-22 ### Added -- Convenient off-chain testing through `cargo contract test` - [#283](https://github.com/paritytech/cargo-contract/pull/283) -- Build contracts in debug mode by default, add `--release` flag - [#298](https://github.com/paritytech/cargo-contract/pull/298) -- Add `--keep-symbols` flag for better Wasm analysis capabilities - [#302](https://github.com/paritytech/cargo-contract/pull/302) +- Convenient off-chain testing through `cargo contract test` - [#283](https://github.com/use-ink/cargo-contract/pull/283) +- Build contracts in debug mode by default, add `--release` flag - [#298](https://github.com/use-ink/cargo-contract/pull/298) +- Add `--keep-symbols` flag for better Wasm analysis capabilities - [#302](https://github.com/use-ink/cargo-contract/pull/302) ### Changed -- Change default optimizations pass to focus on code size - [#305](https://github.com/paritytech/cargo-contract/pull/305) +- Change default optimizations pass to focus on code size - [#305](https://github.com/use-ink/cargo-contract/pull/305) ## [0.12.1] - 2021-05-25 ### Added -- Suggest `binaryen` installation from GitHub release on outdated version - [#274](https://github.com/paritytech/cargo-contract/pull/274) +- Suggest `binaryen` installation from GitHub release on outdated version - [#274](https://github.com/use-ink/cargo-contract/pull/274) ### Fixed -- Always use library targets name for contract artifacts - [#277](https://github.com/paritytech/cargo-contract/pull/277) +- Always use library targets name for contract artifacts - [#277](https://github.com/use-ink/cargo-contract/pull/277) ## [0.12.0] - 2021-04-21 ### Fixed - Fixed `ERROR: The workspace root package should be a workspace member` when building a contract - under Windows - [#261](https://github.com/paritytech/cargo-contract/pull/261) + under Windows - [#261](https://github.com/use-ink/cargo-contract/pull/261) ### Removed -- Remove support for `--binaryen-as-dependency` - [#251](https://github.com/paritytech/cargo-contract/pull/251) -- Remove support for the deprecated `cargo contract generate-metadata` command - [#265](https://github.com/paritytech/cargo-contract/pull/265) -- Remove pinned `funty` dependency from "new project" template - [#260](https://github.com/paritytech/cargo-contract/pull/260) +- Remove support for `--binaryen-as-dependency` - [#251](https://github.com/use-ink/cargo-contract/pull/251) +- Remove support for the deprecated `cargo contract generate-metadata` command - [#265](https://github.com/use-ink/cargo-contract/pull/265) +- Remove pinned `funty` dependency from "new project" template - [#260](https://github.com/use-ink/cargo-contract/pull/260) ## [0.11.1] - 2021-04-06 ### Fixed -- Fix `wasm-opt --version` parsing - [#248](https://github.com/paritytech/cargo-contract/pull/248) +- Fix `wasm-opt --version` parsing - [#248](https://github.com/use-ink/cargo-contract/pull/248) ## [0.11.0] - 2021-03-31 ### Added -- Improve error output for `wasm-opt` interaction - [#244](https://github.com/paritytech/cargo-contract/pull/244) -- Check optimized Wasm output file exists - [#243](https://github.com/paritytech/cargo-contract/pull/243) -- Detect `wasm-opt` version compatibility and improve error messages - [#242](https://github.com/paritytech/cargo-contract/pull/242) -- Detect version mismatches of `parity-scale-codec` in contract and ink! dependency - [#237](https://github.com/paritytech/cargo-contract/pull/237) -- Support specifying `optimization-passes` in the release profile - [#231](https://github.com/paritytech/cargo-contract/pull/231) -- Support specifying `optimization-passes` on the CLI - [#216](https://github.com/paritytech/cargo-contract/pull/216) -- Use `ink::test` attribute in "new project" template - [#190](https://github.com/paritytech/cargo-contract/pull/190) +- Improve error output for `wasm-opt` interaction - [#244](https://github.com/use-ink/cargo-contract/pull/244) +- Check optimized Wasm output file exists - [#243](https://github.com/use-ink/cargo-contract/pull/243) +- Detect `wasm-opt` version compatibility and improve error messages - [#242](https://github.com/use-ink/cargo-contract/pull/242) +- Detect version mismatches of `parity-scale-codec` in contract and ink! dependency - [#237](https://github.com/use-ink/cargo-contract/pull/237) +- Support specifying `optimization-passes` in the release profile - [#231](https://github.com/use-ink/cargo-contract/pull/231) +- Support specifying `optimization-passes` on the CLI - [#216](https://github.com/use-ink/cargo-contract/pull/216) +- Use `ink::test` attribute in "new project" template - [#190](https://github.com/use-ink/cargo-contract/pull/190) ### Fixed -- Only allow new contract names beginning with an alphabetic character - [#219](https://github.com/paritytech/cargo-contract/pull/219) -- Upgrade `cargo-metadata` and fix usages - [#210](https://github.com/paritytech/cargo-contract/pull/210) +- Only allow new contract names beginning with an alphabetic character - [#219](https://github.com/use-ink/cargo-contract/pull/219) +- Upgrade `cargo-metadata` and fix usages - [#210](https://github.com/use-ink/cargo-contract/pull/210) ## [0.10.0] - 2021-03-02 ### Fixed -- no periods in new contract names - [#192](https://github.com/paritytech/cargo-contract/pull/192) +- no periods in new contract names - [#192](https://github.com/use-ink/cargo-contract/pull/192) ### Changed -- Update `cargo contract new` template dependencies for `ink!` `rc3` - [#204](https://github.com/paritytech/cargo-contract/pull/204) +- Update `cargo contract new` template dependencies for `ink!` `rc3` - [#204](https://github.com/use-ink/cargo-contract/pull/204) ## [0.9.1] - 2021-02-24 ### Fixed -- Fix linker error when building complex contracts - [#199](https://github.com/paritytech/cargo-contract/pull/199) +- Fix linker error when building complex contracts - [#199](https://github.com/use-ink/cargo-contract/pull/199) ## [0.9.0] - 2021-02-22 ### Added -- Implement Wasm validation for known issues/markers - [#171](https://github.com/paritytech/cargo-contract/pull/171) +- Implement Wasm validation for known issues/markers - [#171](https://github.com/use-ink/cargo-contract/pull/171) ### Changed -- Use either `binaryen-rs` dep or `wasm-opt` binary - [#168](https://github.com/paritytech/cargo-contract/pull/168) -- Update to scale-info 0.5 and codec 2.0 - [#164](https://github.com/paritytech/cargo-contract/pull/164) -- Put build artifacts under `target/ink/` - [#122](https://github.com/paritytech/cargo-contract/pull/122) +- Use either `binaryen-rs` dep or `wasm-opt` binary - [#168](https://github.com/use-ink/cargo-contract/pull/168) +- Update to scale-info 0.5 and codec 2.0 - [#164](https://github.com/use-ink/cargo-contract/pull/164) +- Put build artifacts under `target/ink/` - [#122](https://github.com/use-ink/cargo-contract/pull/122) ### Fixed -- Fix `wasm-opt` regression - [#187](https://github.com/paritytech/cargo-contract/pull/187) -- Generate metadata explicitly for the contract which is build - [#174](https://github.com/paritytech/cargo-contract/pull/174) -- Fix bug with empty Wasm file when using system binaryen for optimization - [#179](https://github.com/paritytech/cargo-contract/pull/179) -- Suppress output on `--quiet` - [#165](https://github.com/paritytech/cargo-contract/pull/165) -- Do not generate build artifacts under `target` for `check` - [#124](https://github.com/paritytech/cargo-contract/pull/124) -- update wasm-path usage name - [#135](https://github.com/paritytech/cargo-contract/pull/135) +- Fix `wasm-opt` regression - [#187](https://github.com/use-ink/cargo-contract/pull/187) +- Generate metadata explicitly for the contract which is build - [#174](https://github.com/use-ink/cargo-contract/pull/174) +- Fix bug with empty Wasm file when using system binaryen for optimization - [#179](https://github.com/use-ink/cargo-contract/pull/179) +- Suppress output on `--quiet` - [#165](https://github.com/use-ink/cargo-contract/pull/165) +- Do not generate build artifacts under `target` for `check` - [#124](https://github.com/use-ink/cargo-contract/pull/124) +- update wasm-path usage name - [#135](https://github.com/use-ink/cargo-contract/pull/135) ## [0.8.0] - 2020-11-27 -- Exit with 1 on Err [#109](https://github.com/paritytech/cargo-contract/pull/109) -- Use package name instead of lib name for metadata dependency [#107](https://github.com/paritytech/cargo-contract/pull/107) -- Do not prettify JSON for bundle [#105](https://github.com/paritytech/cargo-contract/pull/105) -- Make `source.hash` non-optional, remove metadata-only [#104](https://github.com/paritytech/cargo-contract/pull/104) -- Implement new commands `build` and `check` + introduce bundles (.contract files) [#97](https://github.com/paritytech/cargo-contract/pull/97) -- Replace xbuild with cargo build-std [#99](https://github.com/paritytech/cargo-contract/pull/99) -- Use binaryen-rs as dep instead of requiring manual wasm-opt installation [#95](https://github.com/paritytech/cargo-contract/pull/95) -- Specify optional --manifest-path for build and generate-metadata [#93](https://github.com/paritytech/cargo-contract/pull/93) +- Exit with 1 on Err [#109](https://github.com/use-ink/cargo-contract/pull/109) +- Use package name instead of lib name for metadata dependency [#107](https://github.com/use-ink/cargo-contract/pull/107) +- Do not prettify JSON for bundle [#105](https://github.com/use-ink/cargo-contract/pull/105) +- Make `source.hash` non-optional, remove metadata-only [#104](https://github.com/use-ink/cargo-contract/pull/104) +- Implement new commands `build` and `check` + introduce bundles (.contract files) [#97](https://github.com/use-ink/cargo-contract/pull/97) +- Replace xbuild with cargo build-std [#99](https://github.com/use-ink/cargo-contract/pull/99) +- Use binaryen-rs as dep instead of requiring manual wasm-opt installation [#95](https://github.com/use-ink/cargo-contract/pull/95) +- Specify optional --manifest-path for build and generate-metadata [#93](https://github.com/use-ink/cargo-contract/pull/93) ## [0.7.1] - 2020-10-26 -- Update new command template to ink! 3.0-rc2 [#85](https://github.com/paritytech/cargo-contract/pull/85) +- Update new command template to ink! 3.0-rc2 [#85](https://github.com/use-ink/cargo-contract/pull/85) ## [0.7.0] - 2020-10-13 -- Fix deprecation warnings [#82](https://github.com/paritytech/cargo-contract/pull/82) -- Use ink 3.0.0-rc1 [#82](https://github.com/paritytech/cargo-contract/pull/82) -- [template] now uses ink_env and ink_storage [#81](https://github.com/paritytech/cargo-contract/pull/81) -- Update new command template to ink! 3.0 syntax [#80](https://github.com/paritytech/cargo-contract/pull/80) -- Extract contract metadata to its own crate [#69](https://github.com/paritytech/cargo-contract/pull/69) -- Fix ManifestPath compiler errors [#73](https://github.com/paritytech/cargo-contract/pull/73) -- Upgrade cargo-xbuild and other dependencies [#71](https://github.com/paritytech/cargo-contract/pull/71) -- Update subxt and async-std dependencies [#66](https://github.com/paritytech/cargo-contract/pull/66) -- Generate extended contract metadata [#62](https://github.com/paritytech/cargo-contract/pull/62) -- Autogenerate abi/metadata package [#58](https://github.com/paritytech/cargo-contract/pull/58) -- Extract workspace to module directory [#59](https://github.com/paritytech/cargo-contract/pull/59) -- Add preferred default release profile settings [#55](https://github.com/paritytech/cargo-contract/pull/55) -- Add option to build with unmodified original manifest [#51](https://github.com/paritytech/cargo-contract/pull/51) -- Update cargo-xbuild [#54](https://github.com/paritytech/cargo-contract/pull/54) +- Fix deprecation warnings [#82](https://github.com/use-ink/cargo-contract/pull/82) +- Use ink 3.0.0-rc1 [#82](https://github.com/use-ink/cargo-contract/pull/82) +- [template] now uses ink_env and ink_storage [#81](https://github.com/use-ink/cargo-contract/pull/81) +- Update new command template to ink! 3.0 syntax [#80](https://github.com/use-ink/cargo-contract/pull/80) +- Extract contract metadata to its own crate [#69](https://github.com/use-ink/cargo-contract/pull/69) +- Fix ManifestPath compiler errors [#73](https://github.com/use-ink/cargo-contract/pull/73) +- Upgrade cargo-xbuild and other dependencies [#71](https://github.com/use-ink/cargo-contract/pull/71) +- Update subxt and async-std dependencies [#66](https://github.com/use-ink/cargo-contract/pull/66) +- Generate extended contract metadata [#62](https://github.com/use-ink/cargo-contract/pull/62) +- Autogenerate abi/metadata package [#58](https://github.com/use-ink/cargo-contract/pull/58) +- Extract workspace to module directory [#59](https://github.com/use-ink/cargo-contract/pull/59) +- Add preferred default release profile settings [#55](https://github.com/use-ink/cargo-contract/pull/55) +- Add option to build with unmodified original manifest [#51](https://github.com/use-ink/cargo-contract/pull/51) +- Update cargo-xbuild [#54](https://github.com/use-ink/cargo-contract/pull/54) ## [0.6.1] - 2020-05-12 -- Fix LTO regressions in nightly toolchain [#52](https://github.com/paritytech/cargo-contract/pull/52) +- Fix LTO regressions in nightly toolchain [#52](https://github.com/use-ink/cargo-contract/pull/52) ## [0.6.0] - 2020-03-25 @@ -717,8 +718,8 @@ written in at least ink! 3.0.0-rc9. If it's older the linting will just always s ## [0.5.0] - 2020-03-18 -- Upgrades dependencies [#45](https://github.com/paritytech/cargo-contract/pull/45) -- Update template to ink! 2.0 dependencies [#47](https://github.com/paritytech/cargo-contract/pull/47) +- Upgrades dependencies [#45](https://github.com/use-ink/cargo-contract/pull/45) +- Update template to ink! 2.0 dependencies [#47](https://github.com/use-ink/cargo-contract/pull/47) ## [0.4.1] - 2020-02-26 diff --git a/FILE_HEADER b/FILE_HEADER index 54dc0b7fa..a7be921fc 100644 --- a/FILE_HEADER +++ b/FILE_HEADER @@ -1,4 +1,4 @@ -// Copyright {20\d{2}}-{20\d{2}} Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/README.md b/README.md index 519b18cb3..14b8bbef9 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@
- cargo-contract + cargo-contract [![CI Status][a1]][a2] [![Latest Release][d1]][d2] [![stack-exchange][s1]][s2] -[a1]: https://github.com/paritytech/cargo-contract/workflows/ci/badge.svg -[a2]: https://github.com/paritytech/cargo-contract/actions?query=workflow%3Aci+branch%3Amaster +[a1]: https://github.com/use-ink/cargo-contract/workflows/ci/badge.svg +[a2]: https://github.com/use-ink/cargo-contract/actions?query=workflow%3Aci+branch%3Amaster [d1]: https://img.shields.io/crates/v/cargo-contract.svg [d2]: https://crates.io/crates/cargo-contract [s1]: https://img.shields.io/badge/click-white.svg?logo=StackExchange&label=ink!%20Support%20on%20StackExchange&labelColor=white&color=blue @@ -14,7 +14,7 @@

-> squink, the ink! mascot`cargo-contract` is a CLI tool which helps you develop smart contracts in Parity's ink!.
ink! is a Rust [eDSL](https://wiki.haskell.org/Embedded_domain_specific_language) which allows you to write smart contracts for blockchains built on the [Substrate](https://github.com/paritytech/substrate) framework. +> squink, the ink! mascot`cargo-contract` is a CLI tool which helps you develop smart contracts for Polkadot's ink!.
ink! is a Rust [eDSL](https://wiki.haskell.org/Embedded_domain_specific_language) which allows you to write smart contracts for blockchains built on the [Substrate](https://github.com/paritytech/substrate) framework.

@@ -29,7 +29,7 @@ More relevant links: - Find answers to your questions by joining our [Stack Exchange][s2] community -- [ink!](https://github.com/paritytech/ink) ‒ The main ink! repository with smart contract examples +- [ink!](https://github.com/use-ink/ink) ‒ The main ink! repository with smart contract examples - [Contracts UI](https://contracts-ui.substrate.io/) ‒ Frontend for contract deployment and interaction - [Substrate Contracts Node](https://github.com/paritytech/substrate-contracts-node) ‒ Simple Substrate blockchain which includes smart contract functionality @@ -59,7 +59,7 @@ You can always update the `cargo-contract` binary to the latest version by runni ### Installation using Docker Image -If you prefer to use Docker instead we have a Docker image +If you prefer to use Docker instead, Parity has a Docker image [available on the Docker Hub](https://hub.docker.com/r/paritytech/contracts-ci-linux): ```bash @@ -108,7 +108,7 @@ e.g. `cargo contract new --help`. Create an initial smart contract with some scaffolding code into a new folder `my_contract` . -The contract contains the source code for the [`Flipper`](https://github.com/paritytech/ink-examples/blob/main/flipper/lib.rs) +The contract contains the source code for the [`Flipper`](https://github.com/use-ink/ink-examples/blob/main/flipper/lib.rs) contract, which is about the simplest "smart" contract you can build ‒ a `bool` which gets flipped from `true` to `false` through the `flip()` function. @@ -193,6 +193,3 @@ In order to publish a new version of `cargo-contract`: ## License The entire code within this repository is licensed under the [GPLv3](LICENSE). - -Please [contact us](https://www.parity.io/contact/) if you have questions about -the licensing of our products. diff --git a/SECURITY.md b/SECURITY.md index 7a6cbe7ec..e77ee0d7e 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,8 +2,4 @@ If you find something that can be treated as a security vulnerability, please do not use the issue tracker or discuss it in the public forum/channels, as it can cause more damage rather than giving real help to the ecosystem. -Security vulnerabilities should be reported using [this contact form](https://security-submission.parity.io/). - -If you think that your report might be eligible for the Bug Bounty Program, please mark this during the submission. Please check up-to-date [Parity Bug Bounty Program rules](https://www.parity.io/bug-bounty) for more information about our Bug Bounty Program. - -**Warning:** This is an unified `SECURITY.md` file for the Paritytech GitHub Organization. The presence of this file does not mean that this repository is covered by the Bug Bounty program. Please always check the Bug Bounty Program scope for the information. +Security vulnerabilities should be reported using [this contact form](https://blocksurvey.io/ink-security-vulnerability-reporting-QCfzqPF8QMqIrJUEll7yPA?v=o). diff --git a/crates/analyze/Cargo.toml b/crates/analyze/Cargo.toml index b158f13dc..965413dcb 100644 --- a/crates/analyze/Cargo.toml +++ b/crates/analyze/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "contract-analyze" version = "5.0.0-alpha" -authors = ["Use Ink "] +authors = ["Use Ink "] edition = "2021" license = "Apache-2.0" readme = "README.md" -repository = "https://github.com/paritytech/cargo-contract" +repository = "https://github.com/use-ink/cargo-contract" documentation = "https://docs.rs/contract-analyze" homepage = "https://www.substrate.io/" description = "Library determining source language for smart contracts on substrate" -keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] +keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE"] [dependencies] diff --git a/crates/analyze/README.md b/crates/analyze/README.md index 9a1e2aef2..0656ab973 100644 --- a/crates/analyze/README.md +++ b/crates/analyze/README.md @@ -2,5 +2,5 @@ Contains heuristic for determining source language for smart contract. -Currently part of [`cargo-contract`](https://github.com/paritytech/cargo-contract), the build tool for smart - contracts written in [ink!](https://github.com/paritytech/ink). +Currently part of [`cargo-contract`](https://github.com/use-ink/cargo-contract), the build tool for smart + contracts written in [ink!](https://github.com/use-ink/ink). diff --git a/crates/analyze/src/lib.rs b/crates/analyze/src/lib.rs index b8076502d..d32a2f1e9 100644 --- a/crates/analyze/src/lib.rs +++ b/crates/analyze/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/Cargo.toml b/crates/build/Cargo.toml index 9da77a5d6..b9ffe62a7 100644 --- a/crates/build/Cargo.toml +++ b/crates/build/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "contract-build" version = "5.0.0-alpha" -authors = ["Use Ink "] +authors = ["Use Ink "] edition = "2021" license = "Apache-2.0" readme = "README.md" -repository = "https://github.com/paritytech/cargo-contract" +repository = "https://github.com/use-ink/cargo-contract" documentation = "https://docs.rs/contract-build" homepage = "https://www.substrate.io/" description = "Library for building ink! smart contracts" -keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] +keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", "templates", "riscv_memory_layout.ld"] [dependencies] diff --git a/crates/build/README.md b/crates/build/README.md index 6e03a498c..3b4344c29 100644 --- a/crates/build/README.md +++ b/crates/build/README.md @@ -1,7 +1,7 @@ # contract-build -A crate for building [`ink!`](https://github.com/paritytech/ink) smart contracts. Used by -[`cargo-contract`](https://github.com/paritytech/cargo-contract). +A crate for building [`ink!`](https://github.com/use-ink/ink) smart contracts. Used by +[`cargo-contract`](https://github.com/use-ink/cargo-contract). ## Usage diff --git a/crates/build/build.rs b/crates/build/build.rs index 2ba0a0619..61a7b9f17 100644 --- a/crates/build/build.rs +++ b/crates/build/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/args.rs b/crates/build/src/args.rs index a54aae6aa..a494c205d 100644 --- a/crates/build/src/args.rs +++ b/crates/build/src/args.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/crate_metadata.rs b/crates/build/src/crate_metadata.rs index d3861d89b..fc2b756a4 100644 --- a/crates/build/src/crate_metadata.rs +++ b/crates/build/src/crate_metadata.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/docker.rs b/crates/build/src/docker.rs index 2eca345cb..18684b163 100644 --- a/crates/build/src/docker.rs +++ b/crates/build/src/docker.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/lib.rs b/crates/build/src/lib.rs index a76651d99..cb35ad290 100644 --- a/crates/build/src/lib.rs +++ b/crates/build/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify @@ -113,7 +113,7 @@ const VERSION: &str = env!("CARGO_PKG_VERSION"); /// Ensure it is kept up-to-date when updating `cargo-contract`. pub(crate) mod linting { /// Toolchain used to build ink_linting: - /// https://github.com/paritytech/ink/blob/master/linting/rust-toolchain.toml + /// https://github.com/use-ink/ink/blob/master/linting/rust-toolchain.toml pub const TOOLCHAIN_VERSION: &str = "nightly-2024-09-05"; /// Git repository with ink_linting libraries pub const GIT_URL: &str = "https://github.com/use-ink/ink/"; diff --git a/crates/build/src/metadata.rs b/crates/build/src/metadata.rs index 8ed0a4b32..f02a8d567 100644 --- a/crates/build/src/metadata.rs +++ b/crates/build/src/metadata.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/new.rs b/crates/build/src/new.rs index fb33e9973..58c0f0d68 100644 --- a/crates/build/src/new.rs +++ b/crates/build/src/new.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/post_process_wasm.rs b/crates/build/src/post_process_wasm.rs index bd83b730c..73efc35cd 100644 --- a/crates/build/src/post_process_wasm.rs +++ b/crates/build/src/post_process_wasm.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/tests.rs b/crates/build/src/tests.rs index 5195d8f05..35455a541 100644 --- a/crates/build/src/tests.rs +++ b/crates/build/src/tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/util/mod.rs b/crates/build/src/util/mod.rs index 7a28ffa95..1bb8eefd4 100644 --- a/crates/build/src/util/mod.rs +++ b/crates/build/src/util/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/util/tests.rs b/crates/build/src/util/tests.rs index ceeb57304..58647590e 100644 --- a/crates/build/src/util/tests.rs +++ b/crates/build/src/util/tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/validate_wasm.rs b/crates/build/src/validate_wasm.rs index 9e81bd200..a9103af55 100644 --- a/crates/build/src/validate_wasm.rs +++ b/crates/build/src/validate_wasm.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify @@ -37,7 +37,7 @@ const INK_ENFORCE_ERR: &str = "__ink_enforce_error_"; /// # Important Note /// /// This is a copy of the equivalent type in ink!, which currently resides -/// [here](https://github.com/paritytech/ink/blob/master/crates/lang/codegen/src/generator/cross_calling.rs). +/// [here](https://github.com/use-ink/ink/blob/master/crates/lang/codegen/src/generator/cross_calling.rs). /// This type must be compatible with the ink! version in order to decode /// the error encoded in the marker. #[derive(scale::Encode, scale::Decode)] diff --git a/crates/build/src/wasm_opt.rs b/crates/build/src/wasm_opt.rs index cd99cb315..4d92f3840 100644 --- a/crates/build/src/wasm_opt.rs +++ b/crates/build/src/wasm_opt.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/workspace/manifest.rs b/crates/build/src/workspace/manifest.rs index 31d427b4f..dab6c32d2 100644 --- a/crates/build/src/workspace/manifest.rs +++ b/crates/build/src/workspace/manifest.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/workspace/metadata.rs b/crates/build/src/workspace/metadata.rs index 57b957dc2..4de76e090 100644 --- a/crates/build/src/workspace/metadata.rs +++ b/crates/build/src/workspace/metadata.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/workspace/mod.rs b/crates/build/src/workspace/mod.rs index fffb1844d..57f3d61d3 100644 --- a/crates/build/src/workspace/mod.rs +++ b/crates/build/src/workspace/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/src/workspace/profile.rs b/crates/build/src/workspace/profile.rs index c8dd5c6b6..a66e3aa1c 100644 --- a/crates/build/src/workspace/profile.rs +++ b/crates/build/src/workspace/profile.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/build/templates/generate-metadata/_Cargo.toml b/crates/build/templates/generate-metadata/_Cargo.toml index e8033018b..21eb213a7 100644 --- a/crates/build/templates/generate-metadata/_Cargo.toml +++ b/crates/build/templates/generate-metadata/_Cargo.toml @@ -1,7 +1,7 @@ [package] name = "metadata-gen" version = "0.1.0" -authors = ["Use Ink "] +authors = ["Use Ink "] edition = "2021" publish = false diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index 6f23aca7b..ce8201fa7 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "cargo-contract" version = "5.0.0-alpha" -authors = ["Use Ink "] +authors = ["Use Ink "] build = "build.rs" edition = "2021" license = "GPL-3.0" readme = "README.md" -repository = "https://github.com/paritytech/cargo-contract" +repository = "https://github.com/use-ink/cargo-contract" documentation = "https://docs.substrate.io/tutorials/v3/ink-workshop/pt1/" -homepage = "https://www.parity.io/" +homepage = "https://use.ink" description = "Setup and deployment tool for developing Wasm based smart contracts via ink!" -keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] +keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] categories = ["command-line-utilities", "development-tools::build-utils", "development-tools::cargo-plugins"] include = [ "Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", "build.rs", diff --git a/crates/cargo-contract/build.rs b/crates/cargo-contract/build.rs index 297d0847b..53cba7b3f 100644 --- a/crates/cargo-contract/build.rs +++ b/crates/cargo-contract/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/build.rs b/crates/cargo-contract/src/cmd/build.rs index c0ca00f7e..db1ea041f 100644 --- a/crates/cargo-contract/src/cmd/build.rs +++ b/crates/cargo-contract/src/cmd/build.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/call.rs b/crates/cargo-contract/src/cmd/call.rs index 5b035c5fc..f0517ad0c 100644 --- a/crates/cargo-contract/src/cmd/call.rs +++ b/crates/cargo-contract/src/cmd/call.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/decode.rs b/crates/cargo-contract/src/cmd/decode.rs index 5381c0afa..7318c3723 100644 --- a/crates/cargo-contract/src/cmd/decode.rs +++ b/crates/cargo-contract/src/cmd/decode.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/encode.rs b/crates/cargo-contract/src/cmd/encode.rs index 329d6d2f2..1d223da92 100644 --- a/crates/cargo-contract/src/cmd/encode.rs +++ b/crates/cargo-contract/src/cmd/encode.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/info.rs b/crates/cargo-contract/src/cmd/info.rs index b2437c74e..114d2c657 100644 --- a/crates/cargo-contract/src/cmd/info.rs +++ b/crates/cargo-contract/src/cmd/info.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/instantiate.rs b/crates/cargo-contract/src/cmd/instantiate.rs index 2e1e2bea7..21d4eec02 100644 --- a/crates/cargo-contract/src/cmd/instantiate.rs +++ b/crates/cargo-contract/src/cmd/instantiate.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/mod.rs b/crates/cargo-contract/src/cmd/mod.rs index e3d7717d2..9378295d0 100644 --- a/crates/cargo-contract/src/cmd/mod.rs +++ b/crates/cargo-contract/src/cmd/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/remove.rs b/crates/cargo-contract/src/cmd/remove.rs index 0eac403e2..2d6a959e1 100644 --- a/crates/cargo-contract/src/cmd/remove.rs +++ b/crates/cargo-contract/src/cmd/remove.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/storage.rs b/crates/cargo-contract/src/cmd/storage.rs index b24cf842c..222b71800 100644 --- a/crates/cargo-contract/src/cmd/storage.rs +++ b/crates/cargo-contract/src/cmd/storage.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/cmd/upload.rs b/crates/cargo-contract/src/cmd/upload.rs index 40356a243..958f7e0ad 100644 --- a/crates/cargo-contract/src/cmd/upload.rs +++ b/crates/cargo-contract/src/cmd/upload.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/src/main.rs b/crates/cargo-contract/src/main.rs index da4a3500a..ccd200d02 100644 --- a/crates/cargo-contract/src/main.rs +++ b/crates/cargo-contract/src/main.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/tests/decode.rs b/crates/cargo-contract/tests/decode.rs index 55769a91a..9afa3a748 100644 --- a/crates/cargo-contract/tests/decode.rs +++ b/crates/cargo-contract/tests/decode.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/tests/encode.rs b/crates/cargo-contract/tests/encode.rs index 58943ebe0..6b11fc8b8 100644 --- a/crates/cargo-contract/tests/encode.rs +++ b/crates/cargo-contract/tests/encode.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/cargo-contract/tests/verify.rs b/crates/cargo-contract/tests/verify.rs index 8cfbcee9a..bdf91b309 100644 --- a/crates/cargo-contract/tests/verify.rs +++ b/crates/cargo-contract/tests/verify.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/Cargo.toml b/crates/extrinsics/Cargo.toml index b2cef761f..1cc26b86a 100644 --- a/crates/extrinsics/Cargo.toml +++ b/crates/extrinsics/Cargo.toml @@ -1,17 +1,17 @@ [package] name = "contract-extrinsics" version = "5.0.0-alpha" -authors = ["Use Ink "] +authors = ["Use Ink "] edition = "2021" rust-version = "1.70" license = "Apache-2.0" readme = "README.md" -repository = "https://github.com/paritytech/cargo-contract" +repository = "https://github.com/use-ink/cargo-contract" documentation = "https://docs.rs/contract-extrinsics" homepage = "https://www.substrate.io/" description = "Library defining extrinsics for smart contracts on substrate" -keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] +keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE",] [dependencies] diff --git a/crates/extrinsics/README.md b/crates/extrinsics/README.md index fff127e68..c88f5d8df 100644 --- a/crates/extrinsics/README.md +++ b/crates/extrinsics/README.md @@ -2,8 +2,8 @@ Defines the extrinsics for smart contracts targeting [substrate](https://github.com/paritytech/substrate). -Currently part of [`cargo-contract`](https://github.com/paritytech/cargo-contract), the build tool for smart - contracts written in [ink!](https://github.com/paritytech/ink). +Currently part of [`cargo-contract`](https://github.com/use-ink/cargo-contract), the build tool for smart + contracts written in [ink!](https://github.com/use-ink/ink). ## Common arguments diff --git a/crates/extrinsics/src/balance.rs b/crates/extrinsics/src/balance.rs index 69d65e39c..bf16037b6 100644 --- a/crates/extrinsics/src/balance.rs +++ b/crates/extrinsics/src/balance.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/call.rs b/crates/extrinsics/src/call.rs index 47ab4e9a8..cce52576e 100644 --- a/crates/extrinsics/src/call.rs +++ b/crates/extrinsics/src/call.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/contract_artifacts.rs b/crates/extrinsics/src/contract_artifacts.rs index ced14699f..f3a5956b1 100644 --- a/crates/extrinsics/src/contract_artifacts.rs +++ b/crates/extrinsics/src/contract_artifacts.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/contract_info.rs b/crates/extrinsics/src/contract_info.rs index f5717f576..d0960acd0 100644 --- a/crates/extrinsics/src/contract_info.rs +++ b/crates/extrinsics/src/contract_info.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/contract_storage.rs b/crates/extrinsics/src/contract_storage.rs index 666397ece..64962c205 100644 --- a/crates/extrinsics/src/contract_storage.rs +++ b/crates/extrinsics/src/contract_storage.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/contract_storage_tests.rs b/crates/extrinsics/src/contract_storage_tests.rs index 4989af89e..45ec1d76d 100644 --- a/crates/extrinsics/src/contract_storage_tests.rs +++ b/crates/extrinsics/src/contract_storage_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/error.rs b/crates/extrinsics/src/error.rs index d0a291ea2..fb8fc8ec0 100644 --- a/crates/extrinsics/src/error.rs +++ b/crates/extrinsics/src/error.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/events.rs b/crates/extrinsics/src/events.rs index 48f0fb24f..6fa1e8f9a 100644 --- a/crates/extrinsics/src/events.rs +++ b/crates/extrinsics/src/events.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/extrinsic_calls.rs b/crates/extrinsics/src/extrinsic_calls.rs index d30a8beef..3330b3d33 100644 --- a/crates/extrinsics/src/extrinsic_calls.rs +++ b/crates/extrinsics/src/extrinsic_calls.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/extrinsic_opts.rs b/crates/extrinsics/src/extrinsic_opts.rs index d4823bb09..b02c74f6f 100644 --- a/crates/extrinsics/src/extrinsic_opts.rs +++ b/crates/extrinsics/src/extrinsic_opts.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/instantiate.rs b/crates/extrinsics/src/instantiate.rs index 77e1b1154..1b7b31fe5 100644 --- a/crates/extrinsics/src/instantiate.rs +++ b/crates/extrinsics/src/instantiate.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/integration_tests.rs b/crates/extrinsics/src/integration_tests.rs index 8b1c28a6f..7c62ffd00 100644 --- a/crates/extrinsics/src/integration_tests.rs +++ b/crates/extrinsics/src/integration_tests.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/lib.rs b/crates/extrinsics/src/lib.rs index 1bcf41f6b..126b3327b 100644 --- a/crates/extrinsics/src/lib.rs +++ b/crates/extrinsics/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/pallet_contracts_primitives.rs b/crates/extrinsics/src/pallet_contracts_primitives.rs index b16bc22d6..6e8b6d493 100644 --- a/crates/extrinsics/src/pallet_contracts_primitives.rs +++ b/crates/extrinsics/src/pallet_contracts_primitives.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2024 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/remove.rs b/crates/extrinsics/src/remove.rs index 02fc3dd9d..6e87240a1 100644 --- a/crates/extrinsics/src/remove.rs +++ b/crates/extrinsics/src/remove.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/extrinsics/src/upload.rs b/crates/extrinsics/src/upload.rs index e1693e7bc..699227a67 100644 --- a/crates/extrinsics/src/upload.rs +++ b/crates/extrinsics/src/upload.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/metadata/Cargo.toml b/crates/metadata/Cargo.toml index e5f8f5b93..4b4801c73 100644 --- a/crates/metadata/Cargo.toml +++ b/crates/metadata/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "contract-metadata" version = "5.0.0-alpha" -authors = ["Use Ink "] +authors = ["Use Ink "] edition = "2021" license = "Apache-2.0" readme = "README.md" -repository = "https://github.com/paritytech/cargo-contract" +repository = "https://github.com/use-ink/cargo-contract" documentation = "https://docs.rs/contract-metadata" homepage = "https://www.substrate.io/" description = "Library defining metadata for smart contracts on substrate" -keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] +keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE", "compatibility_list.json"] [dependencies] diff --git a/crates/metadata/README.md b/crates/metadata/README.md index 57a396c2a..f4ebe2a27 100644 --- a/crates/metadata/README.md +++ b/crates/metadata/README.md @@ -2,6 +2,6 @@ Defines types for the extended metadata of smart contracts targeting [substrate](https://github.com/paritytech/substrate). -Currently part of [`cargo-contract`](https://github.com/paritytech/cargo-contract), the build tool for smart - contracts written in [ink!](https://github.com/paritytech/ink). +Currently part of [`cargo-contract`](https://github.com/use-ink/cargo-contract), the build tool for smart + contracts written in [ink!](https://github.com/use-ink/ink). diff --git a/crates/metadata/src/byte_str.rs b/crates/metadata/src/byte_str.rs index e3af03b2e..755257603 100644 --- a/crates/metadata/src/byte_str.rs +++ b/crates/metadata/src/byte_str.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/metadata/src/compatibility.rs b/crates/metadata/src/compatibility.rs index 6eaf9d82f..2c6b83faf 100644 --- a/crates/metadata/src/compatibility.rs +++ b/crates/metadata/src/compatibility.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2023 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/metadata/src/lib.rs b/crates/metadata/src/lib.rs index 2d2c27475..56d1cadd4 100644 --- a/crates/metadata/src/lib.rs +++ b/crates/metadata/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify @@ -41,10 +41,10 @@ //! let contract = Contract::builder() //! .name("incrementer".to_string()) //! .version(Version::new(2, 1, 0)) -//! .authors(vec!["Parity Technologies ".to_string()]) +//! .authors(vec!["Use Ink ".to_string()]) //! .description("increment a value".to_string()) //! .documentation(Url::parse("http://docs.rs/").unwrap()) -//! .repository(Url::parse("http://github.com/paritytech/ink/").unwrap()) +//! .repository(Url::parse("http://github.com/use-ink/ink/").unwrap()) //! .homepage(Url::parse("http://example.com/").unwrap()) //! .license("Apache-2.0".to_string()) //! .build() @@ -667,7 +667,7 @@ mod tests { let missing_name = Contract::builder() // .name("incrementer".to_string()) .version(Version::new(2, 1, 0)) - .authors(vec!["Parity Technologies ".to_string()]) + .authors(vec!["Use Ink ".to_string()]) .build(); assert_eq!( @@ -678,7 +678,7 @@ mod tests { let missing_version = Contract::builder() .name("incrementer") // .version(Version::new(2, 1, 0)) - .authors(vec!["Parity Technologies ".to_string()]) + .authors(vec!["Use Ink ".to_string()]) .build(); assert_eq!( @@ -689,7 +689,7 @@ mod tests { let missing_authors = Contract::builder() .name("incrementer") .version(Version::new(2, 1, 0)) - // .authors(vec!["Parity Technologies ".to_string()]) + // .authors(vec!["Use Ink ".to_string()]) .build(); assert_eq!( @@ -700,7 +700,7 @@ mod tests { let missing_all = Contract::builder() // .name("incrementer".to_string()) // .version(Version::new(2, 1, 0)) - // .authors(vec!["Parity Technologies ".to_string()]) + // .authors(vec!["Use Ink ".to_string()]) .build(); assert_eq!( @@ -739,10 +739,10 @@ mod tests { let contract = Contract::builder() .name("incrementer") .version(Version::new(2, 1, 0)) - .authors(vec!["Parity Technologies ".to_string()]) + .authors(vec!["Use Ink ".to_string()]) .description("increment a value") .documentation(Url::parse("http://docs.rs/").unwrap()) - .repository(Url::parse("http://github.com/paritytech/ink/").unwrap()) + .repository(Url::parse("http://github.com/use-ink/ink/").unwrap()) .homepage(Url::parse("http://example.com/").unwrap()) .license("Apache-2.0") .build() @@ -797,11 +797,11 @@ mod tests { "name": "incrementer", "version": "2.1.0", "authors": [ - "Parity Technologies " + "Use Ink " ], "description": "increment a value", "documentation": "http://docs.rs/", - "repository": "http://github.com/paritytech/ink/", + "repository": "http://github.com/use-ink/ink/", "homepage": "http://example.com/", "license": "Apache-2.0", }, @@ -834,7 +834,7 @@ mod tests { let contract = Contract::builder() .name("incrementer") .version(Version::new(2, 1, 0)) - .authors(vec!["Parity Technologies ".to_string()]) + .authors(vec!["Use Ink ".to_string()]) .build() .unwrap(); let abi_json = json! { @@ -857,7 +857,7 @@ mod tests { "name": "incrementer", "version": "2.1.0", "authors": [ - "Parity Technologies " + "Use Ink " ], }, "image": serde_json::Value::Null, @@ -905,10 +905,10 @@ mod tests { let contract = Contract::builder() .name("incrementer") .version(Version::new(2, 1, 0)) - .authors(vec!["Parity Technologies ".to_string()]) + .authors(vec!["Use Ink ".to_string()]) .description("increment a value") .documentation(Url::parse("http://docs.rs/").unwrap()) - .repository(Url::parse("http://github.com/paritytech/ink/").unwrap()) + .repository(Url::parse("http://github.com/use-ink/ink/").unwrap()) .homepage(Url::parse("http://example.com/").unwrap()) .license("Apache-2.0") .build() diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index 949c9442c..f16a2dde5 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "contract-transcode" version = "5.0.0-alpha" -authors = ["Use Ink "] +authors = ["Use Ink "] edition = "2021" license = "Apache-2.0" readme = "README.md" -repository = "https://github.com/paritytech/cargo-contract" +repository = "https://github.com/use-ink/cargo-contract" documentation = "https://docs.rs/contract-transcode" homepage = "https://www.substrate.io/" description = "Library encoding calls for smart contracts on substrate" -keywords = ["wasm", "parity", "webassembly", "blockchain", "edsl"] +keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"] include = ["Cargo.toml", "*.rs", "LICENSE"] [lib] diff --git a/crates/transcode/README.md b/crates/transcode/README.md index e29f394fd..1f649d18d 100644 --- a/crates/transcode/README.md +++ b/crates/transcode/README.md @@ -2,7 +2,7 @@ Contains utilities for encoding smart contract calls to SCALE. -Currently part of [`cargo-contract`](https://github.com/paritytech/cargo-contract), the build tool for smart - contracts written in [ink!](https://github.com/paritytech/ink). +Currently part of [`cargo-contract`](https://github.com/use-ink/cargo-contract), the build tool for smart + contracts written in [ink!](https://github.com/use-ink/ink). See [crate docs](https://docs.rs/contract-transcode/latest/contract_transcode/) for example usage. diff --git a/crates/transcode/src/account_id.rs b/crates/transcode/src/account_id.rs index ce291f5df..d5fa9810f 100644 --- a/crates/transcode/src/account_id.rs +++ b/crates/transcode/src/account_id.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/decode.rs b/crates/transcode/src/decode.rs index c29743280..9495604d1 100644 --- a/crates/transcode/src/decode.rs +++ b/crates/transcode/src/decode.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/encode.rs b/crates/transcode/src/encode.rs index 928125f8a..40db6eade 100644 --- a/crates/transcode/src/encode.rs +++ b/crates/transcode/src/encode.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/env_types.rs b/crates/transcode/src/env_types.rs index d4c4ade3d..5e6d64270 100644 --- a/crates/transcode/src/env_types.rs +++ b/crates/transcode/src/env_types.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/lib.rs b/crates/transcode/src/lib.rs index fa7ab7083..a727cd6a7 100644 --- a/crates/transcode/src/lib.rs +++ b/crates/transcode/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify @@ -35,7 +35,7 @@ //! `"false" -> Value::Bool(false)` //! //! This value is then matched with the metadata for the expected type in that context. -//! e.g. the [flipper](https://github.com/paritytech/ink/blob/master/examples/flipper/lib.rs) contract +//! e.g. the [flipper](https://github.com/use-ink/ink/blob/master/examples/flipper/lib.rs) contract //! accepts a `bool` argument to its `new` constructor, which will be reflected in the //! contract metadata as [`scale_info::TypeDefPrimitive::Bool`]. //! diff --git a/crates/transcode/src/scon/display.rs b/crates/transcode/src/scon/display.rs index 92b2c9257..5289f2510 100644 --- a/crates/transcode/src/scon/display.rs +++ b/crates/transcode/src/scon/display.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/scon/mod.rs b/crates/transcode/src/scon/mod.rs index cb5925a65..5636e8662 100644 --- a/crates/transcode/src/scon/mod.rs +++ b/crates/transcode/src/scon/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/scon/parse.rs b/crates/transcode/src/scon/parse.rs index 17734a1b6..36c538c78 100644 --- a/crates/transcode/src/scon/parse.rs +++ b/crates/transcode/src/scon/parse.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/transcoder.rs b/crates/transcode/src/transcoder.rs index d14e0304c..410f1dba7 100644 --- a/crates/transcode/src/transcoder.rs +++ b/crates/transcode/src/transcoder.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2020 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify diff --git a/crates/transcode/src/util.rs b/crates/transcode/src/util.rs index ef0488f76..c3b0d4e7a 100644 --- a/crates/transcode/src/util.rs +++ b/crates/transcode/src/util.rs @@ -1,4 +1,4 @@ -// Copyright 2018-2022 Use Ink (UK) Ltd. +// Copyright (C) Use Ink (UK) Ltd. // This file is part of cargo-contract. // // cargo-contract is free software: you can redistribute it and/or modify