HophAEBc4D1B5G2BwXEhQPXwMGB436LAn3EFf2Vq4FBK
5wqCyz46RwTjJvtcbmdYH42kKRi4AyEbvr8yhTgEBSy6
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: 25 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 391941185: [44, 66, 224, 162, 132, 182, 33, 147] Program log: 🔒 Got REAL block hash randomness: [44, 66, 224, 162, 132, 182, 33, 147] Program log: Random bytes: [44, 66, 224, 162, 132, 182, 33, 147] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 25 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 21 active NFTs Program log:   Manager Shard 1: 27 active NFTs Program log:   Manager Shard 2: 25 active NFTs Program log:   Manager Shard 3: 7 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2625 (21/80 NFTs = 26.25%) Program log: Shard 1 weight updated to 3375 (27/80 NFTs = 33.75%) Program log: Shard 2 weight updated to 3125 (25/80 NFTs = 31.25%) Program log: Shard 3 weight updated to 875 (7/80 NFTs = 8.75%) Program log: Shard 4 weight updated to 0 (0/80 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2625 Program log:   Manager Shard 1: weight 3375 Program log:   Manager Shard 2: weight 3125 Program log:   Manager Shard 3: weight 875 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 3125 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 13063428574057563655 -> point: 3655 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2625 Program log:   Shard 1: weight 3375 Program log:   Shard 2: weight 3125 Program log:   Shard 3: weight 875 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 3655 < cumulative 2625 ? Program log: 🎲 DEBUG: Shard 1 - point 3655 < cumulative 6000 ? Program log: 🎲 Selected shard 1 (weight: 3375, point: 3655, cumulative: 6000) 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: 80, 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 22: 10000000, bit 7 -> position 183 Program log: ✅ NFT ID: 664 = (shard 2 × size 240) + bit 183 + 1 Program log: 📊 Final phase check: remaining_after=79, winner_count=80, current winners=0 Program log: 🎯 Setting winner at position 80 (remaining NFTs: 79) Program log: ℹ️ NFT ID Calculation: 664 = (2 × 240) + 183 + 1 Program log: 🏆 NFT D4qupcijG85FHKvPSf4WFRuV6SeHBDkRVnR8qXxHMv11 is a winner! (ID: 664, 1/80) Program log: 🆔 Using NFT ID 664 for winner (shard: 2, position: 183) Program log: 🏆 Adding winner mint D4qupcijG85FHKvPSf4WFRuV6SeHBDkRVnR8qXxHMv11 with NFT ID 664 Program log: 🏆 CORRECT Order: NFT ID 664 gets lower place = array index 79 (position 80) Program log: ✅ Added NFT ID 664 at position 80 (first eliminated = last place) Program log: 💰 Winner added with ID 664: Current winners: 1/80 Program log: 🔍 Checking bit: position=183, byte[22] bit[7] = true Program log:    Byte value: 10000000 Program log: 🗑️  Clearing active bit: position=183, byte[22] bit[7] Program log:    Before: 10000000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 2: [183] Program log: Final shard active count: 24 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 114900 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success