diff --git a/auction/src/lib.rs b/auction/src/lib.rs index 5d9dba5e4c0f88d43b6a9de7b0cad69a99c7833a..51ae7614bfbbb3a1f4f299a882539c08f3a575b7 100644 --- a/auction/src/lib.rs +++ b/auction/src/lib.rs @@ -49,7 +49,7 @@ decl_module! { fn deposit_event() = default; - pub fn bid(origin, id: T::AuctionId, value: T::Balance) { + pub fn bid(origin, id: T::AuctionId, #[compact] value: T::Balance) { let from = ensure_signed(origin)?; let mut auction = <Auctions<T>>::get(id).ok_or(Error::<T>::AuctionNotExist)?;