Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Merge requests
!80
feat(runtime):gdev: add proxy type SmithsCollectivePropose
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat(runtime):gdev: add proxy type SmithsCollectivePropose
elois-proxy-type-smiths-collective-propose
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Éloïs
requested to merge
elois-proxy-type-smiths-collective-propose
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c86a77a6
1 commit,
2 years ago
1 file
+
7
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
runtime/gdev/src/lib.rs
+
7
−
0
Options
@@ -164,6 +164,7 @@ pub enum ProxyType {
Any
=
0
,
TransferOnly
=
1
,
CancelProxy
=
2
,
SmithsCollectivePropose
=
3
,
}
impl
Default
for
ProxyType
{
fn
default
()
->
Self
{
@@ -183,6 +184,12 @@ impl frame_support::traits::InstanceFilter<Call> for ProxyType {
Call
::
Proxy
(
pallet_proxy
::
Call
::
reject_announcement
{
..
})
)
}
ProxyType
::
SmithsCollectivePropose
=>
{
matches!
(
c
,
Call
::
SmithsCollective
(
pallet_collective
::
Call
::
propose
{
..
})
)
}
}
}
}
Loading