Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Avoid excessive import.
  • Loading branch information
tomusdrw committed Aug 7, 2018
commit d3a5ccd57e7ed7a7d2b9bcd73b2caba11faddcd3
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion polkadot/test-parachains/adder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ description = "Test parachain which adds to a number as its state transition"

[dependencies]
polkadot-parachain = { path = "../../parachain/", default-features = false }
substrate-codec = { path = "../../../substrate/codec", default-features = false }
substrate-codec-derive = { path = "../../../substrate/codec/derive", default-features = false }
tiny-keccak = "1.4"
4 changes: 1 addition & 3 deletions polkadot/test-parachains/adder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@

#![no_std]

// TODO [ToDr] Shitty, that you need to import it separately!
#[macro_use]
extern crate substrate_codec_derive;
extern crate substrate_codec as codec;

extern crate polkadot_parachain as parachain;
extern crate tiny_keccak;

use codec::Encode;
use parachain::codec::{self, Encode};

/// Head data for this parachain.
#[derive(Default, Clone, Hash, Eq, PartialEq, Encode, Decode)]
Expand Down