9AaRj2t8qAFXmhmngaj3p4RZWCPKtY8wWLWURDJxQBF7
3WSvJDRVcaHEXysqqy3x4z4anFPAN2swzmPph8GkpoVR
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: 22 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 391941322: [76, 156, 179, 106, 102, 92, 123, 83] Program log: 🔒 Got REAL block hash randomness: [76, 156, 179, 106, 102, 92, 123, 83] Program log: Random bytes: [76, 156, 179, 106, 102, 92, 123, 83] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 22 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 19 active NFTs Program log:   Manager Shard 1: 25 active NFTs Program log:   Manager Shard 2: 22 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 2638 (19/72 NFTs = 26.38%) Program log: Shard 1 weight updated to 3472 (25/72 NFTs = 34.72%) Program log: Shard 2 weight updated to 3055 (22/72 NFTs = 30.55%) Program log: Shard 3 weight updated to 833 (6/72 NFTs = 8.33%) Program log: Shard 4 weight updated to 0 (0/72 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2638 Program log:   Manager Shard 1: weight 3472 Program log:   Manager Shard 2: weight 3055 Program log:   Manager Shard 3: weight 833 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 3055 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 13805192941267076642 -> point: 6642 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2638 Program log:   Shard 1: weight 3472 Program log:   Shard 2: weight 3055 Program log:   Shard 3: weight 833 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 6642 < cumulative 2638 ? Program log: 🎲 DEBUG: Shard 1 - point 6642 < cumulative 6110 ? Program log: 🎲 DEBUG: Shard 2 - point 6642 < cumulative 9165 ? Program log: 🎲 Selected shard 2 (weight: 3055, point: 6642, cumulative: 9165) Program log: 🧪 TEST MODE: Weight-based selection chose shard 2 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 2 but processing shard 2 (client-controlled) Program log: Total active: 72, 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 25: 00000100, bit 2 -> position 202 Program log: ✅ NFT ID: 683 = (shard 2 × size 240) + bit 202 + 1 Program log: 📊 Final phase check: remaining_after=71, winner_count=80, current winners=8 Program log: 🎯 Setting winner at position 72 (remaining NFTs: 71) Program log: ℹ️ NFT ID Calculation: 683 = (2 × 240) + 202 + 1 Program log: 🏆 NFT 4ogeFFpFaFVnhtGW9Ln5uehoWrmGpMT6sP8whjWzjtMU is a winner! (ID: 683, 9/80) Program log: 🆔 Using NFT ID 683 for winner (shard: 2, position: 202) Program log: 🏆 Adding winner mint 4ogeFFpFaFVnhtGW9Ln5uehoWrmGpMT6sP8whjWzjtMU with NFT ID 683 Program log: 🏆 CORRECT Order: NFT ID 683 gets lower place = array index 71 (position 72) Program log: ✅ Added NFT ID 683 at position 72 (first eliminated = last place) Program log: 💰 Winner added with ID 683: Current winners: 9/80 Program log: 🔍 Checking bit: position=202, byte[25] bit[2] = true Program log:    Byte value: 00000100 Program log: 🗑️  Clearing active bit: position=202, byte[25] bit[2] Program log:    Before: 00000100 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 2: [202] Program log: Final shard active count: 21 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 113781 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success