Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

[Unreleased]

## [5.0.2]

### Changed
- Target `pallet-revive` instead of `pallet-contracts` - [#1851](https://github.com/use-ink/cargo-contract/pull/1851)

### Added
- Add `suri-path` and `password-path` options for `cargo contract` commands including `upload`, `instantiate`, `call`, and `remove`

## [5.0.1]

### Changed
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/analyze/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-analyze"
version = "5.0.1"
version = "5.0.2"
authors = ["Use Ink <ink@use.ink>"]
edition = "2021"

Expand All @@ -14,7 +14,7 @@ keywords = ["wasm", "ink", "webassembly", "blockchain", "edsl"]
include = ["Cargo.toml", "*.rs", "LICENSE"]

[dependencies]
contract-metadata = { version = "5.0.1", path = "../metadata" }
contract-metadata = { version = "5.0.2", path = "../metadata" }
wasmparser = "0.220.0"
anyhow = "1.0.94"

Expand Down
4 changes: 2 additions & 2 deletions crates/build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contract-build"
version = "5.0.1"
version = "5.0.2"
authors = ["Use Ink <ink@use.ink>"]
edition = "2021"

Expand Down Expand Up @@ -49,7 +49,7 @@ crossterm = "0.28.1"

polkavm-linker = "0.17.1"

contract-metadata = { version = "5.0.1", path = "../metadata" }
contract-metadata = { version = "5.0.2", path = "../metadata" }

[target.'cfg(unix)'.dependencies]
uzers = "0.12"
Expand Down
12 changes: 6 additions & 6 deletions crates/cargo-contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-contract"
version = "5.0.1"
version = "5.0.2"
authors = ["Use Ink <ink@use.ink>"]
build = "build.rs"
edition = "2021"
Expand All @@ -18,11 +18,11 @@ include = [
]

[dependencies]
contract-build = { version = "5.0.1", path = "../build" }
contract-extrinsics = { version = "5.0.1", path = "../extrinsics" }
contract-transcode = { version = "5.0.1", path = "../transcode" }
contract-metadata = { version = "5.0.1", path = "../metadata" }
contract-analyze = { version = "5.0.1", path = "../analyze" }
contract-build = { version = "5.0.2", path = "../build" }
contract-extrinsics = { version = "5.0.2", path = "../extrinsics" }
contract-transcode = { version = "5.0.2", path = "../transcode" }
contract-metadata = { version = "5.0.2", path = "../metadata" }
contract-analyze = { version = "5.0.2", path = "../analyze" }

anyhow = "1.0.94"
clap = { version = "4.5.23", features = ["derive", "env"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/cargo-contract/src/cmd/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ impl CallCommand {
{
let contract = parse_account(&self.contract)
.map_err(|e| anyhow::anyhow!("Failed to parse contract option: {}", e))?;
let signer = C::Signer::from_str(&self.extrinsic_cli_opts.suri)
.map_err(|_| anyhow::anyhow!("Failed to parse suri option"))?;

let signer: Result<Signer, Error> = self.extrinsic_cli_opts.signer(self.extrinsic_cli_opts);
let chain = self.extrinsic_cli_opts.chain_cli_opts.chain();
let token_metadata = TokenMetadata::query::<C>(&chain.url()).await?;
let storage_deposit_limit = self
Expand Down
Loading