Skip to content

Commit

Permalink
Reexport ink_metadata in transcoder crate (#1522)
Browse files Browse the repository at this point in the history
* Solve issue #1521

* - Export ink_metadata types

* Reexport whole crate

* Update CHANGELOG.md

Co-authored-by: Michael Müller <mich@elmueller.net>

---------

Co-authored-by: Michael Müller <mich@elmueller.net>
  • Loading branch information
0xLucca and cmichi authored Mar 7, 2024
1 parent 1f3b21e commit a96e8b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


### Added
- Export `ink_metadata` types in `transcode` crate - [#1522](/~https://github.com/paritytech/cargo-contract/pull/1522)

## [4.0.0-rc.3]

### Fixed
Expand Down
3 changes: 2 additions & 1 deletion crates/transcode/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ use anyhow::{
Context,
Result,
};
pub use ink_metadata;
use ink_metadata::{
ConstructorSpec,
InkProject,
Expand Down Expand Up @@ -235,7 +236,7 @@ impl ContractMessageTranscoder {

return Err(anyhow::anyhow!(
"No constructor or message with the name '{name}' found.\n{help_txt}",
))
));
}
};

Expand Down

0 comments on commit a96e8b2

Please sign in to comment.