paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.8k stars 653 forks source link

Clean up pallet-vesting tests #310

Closed emostov closed 7 months ago

emostov commented 3 years ago

idea: you could probably clean up tests a bit by directly setting whatever vested transfer you need on any user, rather than repeating the process of transferring from some (arbitrary) account into your desired accounts.

Might need to be its own PR.

for example I can foresee

ExtBuilder::default()
    .add_vest(2, 20 * ED, ED, 10)
    .add_vest(2, 10 * ED, ED, 15)
    .build()

_Originally posted by @kianenigma in https://github.com/paritytech/substrate/pull/9202#discussion_r667876906_

Some hints:

Find me at @zeke:matrix.parity.io for further questions

guzzit commented 2 years ago

Hi @emostov, I'd like to attempt this.

emostov commented 2 years ago

cc @kianenigma @shawntabrizi

ggwpez commented 7 months ago

Seems like busywork to me. Closing as wont fix.