3zyLdB6QCiYxy7NhLZyMWcfd7vsPT9B7Brq9BYMKJCXG
Bz6gdVKTDr3i26VbnoP6Ay2qMVtXBhghyuzK8jqDJRA4
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: 14 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 391941598: [243, 89, 246, 5, 219, 50, 27, 142] Program log: 🔒 Got REAL block hash randomness: [243, 89, 246, 5, 219, 50, 27, 142] Program log: Random bytes: [243, 89, 246, 5, 219, 50, 27, 142] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 14 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 16 active NFTs Program log:   Manager Shard 1: 20 active NFTs Program log:   Manager Shard 2: 14 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 2857 (16/56 NFTs = 28.57%) Program log: Shard 1 weight updated to 3571 (20/56 NFTs = 35.71%) Program log: Shard 2 weight updated to 2500 (14/56 NFTs = 25.00%) Program log: Shard 3 weight updated to 1071 (6/56 NFTs = 10.71%) Program log: Shard 4 weight updated to 0 (0/56 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2857 Program log:   Manager Shard 1: weight 3571 Program log:   Manager Shard 2: weight 2500 Program log:   Manager Shard 3: weight 1071 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 2500 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 8662124741192604801 -> point: 4801 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2857 Program log:   Shard 1: weight 3571 Program log:   Shard 2: weight 2500 Program log:   Shard 3: weight 1071 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 4801 < cumulative 2857 ? Program log: 🎲 DEBUG: Shard 1 - point 4801 < cumulative 6428 ? Program log: 🎲 Selected shard 1 (weight: 3571, point: 4801, cumulative: 6428) 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: 56, 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 10: 10000010, bit 7 -> position 87 Program log: ✅ NFT ID: 568 = (shard 2 × size 240) + bit 87 + 1 Program log: 📊 Final phase check: remaining_after=55, winner_count=80, current winners=24 Program log: 🎯 Setting winner at position 56 (remaining NFTs: 55) Program log: ℹ️ NFT ID Calculation: 568 = (2 × 240) + 87 + 1 Program log: 🏆 NFT 2pMcRqB9SPnWKA7p5EGbF3dv4g385vftbrQm87uGF5jX is a winner! (ID: 568, 25/80) Program log: 🆔 Using NFT ID 568 for winner (shard: 2, position: 87) Program log: 🏆 Adding winner mint 2pMcRqB9SPnWKA7p5EGbF3dv4g385vftbrQm87uGF5jX with NFT ID 568 Program log: 🏆 CORRECT Order: NFT ID 568 gets lower place = array index 55 (position 56) Program log: ✅ Added NFT ID 568 at position 56 (first eliminated = last place) Program log: 💰 Winner added with ID 568: Current winners: 25/80 Program log: 🔍 Checking bit: position=87, byte[10] bit[7] = true Program log:    Byte value: 10000010 Program log: 🗑️  Clearing active bit: position=87, byte[10] bit[7] Program log:    Before: 10000010 Program log:    After:  00000010 Program log: 
💥 Eliminated positions in shard 2: [87] Program log: Final shard active count: 13 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 110284 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success