EYewhaT3QzKwjCka6or5rrH6bsexy5RuB8SqbYiME4Br
AfjMG7knryYrfgFbJLUHgVXgxsY1HH8Zp42997zLGoBS
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: 10 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 391943871: [183, 250, 49, 133, 234, 4, 77, 50] Program log: 🔒 Got REAL block hash randomness: [183, 250, 49, 133, 234, 4, 77, 50] Program log: Random bytes: [183, 250, 49, 133, 234, 4, 77, 50] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 10 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 7 active NFTs Program log:   Manager Shard 1: 10 active NFTs Program log:   Manager Shard 2: 1 active NFTs Program log:   Manager Shard 3: 4 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 3181 (7/22 NFTs = 31.81%) Program log: Shard 1 weight updated to 4545 (10/22 NFTs = 45.45%) Program log: Shard 2 weight updated to 454 (1/22 NFTs = 4.54%) Program log: Shard 3 weight updated to 1818 (4/22 NFTs = 18.18%) Program log: Shard 4 weight updated to 0 (0/22 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3181 Program log:   Manager Shard 1: weight 4545 Program log:   Manager Shard 2: weight 454 Program log:   Manager Shard 3: weight 1818 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 4545 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 3185266534096823801 -> point: 3801 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3181 Program log:   Shard 1: weight 4545 Program log:   Shard 2: weight 454 Program log:   Shard 3: weight 1818 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 3801 < cumulative 3181 ? Program log: 🎲 DEBUG: Shard 1 - point 3801 < cumulative 7726 ? Program log: 🎲 Selected shard 1 (weight: 4545, point: 3801, cumulative: 7726) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 1 (client-controlled) Program log: Total active: 22, 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 14: 01000000, bit 6 -> position 118 Program log: ✅ NFT ID: 359 = (shard 1 × size 240) + bit 118 + 1 Program log: 📊 Final phase check: remaining_after=21, winner_count=80, current winners=58 Program log: 🎯 Setting winner at position 22 (remaining NFTs: 21) Program log: ℹ️ NFT ID Calculation: 359 = (1 × 240) + 118 + 1 Program log: 🏆 NFT AaNecMhCSWtQSca5BLmUo7yWzFELv6ERrsMQfrxPpvPq is a winner! (ID: 359, 59/80) Program log: 🆔 Using NFT ID 359 for winner (shard: 1, position: 118) Program log: 🏆 Adding winner mint AaNecMhCSWtQSca5BLmUo7yWzFELv6ERrsMQfrxPpvPq with NFT ID 359 Program log: 🏆 CORRECT Order: NFT ID 359 gets lower place = array index 21 (position 22) Program log: ✅ Added NFT ID 359 at position 22 (first eliminated = last place) Program log: 💰 Winner added with ID 359: Current winners: 59/80 Program log: 🔍 Checking bit: position=118, byte[14] bit[6] = true Program log:    Byte value: 01000000 Program log: 🗑️  Clearing active bit: position=118, byte[14] bit[6] Program log:    Before: 01000000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 1: [118] Program log: Final shard active count: 9 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 107809 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success