BMV8kaKeiuAMNaqBL3zbX1Msgv9tDqPEvxGiHwYJ89W2
4jUwbPRpF367hjmrvXtSTvPuWEsWHwa5bWBFtnqaLSYL
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: 20 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 391941255: [131, 77, 51, 193, 14, 240, 164, 61] Program log: 🔒 Got REAL block hash randomness: [131, 77, 51, 193, 14, 240, 164, 61] Program log: Random bytes: [131, 77, 51, 193, 14, 240, 164, 61] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 20 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 20 active NFTs Program log:   Manager Shard 1: 27 active NFTs Program log:   Manager Shard 2: 23 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 2631 (20/76 NFTs = 26.31%) Program log: Shard 1 weight updated to 3552 (27/76 NFTs = 35.52%) Program log: Shard 2 weight updated to 3026 (23/76 NFTs = 30.26%) Program log: Shard 3 weight updated to 789 (6/76 NFTs = 7.89%) Program log: Shard 4 weight updated to 0 (0/76 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2631 Program log:   Manager Shard 1: weight 3552 Program log:   Manager Shard 2: weight 3026 Program log:   Manager Shard 3: weight 789 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 2631 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 8078319229705880006 -> point: 6 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2631 Program log:   Shard 1: weight 3552 Program log:   Shard 2: weight 3026 Program log:   Shard 3: weight 789 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 6 < cumulative 2631 ? Program log: 🎲 Selected shard 0 (weight: 2631, point: 6, cumulative: 2631) Program log: 🧪 TEST MODE: Weight-based selection chose shard 0 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 0 but processing shard 0 (client-controlled) Program log: Total active: 76, 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 21: 00000010, bit 1 -> position 169 Program log: ✅ NFT ID: 170 = (shard 0 × size 240) + bit 169 + 1 Program log: 📊 Final phase check: remaining_after=75, winner_count=80, current winners=4 Program log: 🎯 Setting winner at position 76 (remaining NFTs: 75) Program log: ℹ️ NFT ID Calculation: 170 = (0 × 240) + 169 + 1 Program log: 🏆 NFT HoyPe6sfgocjB2aVXnL2JvRAvkenS6ZsC9Mw8X4BgCT8 is a winner! (ID: 170, 5/80) Program log: 🆔 Using NFT ID 170 for winner (shard: 0, position: 169) Program log: 🏆 Adding winner mint HoyPe6sfgocjB2aVXnL2JvRAvkenS6ZsC9Mw8X4BgCT8 with NFT ID 170 Program log: 🏆 CORRECT Order: NFT ID 170 gets lower place = array index 75 (position 76) Program log: ✅ Added NFT ID 170 at position 76 (first eliminated = last place) Program log: 💰 Winner added with ID 170: Current winners: 5/80 Program log: 🔍 Checking bit: position=169, byte[21] bit[1] = true Program log:    Byte value: 00000010 Program log: 🗑️  Clearing active bit: position=169, byte[21] bit[1] Program log:    Before: 00000010 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 0: [169] Program log: Final shard active count: 19 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 105851 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success