File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1959,7 +1959,8 @@ declare export class HeaderBody {
19591959
19601960 /**
19611961 * !!! DEPRECATED !!!
1962- * Returns a new HeaderBody.
1962+ * This constructor uses outdated slot number format.
1963+ * Use `.new_headerbody` instead
19631964 * @param {number} block_number
19641965 * @param {number} slot
19651966 * @param {BlockHash | void} prev_hash
@@ -4854,7 +4855,8 @@ declare export class TimelockExpiry {
48544855
48554856 /**
48564857 * !!! DEPRECATED !!!
4857- * Returns a new TimelockExpiry from Slot32 (u32) value.
4858+ * This constructor uses outdated slot number format.
4859+ * Use `.new_timelockexpiry` instead
48584860 * @param {number} slot
48594861 * @returns {TimelockExpiry}
48604862 */
Original file line number Diff line number Diff line change @@ -1717,7 +1717,8 @@ impl TimelockExpiry {
17171717 }
17181718
17191719 /// !!! DEPRECATED !!!
1720- /// Returns a new TimelockExpiry from Slot32 (u32) value.
1720+ /// This constructor uses outdated slot number format.
1721+ /// Use `.new_timelockexpiry` instead
17211722 #[ deprecated(
17221723 since = "10.1.0" ,
17231724 note = "Underlying value capacity (BigNum u64) bigger then Slot32. Use new_bignum instead."
@@ -2601,7 +2602,8 @@ impl HeaderBody {
26012602 }
26022603
26032604 /// !!! DEPRECATED !!!
2604- /// Returns a new HeaderBody.
2605+ /// This constructor uses outdated slot number format.
2606+ /// Use `.new_headerbody` instead
26052607 #[ deprecated(
26062608 since = "10.1.0" ,
26072609 note = "Underlying value capacity of slot (BigNum u64) bigger then Slot32. Use new_bignum instead."
You can’t perform that action at this time.
0 commit comments