A little improvement idea to the foundry raffle game #3285
OxSmartBlock
started this conversation in
General
Replies: 1 comment
-
Hello @OxSmartBlock, I think it is a Design choice. They are paying to reserve more slots. If they are paying only once to reserve multiple slots then that will be a serious concern. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current version of the foundry raffle contract allows an address to enter the raffle contest multiple times which can allow such address in different index in the players array . I think there should be check to allow an address enter raffle just once or we basically don't append the address to array list just accept their deposit into the contract .
Beta Was this translation helpful? Give feedback.
All reactions