draffle-io / draffle

dRaffle is a decentralized raffle protocol on Solana
83 stars 82 forks source link

unable to simulate transaction #14

Open Tynew240 opened 2 years ago

Tynew240 commented 2 years ago

I am unable to simulate the transaction trying to run the first command in the cli readme, this is what i get;

Raffle address: DJVVct4Knc8ne58VEYywwBkyxVMk9ssoxFpS6BmXJ8wn Cluster clock unix_timestamp: 1652590181, raffle end_timestamp: 1652935740 Error: RPC response error -32002: Transaction simulation failed: Error processing Instruction 1: Program failed to complete [16 log messages]

Caused by: 0: RPC response error -32002: Transaction simulation failed: Error processing Instruction 1: Program failed to complete [16 log messages] 1: RPC response error -32002: Transaction simulation failed: Error processing Instruction 1: Program failed to complete [16 log messages]

the account should have more than enough solana.

S03XY commented 2 years ago

hello @Tynew240 did you got the solution ?

eliagoris commented 2 years ago

For me, the solution was to remove the max-entrants parameter from the create-raffle CLI command