File tree 2 files changed +4
-1
lines changed 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ pub mod pallet {
136
136
CompletedBounty ( T :: CommunityId , T :: BountyId ) ,
137
137
/// Bounty closed due to deadline meet [Community Id, Bounty Id]
138
138
ClosedBounty ( T :: CommunityId , T :: BountyId ) ,
139
+ /// Issued Badge
140
+ IssuedBadge ( Vec < u8 > ) ,
139
141
}
140
142
141
143
#[ pallet:: error]
@@ -345,6 +347,7 @@ pub mod pallet {
345
347
passport. badges = badges;
346
348
}
347
349
350
+ Self :: deposit_event ( Event :: IssuedBadge ( bounty_reward. to_vec ( ) ) ) ;
348
351
Ok ( ( ) )
349
352
} ,
350
353
) ?;
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
122
122
// `spec_version`, and `authoring_version` are the same between Wasm and native.
123
123
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
124
124
// the compatible custom types.
125
- spec_version : 126 ,
125
+ spec_version : 127 ,
126
126
impl_version : 1 ,
127
127
apis : RUNTIME_API_VERSIONS ,
128
128
transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments