mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-10-28 13:39:48 +00:00
* rewards: claim what the chain pays, without recording a score first The People chain has no pezRewards.recordTrustScore and no userEpochScores since the payroll started holding the roll still through each claim window: a claim pays the trust score at claim time times the epoch's rate, plus the seat share for a Parlementer seat taken by the time of the roll. The app still asked for the recorded score, so the claimable list was always empty, and three screens offered a Record Trust Score button that signed a call that does not exist. The buttons, their handlers and texts, and the messages for an error and a success that can no longer happen are removed; the claimable amount is worked out as the chain's entitlement does, and the empty state shows in every epoch status. Past recordTrustScore extrinsics in the transaction history keep their label. * backend: body-parser 2.4.0 and ip-address 10.7.5 npm audit on the production dependencies: body-parser 2.0.0-2.3.0 (GHSA-27r3-jxmh-p828, high, denial of service by trailing bytes after a compressed body) and ip-address <=10.7.3 (GHSA-rxp7-6hxx-x8q5, moderate). Lockfile only; npm audit --omit=dev finds nothing after. * ops: lower the typecheck baseline to 335 Four TS2339 errors in shared/lib/scores.ts went with the userEpochScores code. * web: dompurify 3.4.17 and zod 4.6.7 npm audit on the production dependencies: dompurify <=3.4.16 (critical: GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr, GHSA-c6gr-qvv4-5v3f) and zod <4.6.6 (high, GHSA-mrhx-c7xc-m3w5, fixed only in 4.x). No code imports zod; it is here for abitype, whose peer range is ^3.22.0 || ^4.0.0. Typecheck ratchet, lint and the build are unchanged.
97 lines
4.1 KiB
Plaintext
97 lines
4.1 KiB
Plaintext
# count file code — written by ops/typecheck-ratchet.py --update
|
|
3 ../shared/lib/multisig-operations.ts TS2339
|
|
3 ../shared/lib/perwerde.ts TS2339
|
|
6 ../shared/lib/presale.ts TS2339
|
|
1 ../shared/lib/referral.ts TS2339
|
|
5 ../shared/lib/scores.ts TS2339
|
|
3 ../shared/lib/staking.ts TS2339
|
|
10 ../shared/lib/validator-pool.ts TS2339
|
|
2 ../shared/lib/welati.ts TS2305
|
|
24 ../shared/lib/welati.ts TS2339
|
|
1 src/components/AddLiquidityModal.tsx TS2339
|
|
4 src/components/AddLiquidityModal.tsx TS2345
|
|
2 src/components/AddLiquidityModal.tsx TS2352
|
|
3 src/components/LPStakingModal.tsx TS2352
|
|
2 src/components/LPStakingModal.tsx TS2554
|
|
2 src/components/MultisigMembers.tsx TS2322
|
|
5 src/components/MultisigMembers.tsx TS2339
|
|
1 src/components/MultisigMembers.tsx TS2345
|
|
2 src/components/NetworkStats.tsx TS2339
|
|
1 src/components/PoolDashboard.tsx TS2345
|
|
3 src/components/PoolDashboard.tsx TS2352
|
|
1 src/components/RemoveLiquidityModal.tsx TS2345
|
|
16 src/components/TokenSwap.tsx TS2322
|
|
7 src/components/TokenSwap.tsx TS2339
|
|
8 src/components/TokenSwap.tsx TS2345
|
|
6 src/components/TokenSwap.tsx TS2552
|
|
1 src/components/TransactionHistory.tsx TS2304
|
|
3 src/components/TransactionHistory.tsx TS2339
|
|
1 src/components/XCMTeleportModal.tsx TS2339
|
|
2 src/components/admin/CommissionSetupTab.tsx TS2339
|
|
14 src/components/admin/CommissionVotingTab.tsx TS2339
|
|
1 src/components/admin/CommissionVotingTab.tsx TS2345
|
|
14 src/components/dashboard/CommissionProposalsCard.tsx TS2339
|
|
1 src/components/delegation/DelegationManager.tsx TS2322
|
|
1 src/components/delegation/DelegationManager.tsx TS2345
|
|
1 src/components/dex/AddLiquidityModal.tsx TS2345
|
|
2 src/components/dex/CreatePoolModal.tsx TS2345
|
|
1 src/components/dex/InitializeHezPoolModal.tsx TS2339
|
|
1 src/components/dex/InitializeUsdtModal.tsx TS2339
|
|
1 src/components/dex/PoolBrowser.tsx TS2339
|
|
1 src/components/dex/RemoveLiquidityModal.tsx TS2339
|
|
1 src/components/dex/RemoveLiquidityModal.tsx TS2345
|
|
3 src/components/dex/SwapInterface.tsx TS2345
|
|
1 src/components/forum/DiscussionThread.tsx TS2339
|
|
1 src/components/forum/DiscussionThread.tsx TS2740
|
|
1 src/components/governance/ElectionsInterface.tsx TS2345
|
|
2 src/components/governance/GovernanceHistory.tsx TS2339
|
|
10 src/components/governance/MyVotes.tsx TS2339
|
|
2 src/components/notifications/NotificationCenter.tsx TS2322
|
|
2 src/components/notifications/NotificationCenter.tsx TS2739
|
|
2 src/components/p2p/AdList.tsx TS2322
|
|
2 src/components/p2p/AdList.tsx TS2339
|
|
2 src/components/perwerde/CourseList.tsx TS2353
|
|
1 src/components/security/PermissionEditor.tsx TS2304
|
|
1 src/components/security/PermissionEditor.tsx TS2552
|
|
1 src/components/security/SecurityAudit.tsx TS2304
|
|
1 src/components/security/SessionMonitor.tsx TS2552
|
|
1 src/components/theme-provider.tsx TS2322
|
|
1 src/components/trading/PriceChart.tsx TS2345
|
|
1 src/components/trading/PriceChart.tsx TS2352
|
|
4 src/components/wallet/WalletButton.tsx TS2339
|
|
2 src/contexts/AuthContext.tsx TS2322
|
|
1 src/contexts/ReferralContext.tsx TS2345
|
|
10 src/hooks/use-toast.ts TS2339
|
|
2 src/hooks/use-toast.ts TS2395
|
|
3 src/hooks/useDelegation.ts TS2339
|
|
6 src/hooks/useGovernance.ts TS2339
|
|
1 src/hooks/useMobileBridge.ts TS2345
|
|
8 src/pages/AdminPanel.tsx TS2322
|
|
3 src/pages/AdminPanel.tsx TS2345
|
|
1 src/pages/Citizens.tsx TS2345
|
|
5 src/pages/Dashboard.tsx TS2322
|
|
2 src/pages/Dashboard.tsx TS2339
|
|
1 src/pages/Dashboard.tsx TS2769
|
|
1 src/pages/EducationPlatform.tsx TS2353
|
|
4 src/pages/Elections.tsx TS2339
|
|
3 src/pages/Elections.tsx TS2345
|
|
1 src/pages/Elections.tsx TS2352
|
|
8 src/pages/Explorer.tsx TS2339
|
|
2 src/pages/P2PDispute.tsx TS2554
|
|
2 src/pages/P2PTrade.tsx TS2322
|
|
3 src/pages/P2PTrade.tsx TS2339
|
|
2 src/pages/Presale.tsx TS2339
|
|
2 src/pages/Presale.tsx TS2345
|
|
4 src/pages/TelegramConnect.tsx TS2339
|
|
2 src/pages/WalletDashboard.tsx TS2339
|
|
2 src/pages/citizens/CitizensIssues.tsx TS2339
|
|
3 src/pages/citizens/GovernmentEntrance.tsx TS2339
|
|
1 src/pages/education/CertificatesPage.tsx TS2339
|
|
1 src/pages/education/CertificatesPage.tsx TS2769
|
|
1 src/pages/finance/TaxZekatPage.tsx TS2339
|
|
2 src/pages/launchpad/CreatePresale.tsx TS2345
|
|
29 src/pages/launchpad/PresaleDetail.tsx TS2339
|
|
6 src/pages/launchpad/PresaleDetail.tsx TS2345
|
|
1 src/pages/launchpad/PresaleDetail.tsx TS2362
|
|
4 src/pages/launchpad/PresaleList.tsx TS2339
|