4xqs8PBwmcQLGVMR7hMwFmpyW6146ZwT1kVwzZ92jpJP
2EvoUHzv6VDV6G911AcU2LgnyEi2cfbzQnUTuS9nuBAq
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: 16 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 391941562: [148, 242, 209, 0, 33, 187, 128, 14] Program log: 🔒 Got REAL block hash randomness: [148, 242, 209, 0, 33, 187, 128, 14] Program log: Random bytes: [148, 242, 209, 0, 33, 187, 128, 14] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 16 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: 16 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 2758 (16/58 NFTs = 27.58%) Program log: Shard 1 weight updated to 3448 (20/58 NFTs = 34.48%) Program log: Shard 2 weight updated to 2758 (16/58 NFTs = 27.58%) Program log: Shard 3 weight updated to 1034 (6/58 NFTs = 10.34%) Program log: Shard 4 weight updated to 0 (0/58 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2758 Program log:   Manager Shard 1: weight 3448 Program log:   Manager Shard 2: weight 2758 Program log:   Manager Shard 3: weight 1034 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 2758 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 6336745070529627672 -> point: 7672 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2758 Program log:   Shard 1: weight 3448 Program log:   Shard 2: weight 2758 Program log:   Shard 3: weight 1034 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 7672 < cumulative 2758 ? Program log: 🎲 DEBUG: Shard 1 - point 7672 < cumulative 6206 ? Program log: 🎲 DEBUG: Shard 2 - point 7672 < cumulative 8964 ? Program log: 🎲 Selected shard 2 (weight: 2758, point: 7672, cumulative: 8964) Program log: 🧪 TEST MODE: Weight-based selection chose shard 2 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 2 but processing shard 2 (client-controlled) Program log: Total active: 58, 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 15: 00000001, bit 0 -> position 120 Program log: ✅ NFT ID: 601 = (shard 2 × size 240) + bit 120 + 1 Program log: 📊 Final phase check: remaining_after=57, winner_count=80, current winners=22 Program log: 🎯 Setting winner at position 58 (remaining NFTs: 57) Program log: ℹ️ NFT ID Calculation: 601 = (2 × 240) + 120 + 1 Program log: 🏆 NFT E4AZCHPDjkcw3VHhMkqJzYqLdmNf6w5XeuifqYRSftKa is a winner! (ID: 601, 23/80) Program log: 🆔 Using NFT ID 601 for winner (shard: 2, position: 120) Program log: 🏆 Adding winner mint E4AZCHPDjkcw3VHhMkqJzYqLdmNf6w5XeuifqYRSftKa with NFT ID 601 Program log: 🏆 CORRECT Order: NFT ID 601 gets lower place = array index 57 (position 58) Program log: ✅ Added NFT ID 601 at position 58 (first eliminated = last place) Program log: 💰 Winner added with ID 601: Current winners: 23/80 Program log: 🔍 Checking bit: position=120, byte[15] bit[0] = true Program log:    Byte value: 00000001 Program log: 🗑️  Clearing active bit: position=120, byte[15] bit[0] Program log:    Before: 00000001 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 2: [120] Program log: Final shard active count: 15 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 107881 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success