Commit Graph

340 Commits

Author SHA1 Message Date
Tarik Gul
003ae66680
Add support for migration ledger app (#10777)
* Add ledgerApp

* New settings for ledger in apps

* Add ledger migration and legacy support via ui

* Update useLedger

* Fix and get migration working

* Add ledger notices about which app is currently set in the settings

* dedupe
2024-07-24 12:59:00 -04:00
Tarik Gul
afa3efb43f
Ledger support for PolkadotGenericApp (#10744)
* Ledger support

* Some changes

* Test

* get it working. Code is very ugly and messy

* test changes :)

* using PAPI merkeleized

* Update polkadot-.js deps

* Cleanup LedgerSigner

* Add addressOffset

* Fix ledger call

* fix showLedgerAddress

* Fix signPayload for addressIndex

* Cleanup

* set polkadot as default slip44

* fix nit

* Fix nit

---------

Co-authored-by: bee344 <alberto.penayo@parity.io>
2024-07-16 08:52:18 +03:00
Przemek Rzad
576cfa3bfb
Try decoding a preimage as a transaction (#10755)
* registry does not make sense in this result type

* use api instead

* refactor - return early to reduce nesting, try api.tx first

* Add warning

* refactor return

* lint
2024-07-16 00:11:35 -04:00
Tarik Gul
478cd03e7e
Use apiSystemPeople for identities on {relay | system} chains, and keep compat for parachains (#10598)
* Use apiSystemPeople for identities on relay chains

* Add apiIdentity support

* add config

* Fix nits

* Get working condition for all chains!

* add enableIdentity for correct support

* Add comments to EndpointOption type

* Add some inline comments
2024-05-21 21:28:03 +03:00
Tarik Gul
b5588ebea7
Fix staking rewards, and update polkadot deps (#10552)
* Bump pjs deps

* reactive withClaimedRewardsEras

* remove comments
2024-05-08 23:28:35 +03:00
Tarik Gul
7a897eab81
Fix Staking with latest breaking changes! (#10498)
* Update pjs deps

* Rework useSortedTargets with breaking changes

* lint

* Fix kickNominees

* Fix ChartStake

* Lots of remaining fixes!!!!!

* app-routing

* Remove withClaimedRewardsEras

* Fix useSortedTargets

* Fix small nits

* More nits
2024-04-24 21:48:08 +03:00
José Molina Colmenero
e680e6af70
use runtime APIs to query block time (#10457)
* use runtime APIs to query block time

* rename api object

* restore calcInterval function

* fix: import

* improve types
2024-04-15 17:22:04 -04:00
Qiwei Yang
453b94f381
feat: local fork allow fake accounts (#10342)
* fix: upgrade chopsticks

* feat: expose fork in context

* fix lock

* fix: add account to chopsticks

* feat: sign fake

* fix: lint
2024-04-10 22:12:57 -04:00
José Molina Colmenero
f54314337b
query slot duration for block interval (#10456) 2024-04-10 08:59:36 -04:00
Tarik Gul
d088dfe32a
Bump @polkadot/* deps (#10355)
* Bump @polkadot/* deps

* fix updates based on api

* Fix bytes to EventRecord type

* nit
2024-03-14 17:25:27 +02:00
Qiwei Yang
9d994f505f
feat: make local fork non persistent across sessions (#10315) 2024-03-02 09:11:52 -05:00
Tarik Gul
44691fb9a0
Support requestStatusFor for usePreimage (#10310)
* support requestStatusFor for usePreimage

* remove console

* Add comment
2024-02-29 23:33:21 +02:00
Jegor Sidorenko
585662dbd4
Support ipfs://ipfs/ links (#9772)
* Support ipfs://ipfs/ links

* A more universal approach

* use toPrimitive() instead of toString()

* Chore
2024-02-28 07:37:42 -05:00
Jaco
0649261a5d
2024 (#10152) 2024-01-08 15:06:30 +02:00
Jaco
d94c086c79
Bump polkadot-js deps (#10106)
* Bump polkadot-js deps

* Adjust (now optional) maxNominatorRewardedPerValidator usage

* Adjust usePreimage usage to align with latest Substrate

* Adjust unclaimed rewards retrieval

* Adjust StakingLedger import

* Adjust hooks for getLegacyRewards

* Adjust StakingLedger imports
2023-12-18 17:23:43 +02:00
Jaco
bb75a7b27f
Bump deps (#9815)
* Bump deps

* Adjust withTranslation usage

* Omit<T, 't'>

* Adjust translate Props

* Adjust straglers
2023-08-23 14:36:40 +03:00
Jaco
f48ac48b39
Bump deps (#9796)
* Bump deps

* Additional deps

* (some) fixes

* Additional
2023-08-19 12:14:57 +03:00
Jaco
e23c8cf152
Bump pjs deps (#9794)
* Bump pjs deps

* Some cleanups

* Additional fixes

* Additional fixes

* kilt

* Additional fixes

* Headers

* Additional headers

* Additional

* Additional

* Additional

* Additional

* It seems to lint... locally.

* It seems to build... locally.

* Review adjustments
2023-08-19 09:38:42 +03:00
Jaco
4d329a1e88
Adjust i18n types (prepare for i18next-react update) (#9688) 2023-07-13 09:54:48 +03:00
Jaco
5497195f99
Apply useBatchTx to gov2 delegation (#9606) 2023-06-19 12:37:22 +03:00
Jaco
8f9919c834
Adjust object indexing (#9564)
* Add tsconfig override

* JSON Comments

* Adjust object indexing

* Dedupe yarn.lock

* Bump deps
2023-06-12 09:11:39 +03:00
Jaco
e0e2605564
Bump dev (w/ eslint config updates) (#9472) 2023-05-21 09:04:36 +03:00
Jaco
26bcc6073d
Switch on tsconfig composite (#9465)
* Switch on tsconfig composite

* Rebuild locales

* Fix CallExpander import
2023-05-19 15:11:59 +03:00
Jaco
1e7ebdee40
Break (some) circular dependencies (#9464)
* Break (some) circular dependencies

* Rebuild translations
2023-05-19 10:26:23 +03:00
Jaco
451d4e318f
0.129.1 (#9387)
* 0.129.1

* linting
2023-04-30 10:20:05 +03:00
Jaco
815ecd9446
Bump dev (#9359) 2023-04-21 16:17:36 +03:00
Jaco
d25665a513
Partial support for verbatimModuleSyntax (#9270) 2023-04-02 16:12:44 +03:00
Jaco
000aed06e5
Bump deps (#9221)
* Bump deps

* Adjustments for upgrades

* Bumps
2023-03-25 14:59:23 +02:00
Jaco
c069df72c0
Bump dev deps (#9199) 2023-03-18 13:04:20 +02:00
Jaco
4bfda46580
Swap TS resolution to base config (#9194)
* Swap TS resolution to base config

* Run build fixup before lint

* Adjust with specific comment on fixup
2023-03-17 12:55:10 +02:00
Jaco
2422145a24
Adjust spec with references (not able to bump ts 5 as of yet) (#9190)
* Bump to TS 5.0

* Revert TS bump (needs investigation)
2023-03-17 08:34:43 +02:00
Nisheeth Barthwal
6ee86ae57e
display discord identity in profile sidebar (#9185)
* display discord identity in profile sidebar

* use common discord key
2023-03-15 16:26:35 +02:00
Jaco
c6f0c6035a
Upgrade dropzone component (#9169)
* Upgrade dropzone component

* Revert as any removal
2023-03-14 14:27:31 +02:00
Jaco
2e5bd0931c
Filter treasury.UpdatedInactive events (#9159) 2023-03-12 19:35:15 +02:00
Jaco
0cdc49c4be
Adjust max batch size calc (w/ proofSize & older) (#8920)
* Adjust max batch size calc (w/ proofSize & older)

* Cleanups

* Adjust fill ratio

* Adjust, only check refTime

* Comments

* Clarify ratio further

* Extract getKnown

* Split size calc into function
2023-03-12 19:21:50 +02:00
Jaco
b82cae49ff
Align tsconfig to allow moduleResolution: nodenext (#9152)
* Align tsconfig to allow moduleResolution: nodenext

* Fix bounty

* Additional from tsc --noEmit check
2023-03-12 10:53:21 +02:00
Jaco
eacf028ba6
Use .js imports in src (#9132)
* Use .js imports in src

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Additional

* Add WP extension aliases

* Bump dev

* Additional

* Additional

* Adjust extensionAlias order
2023-03-09 12:11:03 +02:00
Jaco
d76587c976
Adjust address conversion (32 can convert to H160) (#8991) 2023-02-09 15:38:40 +02:00
Jaco
3fc3b1edbf
Defer keyring init until chain type is available (#8980)
* Defer keyring init until chain type is available

* Ensure optionsSubject operation

* Attempt to fix mocked hook

* Adjust bounties spec context order

* Fix is* flags on mock
2023-02-08 18:36:04 +02:00
Jaco
7d24f50c38
Bump deps (incl. TS) (#8931)
* Bump deps (incl. TS)

* Adjust ESM packages for Jest

* Yet more Jest hacks

* Make horrible jest config slightly prettier

* Unbump electron

* Fix external package deps
2023-02-03 15:01:45 +02:00
Jaco
0de8a8d2ff
Add waiting list to next-gen staking (#8896)
* Add waiting list to next-gen staking

* Extract use* types

* Adjust useHeartbeat checks

* Adjust with useNextTick

* Adjust for useNextTick

* Points anim via ref

* Adjust
2023-01-31 11:56:37 +02:00
Jaco
d5454f96e6
Bump deps (#8891)
* Bump deps

* Cater for new Weight alias defaults
2023-01-30 12:43:50 +02:00
Jaco
7d1e037fdb
Add missing inline preimage conditions (#8882) 2023-01-25 13:19:59 +02:00
Jaco
9502e3f3b4
Adjust useMemoValue (straight ref compares) (#8858) 2023-01-21 14:19:52 +02:00
Jaco
7b685cec66
Add useTimer hook (& use in ApiStatsCtx) (#8857)
* Add useTimer hook (& use in ApiStatsCtx)

* Adjust useBounce (w/ timerId var)

* Adjust getStats & mergeStats
2023-01-21 11:28:42 +02:00
Jaco
43d4ba2a05
Fix API stats graph (#8856) 2023-01-21 10:26:37 +02:00
Jaco
d12280cb1b
Make usePreimage deal with inline calls (#8843)
* Make usePreimage deal with inline calls

* Ongoing adjustment for hash extraction
2023-01-21 09:18:52 +02:00
Jaco
86eba636a5
Adjust/optimize table column rendering (#8839)
* Adjust/optimize table column rendering

* Split helper

* Adjust

* Remove ddebug helper logs

* Don't render children on empty array

* Pass isEmpty to Body

* Account hooks ordering
2023-01-19 16:38:34 +02:00
Jaco
652015cbdb
De-magic useWindowColumns (#8838) 2023-01-17 21:14:58 +02:00
Jaco
6ecccdc031
Additional alignment of staking UI layout (#8828)
* Additional alignment of staking UI layout

* Allow for validator tagging & sorting

* Adjust flag injection (re-create object)

* currentEra for staking queries

* Pass SessionInfo structure

* Display badges

* Adjust flags

* Adjust status media

* Badge background adjustments

* Don't do additional table split

* Adjust table split
2023-01-17 11:30:34 +02:00