diff --git a/substrate/frame/support/test/tests/pallet.rs b/substrate/frame/support/test/tests/pallet.rs index a563a9d63779..be158ca6641d 100644 --- a/substrate/frame/support/test/tests/pallet.rs +++ b/substrate/frame/support/test/tests/pallet.rs @@ -1471,7 +1471,7 @@ fn pallet_item_docs_in_metadata() { #[test] fn metadata() { - use codec::Decode; + use codec::{Decode, Encode}; use frame_metadata::{v15::*, *}; let readme = "Very important information :D\n";