GTe2cnUAwxdj7bVPGvZ3RUChuLnLc9U7W6YLw4VeGsT1
GV5ywqyJ6tpPxefoYsiAcdrKg7bkrbVLwS67NmG6JbyX
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: 23 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 391941458: [203, 164, 36, 94, 34, 232, 175, 198] Program log: 🔒 Got REAL block hash randomness: [203, 164, 36, 94, 34, 232, 175, 198] Program log: Random bytes: [203, 164, 36, 94, 34, 232, 175, 198] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 23 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 17 active NFTs Program log:   Manager Shard 1: 23 active NFTs Program log:   Manager Shard 2: 18 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 2656 (17/64 NFTs = 26.56%) Program log: Shard 1 weight updated to 3593 (23/64 NFTs = 35.93%) Program log: Shard 2 weight updated to 2812 (18/64 NFTs = 28.12%) Program log: Shard 3 weight updated to 937 (6/64 NFTs = 9.37%) Program log: Shard 4 weight updated to 0 (0/64 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2656 Program log:   Manager Shard 1: weight 3593 Program log:   Manager Shard 2: weight 2812 Program log:   Manager Shard 3: weight 937 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 3593 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 11411353372598198786 -> point: 8786 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2656 Program log:   Shard 1: weight 3593 Program log:   Shard 2: weight 2812 Program log:   Shard 3: weight 937 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8786 < cumulative 2656 ? Program log: 🎲 DEBUG: Shard 1 - point 8786 < cumulative 6249 ? Program log: 🎲 DEBUG: Shard 2 - point 8786 < cumulative 9061 ? Program log: 🎲 Selected shard 2 (weight: 2812, point: 8786, cumulative: 9061) Program log: 🧪 TEST MODE: Weight-based selection chose shard 2 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 2 but processing shard 1 (client-controlled) Program log: Total active: 64, 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: 00001010, bit 1 -> position 121 Program log: ✅ NFT ID: 362 = (shard 1 × size 240) + bit 121 + 1 Program log: 📊 Final phase check: remaining_after=63, winner_count=80, current winners=16 Program log: 🎯 Setting winner at position 64 (remaining NFTs: 63) Program log: ℹ️ NFT ID Calculation: 362 = (1 × 240) + 121 + 1 Program log: 🏆 NFT H8V4b8huoP6GMbj1zrGgGWQDdS6funfb7HoyycWTJiZs is a winner! (ID: 362, 17/80) Program log: 🆔 Using NFT ID 362 for winner (shard: 1, position: 121) Program log: 🏆 Adding winner mint H8V4b8huoP6GMbj1zrGgGWQDdS6funfb7HoyycWTJiZs with NFT ID 362 Program log: 🏆 CORRECT Order: NFT ID 362 gets lower place = array index 63 (position 64) Program log: ✅ Added NFT ID 362 at position 64 (first eliminated = last place) Program log: 💰 Winner added with ID 362: Current winners: 17/80 Program log: 🔍 Checking bit: position=121, byte[15] bit[1] = true Program log:    Byte value: 00001010 Program log: 🗑️  Clearing active bit: position=121, byte[15] bit[1] Program log:    Before: 00001010 Program log:    After:  00001000 Program log: 
💥 Eliminated positions in shard 1: [121] Program log: Final shard active count: 22 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 109335 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success