From 2574398d00c24e5584dacc3c9889480fcbf02929 Mon Sep 17 00:00:00 2001
From: Gavin Wood <gavin@parity.io>
Date: Mon, 9 Aug 2021 13:09:20 +0200
Subject: [PATCH] Minor fix to encoding for XCM v1 (#3602)

---
 polkadot/xcm/src/v1/multiasset.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/polkadot/xcm/src/v1/multiasset.rs b/polkadot/xcm/src/v1/multiasset.rs
index 70614863f83..0bcd78cf2a3 100644
--- a/polkadot/xcm/src/v1/multiasset.rs
+++ b/polkadot/xcm/src/v1/multiasset.rs
@@ -146,7 +146,7 @@ impl AssetId {
 /// Classification of whether an asset is fungible or not, along with a mandatory amount or instance.
 #[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Encode, Decode)]
 pub enum Fungibility {
-	Fungible(u128),
+	Fungible(#[codec(compact)] u128),
 	NonFungible(AssetInstance),
 }
 
-- 
GitLab