GHe8fcU3gp3pGLDWcjVpHqmg9e9bh9wYVNBB2TTu7xyK
AbmUm9R4BmRXK1JHi29AEKmgNZqT3V5U4DYYD8qby7dC
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 391941635: [89, 149, 115, 1, 38, 138, 73, 183] Program log: 🔒 Got REAL block hash randomness: [89, 149, 115, 1, 38, 138, 73, 183] Program log: Random bytes: [89, 149, 115, 1, 38, 138, 73, 183] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 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: 12 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 2962 (16/54 NFTs = 29.62%) Program log: Shard 1 weight updated to 3703 (20/54 NFTs = 37.03%) Program log: Shard 2 weight updated to 2222 (12/54 NFTs = 22.22%) Program log: Shard 3 weight updated to 1111 (6/54 NFTs = 11.11%) Program log: Shard 4 weight updated to 0 (0/54 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2962 Program log:   Manager Shard 1: weight 3703 Program log:   Manager Shard 2: weight 2222 Program log:   Manager Shard 3: weight 1111 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 2962 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 7832849206917356642 -> point: 6642 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2962 Program log:   Shard 1: weight 3703 Program log:   Shard 2: weight 2222 Program log:   Shard 3: weight 1111 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 6642 < cumulative 2962 ? Program log: 🎲 DEBUG: Shard 1 - point 6642 < cumulative 6665 ? Program log: 🎲 Selected shard 1 (weight: 3703, point: 6642, cumulative: 6665) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 0 (client-controlled) Program log: Total active: 54, 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 16: 01000010, bit 1 -> position 129 Program log: ✅ NFT ID: 130 = (shard 0 × size 240) + bit 129 + 1 Program log: 📊 Final phase check: remaining_after=53, winner_count=80, current winners=26 Program log: 🎯 Setting winner at position 54 (remaining NFTs: 53) Program log: ℹ️ NFT ID Calculation: 130 = (0 × 240) + 129 + 1 Program log: 🏆 NFT GT4NLmuURS14yWHHpvq5RunJFThm8J1MSehEUkXMUppc is a winner! (ID: 130, 27/80) Program log: 🆔 Using NFT ID 130 for winner (shard: 0, position: 129) Program log: 🏆 Adding winner mint GT4NLmuURS14yWHHpvq5RunJFThm8J1MSehEUkXMUppc with NFT ID 130 Program log: 🏆 CORRECT Order: NFT ID 130 gets lower place = array index 53 (position 54) Program log: ✅ Added NFT ID 130 at position 54 (first eliminated = last place) Program log: 💰 Winner added with ID 130: Current winners: 27/80 Program log: 🔍 Checking bit: position=129, byte[16] bit[1] = true Program log:    Byte value: 01000010 Program log: 🗑️  Clearing active bit: position=129, byte[16] bit[1] Program log:    Before: 01000010 Program log:    After:  01000000 Program log: 
💥 Eliminated positions in shard 0: [129] Program log: Final shard active count: 15 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 108151 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success