File tree 1 file changed +5
-3
lines changed
programs/mpl-core/src/plugins/internal/permanent
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,9 @@ pub struct BubblegumV2 {}
19
19
impl BubblegumV2 {
20
20
/// List of other plugins allowed on collections with the Bubblegum V2 plugin.
21
21
/// The BubblegumV2 plugin limits what can be on the collection to plugins that are
22
- /// supported and validated at runtime by the Bubblegum program.
23
- pub const ALLOW_LIST : [ PluginType ; 6 ] = [
22
+ /// supported and validated at runtime by the Bubblegum program. Other plugins may
23
+ /// be added in the future but for now this subset was chosen.
24
+ pub ( crate ) const ALLOW_LIST : [ PluginType ; 6 ] = [
24
25
PluginType :: Attributes ,
25
26
PluginType :: PermanentFreezeDelegate ,
26
27
PluginType :: PermanentTransferDelegate ,
@@ -80,7 +81,8 @@ impl PluginValidation for BubblegumV2 {
80
81
// If the BubblegumV2 plugin is present, no external plugin adapters
81
82
// can be added. The BubblegumV2 plugin limits what can be on the
82
83
// collection to plugins that are supported and validated at runtime
83
- // by the Bubblegum program.
84
+ // by the Bubblegum program. External plugin adapters may be added
85
+ // in the future but for now this subset was chosen.
84
86
reject ! ( )
85
87
}
86
88
}
You can’t perform that action at this time.
0 commit comments