Skip to content

Commit

Permalink
[ew_encointer_utils] add fixme comment for momentsPerDay
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Nov 13, 2023
1 parent 39511b1 commit def1f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ew_encointer_utils/lib/src/assigment.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/// Moments day [ms/d]
///
/// https://github.com/encointer/encointer-parachain/blob/b9d21b5caaa640e505264dbad52ef8023ef98f63/polkadot-parachains/encointer-runtime/src/lib.rs#L468
///
/// Fixme: is it better to get this value from the chain?
const momentsPerDay = 86400000;

const momentsPerDegree = momentsPerDay / 360;
Expand Down

0 comments on commit def1f0f

Please sign in to comment.