Repository: dusk-network/rusk (language: rust)

Issue:
Fix `faults` property type in `StakeInfo`
**Describe the bug**
With the latest update of w3sper, by removing the `nonce` field in `StakeInfo`, the `faults` property incorrectly got the type `bigint` instead of `number`.
See https://github.com/dusk-network/rusk/pull/3132/files#diff-b8886ea6737a370482a0129ce569fd36dfcadf095a2353bce1cac553fa9b35a8L41-L42


Discussion / hints:

Fix patch:
diff --git a/w3sper.js/src/network/syncer/account.js b/w3sper.js/src/network/syncer/account.js
index e7b88794e0..9e9fc9a797 100644
--- a/w3sper.js/src/network/syncer/account.js
+++ b/w3sper.js/src/network/syncer/account.js
@@ -37,7 +37,7 @@ class StakeInfo {
   amount;
   /** @type {bigint} */
   reward;
-  /** @type {bigint} */
+  /** @type {number} */
   faults;
   /** @type {number} */
   hardFaults;


Test patch: