Commit b630f1b0 authored by Oliver Tale-Yazdi's avatar Oliver Tale-Yazdi Committed by GitHub
Browse files

pallet-lottery: add generate_storage_info (#10594)



* pallet-lottery: add generate_storage_info

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* pallet-lottery: test call_to_indices with TooManyCalls

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* review: move try_push above transfer

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* pallet-lottery: test stop_repeat

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* pallet-lottery: test do_buy_ticket as white-box

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* pallet-lottery: use BoundedVec in bechmarks

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* pallet-lottery: fix zero div panic

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* review: extend buy_ticket tests

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* review: test buy_ticket AlreadyParticipating

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* fmt

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* review: use /// comments on private functions

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>

* review: use with_bounded_capacity

Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
parent 5e4035dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment