mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-20 23:15:42 +00:00
Introduce a Slot type (#7997)
* Introduce a `Slot` type Instead of having some type definition that only was used in half of the code or directly using `u64`, this adds a new unit type wrapper `Slot`. This makes it especially easy for the outside api to know what type is expected/returned. * Change epoch duratioC * rename all instances of slot number to slot * Make the constructor private Co-authored-by: André Silva <andrerfosilva@gmail.com>
This commit is contained in:
@@ -35,6 +35,7 @@ sp-api = { version = "2.0.0", path = "../../../primitives/api" }
|
||||
sp-block-builder = { version = "2.0.0", path = "../../../primitives/block-builder" }
|
||||
sp-blockchain = { version = "2.0.0", path = "../../../primitives/blockchain" }
|
||||
sp-consensus = { version = "0.8.0", path = "../../../primitives/consensus/common" }
|
||||
sp-consensus-slots = { version = "0.8.0", path = "../../../primitives/consensus/slots" }
|
||||
sp-consensus-vrf = { version = "0.8.0", path = "../../../primitives/consensus/vrf" }
|
||||
sc-consensus-uncles = { version = "0.8.0", path = "../uncles" }
|
||||
sc-consensus-slots = { version = "0.8.0", path = "../slots" }
|
||||
|
||||
Reference in New Issue
Block a user