Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Moves Block to frame_system instead of construct_runtime and removes Header and BlockNumber #14437

Merged
merged 79 commits into from
Jul 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
e0f4cc7
Initial setup
gupnik May 15, 2023
5d688f8
Adds node block
gupnik May 15, 2023
1681e65
Uses UncheckedExtrinsic and removes Where section
gupnik May 15, 2023
3e461f1
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik May 23, 2023
a69a911
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 3, 2023
a5e7cb6
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 5, 2023
2590f43
Updates frame_system to use Block
gupnik Jun 5, 2023
f4e772a
Adds deprecation warning
gupnik Jun 5, 2023
2eb58e8
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 22, 2023
b6ca21e
Fixes pallet-timestamp
gupnik Jun 22, 2023
1333eb3
Removes Header and BlockNumber
gupnik Jun 22, 2023
373af30
Addresses review comments
gupnik Jun 24, 2023
55a698c
Addresses review comments
gupnik Jun 24, 2023
c1db41a
Adds comment about compiler bug
gupnik Jun 24, 2023
a36245c
Removes where clause
gupnik Jun 25, 2023
d4e113f
Refactors code
gupnik Jun 25, 2023
6e3ae77
Fixes errors in cargo check
gupnik Jun 25, 2023
d9e6ce8
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 25, 2023
4de134c
Fixes errors in cargo check
gupnik Jun 25, 2023
884ceaf
Fixes warnings in cargo check
gupnik Jun 25, 2023
211138e
Formatting
gupnik Jun 25, 2023
eaa8b29
Fixes construct_runtime tests
gupnik Jun 27, 2023
f8c6153
Uses import instead of full path for BlockNumber
gupnik Jun 27, 2023
3df4b15
Uses import instead of full path for Header
gupnik Jun 27, 2023
cb55082
Formatting
gupnik Jun 27, 2023
6d9286f
Fixes construct_runtime tests
gupnik Jun 27, 2023
09f50ef
Fixes imports in benchmarks
gupnik Jun 27, 2023
67223f4
Formatting
gupnik Jun 27, 2023
3f05c25
Fixes construct_runtime tests
gupnik Jun 27, 2023
03cffab
Formatting
gupnik Jun 27, 2023
fe4e9cc
Minor updates
gupnik Jun 27, 2023
85d992e
Fixes construct_runtime ui tests
gupnik Jun 27, 2023
bae2306
Fixes construct_runtime ui tests with 1.70
gupnik Jun 27, 2023
27b47ba
Fixes docs
gupnik Jun 27, 2023
09fe084
Fixes docs
gupnik Jun 27, 2023
827f7e0
Adds u128 mock block type
gupnik Jun 28, 2023
f70e152
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 28, 2023
ded2d97
Fixes split example
gupnik Jun 28, 2023
2715d40
fixes for cumulus
gupnik Jun 28, 2023
3226bcb
".git/.scripts/commands/fmt/fmt.sh"
Jun 28, 2023
fef6829
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 28, 2023
2454cfa
Updates new tests
gupnik Jun 28, 2023
87742a3
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 28, 2023
61842c6
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jun 29, 2023
e7ddf9f
Fixes fully-qualified path in few places
gupnik Jul 4, 2023
c93f9d5
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jul 4, 2023
89e66de
Formatting
gupnik Jul 4, 2023
64bb577
Update frame/examples/default-config/src/lib.rs
gupnik Jul 5, 2023
e8c14b0
Update frame/support/procedural/src/construct_runtime/mod.rs
gupnik Jul 5, 2023
2f1a514
".git/.scripts/commands/fmt/fmt.sh"
Jul 8, 2023
16f10af
Addresses some review comments
gupnik Jul 10, 2023
5754b72
Fixes build
gupnik Jul 10, 2023
4775cc1
".git/.scripts/commands/fmt/fmt.sh"
Jul 10, 2023
1571503
Update frame/democracy/src/lib.rs
gupnik Jul 11, 2023
ab86af2
Update frame/democracy/src/lib.rs
gupnik Jul 11, 2023
b443c40
Update frame/support/procedural/src/construct_runtime/mod.rs
gupnik Jul 11, 2023
0f3cee1
Update frame/support/procedural/src/construct_runtime/mod.rs
gupnik Jul 11, 2023
8bb8fb9
Addresses review comments
gupnik Jul 11, 2023
83f7841
Updates trait bounds
gupnik Jul 11, 2023
644b5be
Minor fix
gupnik Jul 11, 2023
2d219d5
".git/.scripts/commands/fmt/fmt.sh"
Jul 11, 2023
a09d3c9
Removes unnecessary bound
gupnik Jul 11, 2023
f624f25
".git/.scripts/commands/fmt/fmt.sh"
Jul 11, 2023
c87594c
Updates test
gupnik Jul 11, 2023
3dcc6b6
Merge branch 'gupnik/cr-try2' of github.com:paritytech/substrate into…
gupnik Jul 11, 2023
90c0a21
Fixes build
gupnik Jul 11, 2023
e595d28
Adds a bound for header
gupnik Jul 12, 2023
a25532f
Merge branch 'master' of github.com:paritytech/substrate into gupnik/…
gupnik Jul 12, 2023
5e96a39
".git/.scripts/commands/fmt/fmt.sh"
Jul 12, 2023
b14d234
Removes where block
gupnik Jul 12, 2023
ef9ca39
Minor fix
gupnik Jul 12, 2023
a65653c
Minor fix
gupnik Jul 12, 2023
c559e51
Fixes tests
gupnik Jul 13, 2023
d1a6169
".git/.scripts/commands/update-ui/update-ui.sh" 1.70
Jul 13, 2023
e89e93e
Updates test
gupnik Jul 13, 2023
277300f
Update primitives/runtime/src/traits.rs
gupnik Jul 13, 2023
c3be2e0
Update primitives/runtime/src/traits.rs
gupnik Jul 13, 2023
5c823a5
Updates doc
gupnik Jul 13, 2023
3e41fa2
Updates doc
gupnik Jul 13, 2023
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
Adds a bound for header
  • Loading branch information
gupnik committed Jul 12, 2023
commit e595d28d1a2015d3577b02ebdaf16e57ea5b7b72
2 changes: 1 addition & 1 deletion primitives/runtime/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ pub trait Block:
/// Type for extrinsics.
type Extrinsic: Member + Codec + Extrinsic + MaybeSerialize;
/// Header type.
type Header: Header<Hash = Self::Hash>;
type Header: Header<Hash = Self::Hash> + MaybeSerializeDeserialize;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed now?

/// Block hash type.
type Hash: HashOutput;

Expand Down