File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
pallets/subtensor/src/coinbase Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -216,11 +216,12 @@ impl<T: Config> Pallet<T> {
216216
217217 // Combines ema price method and tao flow method linearly over FlowHalfLife blocks
218218 pub ( crate ) fn get_shares ( subnets_to_emit_to : & [ NetUid ] ) -> BTreeMap < NetUid , U64F64 > {
219- // Self::get_shares_flow(subnets_to_emit_to)
220- Self :: get_shares_price_ema ( subnets_to_emit_to)
219+ Self :: get_shares_flow ( subnets_to_emit_to)
220+ // Self::get_shares_price_ema(subnets_to_emit_to)
221221 }
222222
223223 // DEPRECATED: Implementation of shares that uses EMA prices will be gradually deprecated
224+ #[ allow( dead_code) ]
224225 fn get_shares_price_ema ( subnets_to_emit_to : & [ NetUid ] ) -> BTreeMap < NetUid , U64F64 > {
225226 // Get sum of alpha moving prices
226227 let total_moving_prices = subnets_to_emit_to
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
220220 // `spec_version`, and `authoring_version` are the same between Wasm and native.
221221 // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
222222 // the compatible custom types.
223- spec_version : 337 ,
223+ spec_version : 338 ,
224224 impl_version : 1 ,
225225 apis : RUNTIME_API_VERSIONS ,
226226 transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments