8GvTaZqgjyCffyaSrqqbN26Gm7He3p1Ug7nxnX9zEfWc
2a2gyhRCPinhSezfjjZPGqYwvcdGvxcuL9TyVN8P7fio
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: 17 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 391941493: [117, 105, 179, 124, 175, 215, 37, 169] Program log: 🔒 Got REAL block hash randomness: [117, 105, 179, 124, 175, 215, 37, 169] Program log: Random bytes: [117, 105, 179, 124, 175, 215, 37, 169] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 17 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 17 active NFTs Program log:   Manager Shard 1: 22 active NFTs Program log:   Manager Shard 2: 17 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 2741 (17/62 NFTs = 27.41%) Program log: Shard 1 weight updated to 3548 (22/62 NFTs = 35.48%) Program log: Shard 2 weight updated to 2741 (17/62 NFTs = 27.41%) Program log: Shard 3 weight updated to 967 (6/62 NFTs = 9.67%) Program log: Shard 4 weight updated to 0 (0/62 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2741 Program log:   Manager Shard 1: weight 3548 Program log:   Manager Shard 2: weight 2741 Program log:   Manager Shard 3: weight 967 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 2741 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 15478801069038302481 -> point: 2481 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2741 Program log:   Shard 1: weight 3548 Program log:   Shard 2: weight 2741 Program log:   Shard 3: weight 967 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 2481 < cumulative 2741 ? Program log: 🎲 Selected shard 0 (weight: 2741, point: 2481, cumulative: 2741) 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: 62, 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 23: 00010000, bit 4 -> position 188 Program log: ✅ NFT ID: 189 = (shard 0 × size 240) + bit 188 + 1 Program log: 📊 Final phase check: remaining_after=61, winner_count=80, current winners=18 Program log: 🎯 Setting winner at position 62 (remaining NFTs: 61) Program log: ℹ️ NFT ID Calculation: 189 = (0 × 240) + 188 + 1 Program log: 🏆 NFT BQCxs8rbPWB9Gp27u2NuGSAAwPa88MJhcx6fNtbt88PD is a winner! (ID: 189, 19/80) Program log: 🆔 Using NFT ID 189 for winner (shard: 0, position: 188) Program log: 🏆 Adding winner mint BQCxs8rbPWB9Gp27u2NuGSAAwPa88MJhcx6fNtbt88PD with NFT ID 189 Program log: 🏆 CORRECT Order: NFT ID 189 gets lower place = array index 61 (position 62) Program log: ✅ Added NFT ID 189 at position 62 (first eliminated = last place) Program log: 💰 Winner added with ID 189: Current winners: 19/80 Program log: 🔍 Checking bit: position=188, byte[23] bit[4] = true Program log:    Byte value: 00010000 Program log: 🗑️  Clearing active bit: position=188, byte[23] bit[4] Program log:    Before: 00010000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 0: [188] Program log: Final shard active count: 16 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 106213 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success