PL^G: a framework for building customised blockchains
GNU General Public License v3.0
11
stars
3
forks
source link
Add a new `Delegated` origin variant (currently, signed, none, root). Pass the doughnut through to module methods using this delegated origin type. This will allow us to remove the doughnut context storage hack (see: https://github.com/cennznet/plug-blockchain/blob/8d56aa31981d6944eadccbb5f7f430333f7dedaa/srml/support/src/dispatch.rs#L1061, https://github.com/cennznet/plug-blockchain/blob/8d56aa31981d6944eadccbb5f7f430333f7dedaa/srml/executive/src/doughnut/mod.rs#L173-L179) #46
21 points
Relevant conversion trait bounds will require update to use
Origin: From<Option<AccountId>, Option<Doughnut>>