Closed jordy25519 closed 5 years ago
Has CI been turned off?
Has CI been turned off?
I think it's running. Looks like it's been running for > 1 hr 😄
Has CI been turned off?
I think it's running. Looks like it's been running for > 1 hr 😄
Wired, didn't see any CI building status on this page - -
@holygits reasons why the tests are failing could be due to version mismatch between doughnut and the substrate. For example schnorrkel v0.1.x
for doughnut vs 0.8.4
on substrate. I did notice our tests failing on doughnut-rs when I bumped up this crate
https://github.com/cennznet/doughnut-rs/issues/11#issuecomment-540338294
Fixed the tests in this branch + substrate updates from #49 : https://github.com/cennznet/plug-blockchain/tree/develop
Superseded by https://github.com/cennznet/plug-blockchain/tree/develop
Change Summary
RawOrigin::Delegated(AccountId, Doughnut)
to allow passing the doughnut proof to runtime methods and ensuring delegation is known at all times by the runtime.SignedExtension
feature of transactions to handle doughnut logic, removed form executiveCloses #46 and 90% of groundwork for https://github.com/cennznet/cennznet/issues/54
TODO
prml-doughnut
tests withcargo test --all
ChangeLog
Files:
core/sr-primitives/src/traits.rs
impl SignedExtension for Option<T>
MaybeDoughnut
trait for extracting doughnut from SignedExtra tupletrait SignedExtension::pre_dispatch
to take self by reference (&self
), not move (self
)Files:
srml/system/src/lib.rs
andsrml/support/src/origin.rs
DelegatedOrigin
variant (AccountId, Doughnut)MaybeDoughnutRef
trait for extracting doughnut from origin without move in runtime methodstype Doughnut: Parameter + Member + DoughnutApi;
Files:
srml/executive
SignedExtension
trait.Files:
node/runtime/src/lib.rs
node/runtime/src/doughnut.rs
, moved intoprml/doughnut
Files:
prml/doughnut
Adds:SignedExtension
Files:
node/primitives/plug_extrinsic.rs
SignedExtension
functionality