Skip to content

Commit cec96d6

Browse files
authored
Merge pull request #244 from jurteam/develop
develop to staging
2 parents 5be080f + fbd278a commit cec96d6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pallets/bounties/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ pub mod pallet {
136136
CompletedBounty(T::CommunityId, T::BountyId),
137137
/// Bounty closed due to deadline meet [Community Id, Bounty Id]
138138
ClosedBounty(T::CommunityId, T::BountyId),
139+
/// Issued Badge
140+
IssuedBadge(Vec<u8>),
139141
}
140142

141143
#[pallet::error]
@@ -345,6 +347,7 @@ pub mod pallet {
345347
passport.badges = badges;
346348
}
347349

350+
Self::deposit_event(Event::IssuedBadge(bounty_reward.to_vec()));
348351
Ok(())
349352
},
350353
)?;

runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
122122
// `spec_version`, and `authoring_version` are the same between Wasm and native.
123123
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
124124
// the compatible custom types.
125-
spec_version: 126,
125+
spec_version: 127,
126126
impl_version: 1,
127127
apis: RUNTIME_API_VERSIONS,
128128
transaction_version: 1,

0 commit comments

Comments
 (0)