mirror of
https://github.com/pezkuwichain/pezframe-metadata.git
synced 2026-04-22 05:27:56 +00:00
chore: Enable rust tests in CI (#50)
* git: Run job from the `main` branch instead of `master` Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * git: Expose terminal colors for CI Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * git: Fix CI and add extra checks Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Fix clippy Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * git: Add missing `cargo hack` command Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * git: Use actions-rs/target for wasm Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -101,9 +101,9 @@ pub use self::v14::*;
|
||||
#[cfg_attr(feature = "serde_full", derive(Serialize))]
|
||||
pub struct RuntimeMetadataPrefixed(pub u32, pub RuntimeMetadata);
|
||||
|
||||
impl Into<Vec<u8>> for RuntimeMetadataPrefixed {
|
||||
fn into(self) -> Vec<u8> {
|
||||
self.encode()
|
||||
impl From<RuntimeMetadataPrefixed> for Vec<u8> {
|
||||
fn from(value: RuntimeMetadataPrefixed) -> Self {
|
||||
value.encode()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user