You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The state is not committed to the shard. But participants.len() is updated cuz the code enters the loop. The code fails with commented code iteration via .iter() as well.
Code
Code fails at https://github.com/laciferin2024/lottery.multiversex/blob/debug/participants-state-draw-winner/src/lottery.rs#L123 due to index error.
My Analysis
The state is not committed to the shard. But
participants.len()is updated cuz the code enters the loop. The code fails with commented code iteration via.iter()as well.Run at your end
Trace:
https://devnet-explorer.multiversx.com/transactions/c9f72471daf6f92e1d46a30ab84918609d54ccab999911fbf028ffe93d01724b