13Ersv1K5KqSqBAraMrbsZrS6co2Kd8wrm6ejBogoyKH
8MUZdMLU8nw4HryLYQgV9ys9cwkpbGEqxFMHhVHnYfcn
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: 11 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 391943713: [41, 48, 225, 241, 235, 114, 246, 189] Program log: 🔒 Got REAL block hash randomness: [41, 48, 225, 241, 235, 114, 246, 189] Program log: Random bytes: [41, 48, 225, 241, 235, 114, 246, 189] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 11 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 11 active NFTs Program log:   Manager Shard 1: 12 active NFTs Program log:   Manager Shard 2: 3 active NFTs Program log:   Manager Shard 3: 5 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 3548 (11/31 NFTs = 35.48%) Program log: Shard 1 weight updated to 3870 (12/31 NFTs = 38.70%) Program log: Shard 2 weight updated to 967 (3/31 NFTs = 9.67%) Program log: Shard 3 weight updated to 1612 (5/31 NFTs = 16.12%) Program log: Shard 4 weight updated to 0 (0/31 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3548 Program log:   Manager Shard 1: weight 3870 Program log:   Manager Shard 2: weight 967 Program log:   Manager Shard 3: weight 1612 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 3548 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 8493793014616878786 -> point: 8786 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3548 Program log:   Shard 1: weight 3870 Program log:   Shard 2: weight 967 Program log:   Shard 3: weight 1612 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8786 < cumulative 3548 ? Program log: 🎲 DEBUG: Shard 1 - point 8786 < cumulative 7418 ? Program log: 🎲 DEBUG: Shard 2 - point 8786 < cumulative 8385 ? Program log: 🎲 DEBUG: Shard 3 - point 8786 < cumulative 9997 ? Program log: 🎲 Selected shard 3 (weight: 1612, point: 8786, cumulative: 9997) Program log: 🧪 TEST MODE: Weight-based selection chose shard 3 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 3 but processing shard 0 (client-controlled) Program log: Total active: 31, 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: 10000001, bit 7 -> position 103 Program log: ✅ NFT ID: 104 = (shard 0 × size 240) + bit 103 + 1 Program log: 📊 Final phase check: remaining_after=30, winner_count=80, current winners=49 Program log: 🎯 Setting winner at position 31 (remaining NFTs: 30) Program log: ℹ️ NFT ID Calculation: 104 = (0 × 240) + 103 + 1 Program log: 🏆 NFT DRLAo6kaK7A9HgVtvNcFLcityDhRMBh94zwRQybQ543o is a winner! (ID: 104, 50/80) Program log: 🆔 Using NFT ID 104 for winner (shard: 0, position: 103) Program log: 🏆 Adding winner mint DRLAo6kaK7A9HgVtvNcFLcityDhRMBh94zwRQybQ543o with NFT ID 104 Program log: 🏆 CORRECT Order: NFT ID 104 gets lower place = array index 30 (position 31) Program log: ✅ Added NFT ID 104 at position 31 (first eliminated = last place) Program log: 💰 Winner added with ID 104: Current winners: 50/80 Program log: 🔍 Checking bit: position=103, byte[12] bit[7] = true Program log:    Byte value: 10000001 Program log: 🗑️  Clearing active bit: position=103, byte[12] bit[7] Program log:    Before: 10000001 Program log:    After:  00000001 Program log: 
💥 Eliminated positions in shard 0: [103] Program log: Final shard active count: 10 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 111506 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success