Fv6gGykUQsCqh2wVP3NGjfruLAGmLRLBfwceVt4Soss4
3XHMGMw5a6pGLZR5jE47Tz6BTukjVHkzezVCBdedNF59
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: 20 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 391941356: [132, 105, 235, 42, 237, 113, 142, 196] Program log: 🔒 Got REAL block hash randomness: [132, 105, 235, 42, 237, 113, 142, 196] Program log: Random bytes: [132, 105, 235, 42, 237, 113, 142, 196] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 20 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: 20 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 2714 (19/70 NFTs = 27.14%) Program log: Shard 1 weight updated to 3571 (25/70 NFTs = 35.71%) Program log: Shard 2 weight updated to 2857 (20/70 NFTs = 28.57%) Program log: Shard 3 weight updated to 857 (6/70 NFTs = 8.57%) Program log: Shard 4 weight updated to 0 (0/70 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2714 Program log:   Manager Shard 1: weight 3571 Program log:   Manager Shard 2: weight 2857 Program log:   Manager Shard 3: weight 857 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 2857 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 16364195548075305144 -> point: 5144 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2714 Program log:   Shard 1: weight 3571 Program log:   Shard 2: weight 2857 Program log:   Shard 3: weight 857 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 5144 < cumulative 2714 ? Program log: 🎲 DEBUG: Shard 1 - point 5144 < cumulative 6285 ? Program log: 🎲 Selected shard 1 (weight: 3571, point: 5144, cumulative: 6285) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 2 (client-controlled) Program log: Total active: 70, 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: 00000100, bit 2 -> position 26 Program log: ✅ NFT ID: 507 = (shard 2 × size 240) + bit 26 + 1 Program log: 📊 Final phase check: remaining_after=69, winner_count=80, current winners=10 Program log: 🎯 Setting winner at position 70 (remaining NFTs: 69) Program log: ℹ️ NFT ID Calculation: 507 = (2 × 240) + 26 + 1 Program log: 🏆 NFT AK5SBVg4uRW4pRUt3DNVmxyUcTgLdzUEHCKroFwJuNBV is a winner! (ID: 507, 11/80) Program log: 🆔 Using NFT ID 507 for winner (shard: 2, position: 26) Program log: 🏆 Adding winner mint AK5SBVg4uRW4pRUt3DNVmxyUcTgLdzUEHCKroFwJuNBV with NFT ID 507 Program log: 🏆 CORRECT Order: NFT ID 507 gets lower place = array index 69 (position 70) Program log: ✅ Added NFT ID 507 at position 70 (first eliminated = last place) Program log: 💰 Winner added with ID 507: Current winners: 11/80 Program log: 🔍 Checking bit: position=26, byte[3] bit[2] = true Program log:    Byte value: 00000100 Program log: 🗑️  Clearing active bit: position=26, byte[3] bit[2] Program log:    Before: 00000100 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 2: [26] Program log: Final shard active count: 19 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 106633 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success