File tree 3 files changed +5
-2
lines changed
pallets/subtensor/src/coinbase
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 51
51
52
52
production :
53
53
@ echo " Running cargo build with metadata-hash generation..."
54
- cargo + {{ RUSTV}} build --profile production --features=" runtime-benchmarks metadata-hash"
54
+ cargo + {{ RUSTV}} build --profile production --features=" metadata-hash"
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ impl<T: Config> Pallet<T> {
48
48
// --- 3. Drain the subnet block emission and accumulate it as subnet emission, which increases until the tempo is reached in #4.
49
49
// subnet_blockwise_emission -> subnet_pending_emission
50
50
for netuid in subnets. clone ( ) . iter ( ) {
51
+ if * netuid == 0 {
52
+ continue ;
53
+ }
51
54
// --- 3.1 Get the network's block-wise emission amount.
52
55
// This value is newly minted TAO which has not reached staking accounts yet.
53
56
let subnet_blockwise_emission: u64 = EmissionValues :: < T > :: get ( * netuid) ;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
142
142
// `spec_version`, and `authoring_version` are the same between Wasm and native.
143
143
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
144
144
// the compatible custom types.
145
- spec_version : 195 ,
145
+ spec_version : 196 ,
146
146
impl_version : 1 ,
147
147
apis : RUNTIME_API_VERSIONS ,
148
148
transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments