2mqH7yscYiSPdGGm796wQvBeEv11C2iKiaEA9xDRb7hy
4XahUDE5GNBoWNmxKyrnbjH2ErMmCtwFccZRNDMGGVdB
Program ComputeBudget111111111111111111111111111111 invoke [1] Program ComputeBudget111111111111111111111111111111 success Program ComputeBudget111111111111111111111111111111 invoke [1] Program ComputeBudget111111111111111111111111111111 success Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 invoke [1] Program log: Instruction: EliminateNfts Program log: 🎮 Eliminating NFTs from game with SECURE block hash randomness Program log: 🚨 ELIMINATE_NFTS START Program log: Batch Size: 1, Shard Active: 24 Program log: 🎲 Getting random bytes... Program log: 🔒 Using MANDATORY Solana block hash randomness (ULTRA SECURE)... Program log: 🔒 Getting REAL block hash randomness... Program log: ✅ Found block hash for slot 391941425: [171, 90, 158, 186, 194, 164, 111, 208] Program log: 🔒 Got REAL block hash randomness: [171, 90, 158, 186, 194, 164, 111, 208] Program log: Random bytes: [171, 90, 158, 186, 194, 164, 111, 208] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 24 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 18 active NFTs Program log:   Manager Shard 1: 24 active NFTs Program log:   Manager Shard 2: 18 active NFTs Program log:   Manager Shard 3: 6 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2727 (18/66 NFTs = 27.27%) Program log: Shard 1 weight updated to 3636 (24/66 NFTs = 36.36%) Program log: Shard 2 weight updated to 2727 (18/66 NFTs = 27.27%) Program log: Shard 3 weight updated to 909 (6/66 NFTs = 9.09%) Program log: Shard 4 weight updated to 0 (0/66 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2727 Program log:   Manager Shard 1: weight 3636 Program log:   Manager Shard 2: weight 2727 Program log:   Manager Shard 3: weight 909 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 3636 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 13402831012473286222 -> point: 6222 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2727 Program log:   Shard 1: weight 3636 Program log:   Shard 2: weight 2727 Program log:   Shard 3: weight 909 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 6222 < cumulative 2727 ? Program log: 🎲 DEBUG: Shard 1 - point 6222 < cumulative 6363 ? Program log: 🎲 Selected shard 1 (weight: 3636, point: 6222, cumulative: 6363) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 1 (client-controlled) Program log: Total active: 66, Winner count: 80 Program log: 🏆 FINAL PHASE: Approaching winner selection! Slowing to 1 elimination per batch. Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 3: 00010000, bit 4 -> position 28 Program log: ✅ NFT ID: 269 = (shard 1 × size 240) + bit 28 + 1 Program log: 📊 Final phase check: remaining_after=65, winner_count=80, current winners=14 Program log: 🎯 Setting winner at position 66 (remaining NFTs: 65) Program log: ℹ️ NFT ID Calculation: 269 = (1 × 240) + 28 + 1 Program log: 🏆 NFT 5dDwBtRhAjQbSgjiokqwnLBeeedySgUvHorWimK4k6sq is a winner! (ID: 269, 15/80) Program log: 🆔 Using NFT ID 269 for winner (shard: 1, position: 28) Program log: 🏆 Adding winner mint 5dDwBtRhAjQbSgjiokqwnLBeeedySgUvHorWimK4k6sq with NFT ID 269 Program log: 🏆 CORRECT Order: NFT ID 269 gets lower place = array index 65 (position 66) Program log: ✅ Added NFT ID 269 at position 66 (first eliminated = last place) Program log: 💰 Winner added with ID 269: Current winners: 15/80 Program log: 🔍 Checking bit: position=28, byte[3] bit[4] = true Program log:    Byte value: 00010000 Program log: 🗑️  Clearing active bit: position=28, byte[3] bit[4] Program log:    Before: 00010000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 1: [28] Program log: Final shard active count: 23 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 106490 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success