mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 09:21:08 +00:00
Full native build with new structure.
No tests yet. Wasm build still pulls in std.
This commit is contained in:
1 parent
9fe85fc9f4
commit
dcff8f1a2f
33 files changed
+56
-74
No files matched your search
@@ -83,6 +83,9 @@ impl Slicable for Digest {
|
||||
}
|
||||
}
|
||||
|
||||
/// The body of a block is just a bunch of transactions.
|
||||
pub type Body = Vec<Transaction>;
|
||||
|
||||
/// A Substrate relay chain block.
|
||||
#[derive(PartialEq, Eq, Clone)]
|
||||
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))]
|
||||
@@ -90,7 +93,7 @@ pub struct Block {
|
||||
/// The block header.
|
||||
pub header: Header,
|
||||
/// All relay-chain transactions.
|
||||
pub transactions: Vec<Transaction>,
|
||||
pub transactions: Body,
|
||||
}
|
||||
|
||||
impl Slicable for Block {
|
||||
|
||||
Reference in new issue
Block a user