All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
prml/attestation/*
- Added attestation runtime module
prml/doughnut/*
- Add
PlugDoughnut
wrapper struct to allow doughnut integration withSignedExtension
hooks - Add
PlugDoughnutDispatcher
as the defacto Plug implementor forDelegatedDispatchVerifier
node/runtime/src/lib.rs
-
Add doughnut proof as an optional first parameter to the
node/runtime
SignedExtra
payload allowing doughnut's to be added to extrinsics -
Add
DelegatedDispatchVerifier
andDoughnut
proof type tosystem::Trait
type bounds
core/sr-primitives/src/traits.rs
- Blanket impl SignedExtension for
Option<T>
to allow Optional in extrinsics - Add
MaybeDoughnut
trait for SignedExtension type to allow extracting doughnut fromSignedExtra
tuple - impl
MaybeDoughnut
for SignedExtension macro tuple of all lengths
core/sr-primitives/src/traits.rs
- Make trait
SignedExtension::pre_dispatch
method receive self by reference (&self
), instead of move (self
)
srml/staking/*
- Add
RewardCurrency
type to allow paying out staking rewards in a different currency to the staked currency - Change
fn make_payout()
so that RewardCurrency is paid to the stash account and not added to the total stake, if the reward currency is not the staked currency
srml/system/src/lib.rs
and srml/support/src/origin.rs
- Add
DelegatedOrigin
variant toRawOrigin
for delegated transactions - Add
MaybeDoughnutRef
trait for extracting doughnut proof fromorigin
without move in runtime module methods
srml/support/src/dispatch.rs
- Add
DelegatedDispatchVerifier
check todecl_module!
expansion. This allows doughnut proofs to be checked when an extrinsic is dispatched using the<T as system::Trait>::DelegatedDispatchVerifier
impl