2LYejhCFpJPWCJ4kNrMikP8FyLEBpTxuW7ah4ANcXDM9
8bFZ6ypXdVC8EfgCv2yFzj91iUaE8xPC6CJusNC3gv87
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 391941204: [96, 91, 67, 183, 146, 163, 140, 252] Program log: 🔒 Got REAL block hash randomness: [96, 91, 67, 183, 146, 163, 140, 252] Program log: Random bytes: [96, 91, 67, 183, 146, 163, 140, 252] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 24 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: 24 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 2658 (21/79 NFTs = 26.58%) Program log: Shard 1 weight updated to 3417 (27/79 NFTs = 34.17%) Program log: Shard 2 weight updated to 3037 (24/79 NFTs = 30.37%) Program log: Shard 3 weight updated to 886 (7/79 NFTs = 8.86%) Program log: Shard 4 weight updated to 0 (0/79 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2658 Program log:   Manager Shard 1: weight 3417 Program log:   Manager Shard 2: weight 3037 Program log:   Manager Shard 3: weight 886 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 3037 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 5357116840212580994 -> point: 994 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2658 Program log:   Shard 1: weight 3417 Program log:   Shard 2: weight 3037 Program log:   Shard 3: weight 886 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 994 < cumulative 2658 ? Program log: 🎲 Selected shard 0 (weight: 2658, point: 994, cumulative: 2658) Program log: 🧪 TEST MODE: Weight-based selection chose shard 0 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 0 but processing shard 2 (client-controlled) Program log: Total active: 79, 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 12: 00101000, bit 3 -> position 99 Program log: ✅ NFT ID: 580 = (shard 2 × size 240) + bit 99 + 1 Program log: 📊 Final phase check: remaining_after=78, winner_count=80, current winners=1 Program log: 🎯 Setting winner at position 79 (remaining NFTs: 78) Program log: ℹ️ NFT ID Calculation: 580 = (2 × 240) + 99 + 1 Program log: 🏆 NFT Aa27mva27G4ARFUXXtCXiAnuhwQMAmtQLiRg2ZKxyiqZ is a winner! (ID: 580, 2/80) Program log: 🆔 Using NFT ID 580 for winner (shard: 2, position: 99) Program log: 🏆 Adding winner mint Aa27mva27G4ARFUXXtCXiAnuhwQMAmtQLiRg2ZKxyiqZ with NFT ID 580 Program log: 🏆 CORRECT Order: NFT ID 580 gets lower place = array index 78 (position 79) Program log: ✅ Added NFT ID 580 at position 79 (first eliminated = last place) Program log: 💰 Winner added with ID 580: Current winners: 2/80 Program log: 🔍 Checking bit: position=99, byte[12] bit[3] = true Program log:    Byte value: 00101000 Program log: 🗑️  Clearing active bit: position=99, byte[12] bit[3] Program log:    Before: 00101000 Program log:    After:  00100000 Program log: 
💥 Eliminated positions in shard 2: [99] Program log: Final shard active count: 23 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 105434 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success