Skip to content

Commit

Permalink
Fix a bug in call_with_config macro
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilst committed Sep 3, 2024
1 parent 29af9ee commit 8d0c08b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Updated the toolchain version used by `ink_linting` - [#1616](https://github.com/paritytech/cargo-contract/pull/1616)
- Bump the version of `subxt` and `subxt-signer` - [#1722](https://github.com/use-ink/cargo-contract/pull/1722)
- Fix a bug in `call_with_config` macro.

### Removed
- Remove support for `V11` metadata [#1722](https://github.com/use-ink/cargo-contract/pull/1722)
Expand Down
2 changes: 1 addition & 1 deletion crates/cargo-contract/src/cmd/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ macro_rules! call_with_config_internal {
#[macro_export]
macro_rules! call_with_config {
($obj:tt, $function:ident, $config_name:expr) => {{
let config_name = format!("crate::cmd::config::{}", $config_name);
let config_name = format!("$crate :: cmd :: config :: {}", $config_name);
$crate::call_with_config_internal!(
$obj,
$function,
Expand Down

0 comments on commit 8d0c08b

Please sign in to comment.