3CWMnqPbZDGRDTmkPqLcTX9ajptVQUjAegs8XfjtsPRe
2K2CCQasdKrnDpZs5CZLa1sZPr1SHZYUDSeK9sRniFgs
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: 27 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 391941288: [248, 202, 83, 169, 10, 253, 50, 21] Program log: 🔒 Got REAL block hash randomness: [248, 202, 83, 169, 10, 253, 50, 21] Program log: Random bytes: [248, 202, 83, 169, 10, 253, 50, 21] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 27 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 19 active NFTs Program log:   Manager Shard 1: 27 active NFTs Program log:   Manager Shard 2: 22 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 2567 (19/74 NFTs = 25.67%) Program log: Shard 1 weight updated to 3648 (27/74 NFTs = 36.48%) Program log: Shard 2 weight updated to 2972 (22/74 NFTs = 29.72%) Program log: Shard 3 weight updated to 810 (6/74 NFTs = 8.10%) Program log: Shard 4 weight updated to 0 (0/74 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2567 Program log:   Manager Shard 1: weight 3648 Program log:   Manager Shard 2: weight 2972 Program log:   Manager Shard 3: weight 810 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 3648 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 1426563795716781125 -> point: 1125 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2567 Program log:   Shard 1: weight 3648 Program log:   Shard 2: weight 2972 Program log:   Shard 3: weight 810 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 1125 < cumulative 2567 ? Program log: 🎲 Selected shard 0 (weight: 2567, point: 1125, cumulative: 2567) Program log: 🧪 TEST MODE: Weight-based selection chose shard 0 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 0 but processing shard 1 (client-controlled) Program log: Total active: 74, 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 0: 00010100, bit 2 -> position 2 Program log: ✅ NFT ID: 243 = (shard 1 × size 240) + bit 2 + 1 Program log: 📊 Final phase check: remaining_after=73, winner_count=80, current winners=6 Program log: 🎯 Setting winner at position 74 (remaining NFTs: 73) Program log: ℹ️ NFT ID Calculation: 243 = (1 × 240) + 2 + 1 Program log: 🏆 NFT 3fER5rURbMDYAkEs2iXnM6GeVdzXtL8jcatmiyH7xLkj is a winner! (ID: 243, 7/80) Program log: 🆔 Using NFT ID 243 for winner (shard: 1, position: 2) Program log: 🏆 Adding winner mint 3fER5rURbMDYAkEs2iXnM6GeVdzXtL8jcatmiyH7xLkj with NFT ID 243 Program log: 🏆 CORRECT Order: NFT ID 243 gets lower place = array index 73 (position 74) Program log: ✅ Added NFT ID 243 at position 74 (first eliminated = last place) Program log: 💰 Winner added with ID 243: Current winners: 7/80 Program log: 🔍 Checking bit: position=2, byte[0] bit[2] = true Program log:    Byte value: 00010100 Program log: 🗑️  Clearing active bit: position=2, byte[0] bit[2] Program log:    Before: 00010100 Program log:    After:  00010000 Program log: 
💥 Eliminated positions in shard 1: [2] Program log: Final shard active count: 26 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 104820 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success