FUwrCkRNEbwe3TqvMmnWDQGYH9N2nUj9zRS62BRdupe1
9qFWfA6m1ZgnGG4m6Q7a3R1bj6kX6mjcoyDAzae3F8YC
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: 9 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 391943888: [198, 126, 198, 158, 177, 138, 180, 104] Program log: 🔒 Got REAL block hash randomness: [198, 126, 198, 158, 177, 138, 180, 104] Program log: Random bytes: [198, 126, 198, 158, 177, 138, 180, 104] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 9 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 7 active NFTs Program log:   Manager Shard 1: 9 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 3333 (7/21 NFTs = 33.33%) Program log: Shard 1 weight updated to 4285 (9/21 NFTs = 42.85%) Program log: Shard 2 weight updated to 476 (1/21 NFTs = 4.76%) Program log: Shard 3 weight updated to 1904 (4/21 NFTs = 19.04%) Program log: Shard 4 weight updated to 0 (0/21 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3333 Program log:   Manager Shard 1: weight 4285 Program log:   Manager Shard 2: weight 476 Program log:   Manager Shard 3: weight 1904 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 4285 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 8502485632933058593 -> point: 8593 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3333 Program log:   Shard 1: weight 4285 Program log:   Shard 2: weight 476 Program log:   Shard 3: weight 1904 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8593 < cumulative 3333 ? Program log: 🎲 DEBUG: Shard 1 - point 8593 < cumulative 7618 ? Program log: 🎲 DEBUG: Shard 2 - point 8593 < cumulative 8094 ? Program log: 🎲 DEBUG: Shard 3 - point 8593 < cumulative 9998 ? Program log: 🎲 Selected shard 3 (weight: 1904, point: 8593, cumulative: 9998) Program log: 🧪 TEST MODE: Weight-based selection chose shard 3 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 3 but processing shard 1 (client-controlled) Program log: Total active: 21, 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 13: 00000010, bit 1 -> position 105 Program log: ✅ NFT ID: 346 = (shard 1 × size 240) + bit 105 + 1 Program log: 📊 Final phase check: remaining_after=20, winner_count=80, current winners=59 Program log: 🎯 Setting winner at position 21 (remaining NFTs: 20) Program log: ℹ️ NFT ID Calculation: 346 = (1 × 240) + 105 + 1 Program log: 🏆 NFT 3z6Pvd7LypdZZMCduVroZLoFhsSRf7hZJnmd3m4jK1B6 is a winner! (ID: 346, 60/80) Program log: 🆔 Using NFT ID 346 for winner (shard: 1, position: 105) Program log: 🏆 Adding winner mint 3z6Pvd7LypdZZMCduVroZLoFhsSRf7hZJnmd3m4jK1B6 with NFT ID 346 Program log: 🏆 CORRECT Order: NFT ID 346 gets lower place = array index 20 (position 21) Program log: ✅ Added NFT ID 346 at position 21 (first eliminated = last place) Program log: 💰 Winner added with ID 346: Current winners: 60/80 Program log: 🔍 Checking bit: position=105, byte[13] bit[1] = true Program log:    Byte value: 00000010 Program log: 🗑️  Clearing active bit: position=105, byte[13] bit[1] Program log:    Before: 00000010 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 1: [105] Program log: Final shard active count: 8 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 111529 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success