trezor / trezor-suite

Trezor Suite Monorepo
https://trezor.io/trezor-suite
Other
695 stars 246 forks source link

Unify staking files #13754

Open tomasklim opened 1 month ago

tomasklim commented 1 month ago

Right now utils and types are all over suite in many files.

Please unify as much as possible.

There is stake.ts utils file in packages/suite There is stake.ts utils file in @suite-common/suite-utils Then there is stakingUtils.ts in @suite-common/wallet-utils

There is stake.ts utils file in @suite-common/wallet-types There is stakeTypes.ts utils file in @suite-common/wallet-core

The file with constants ethStaking.ts is also hard to find, please come up with better naming

Please do some kind of cleaning and organising so that it is easy to find what we are looking for.

omykhailovskyi commented 3 weeks ago

Please add acceptance criteria, as discussed