3min95gnhebTb5r2y9qD9tWB4DCLWYAehFNn6uTZkmHC
DMyqzGziS782pcSu8ty2pk3jHsWa1iX5aYX78GMG3mrp
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: 15 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 391941922: [206, 231, 92, 39, 94, 155, 232, 21] Program log: 🔒 Got REAL block hash randomness: [206, 231, 92, 39, 94, 155, 232, 21] Program log: Random bytes: [206, 231, 92, 39, 94, 155, 232, 21] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 15 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 12 active NFTs Program log:   Manager Shard 1: 15 active NFTs Program log:   Manager Shard 2: 5 active NFTs Program log:   Manager Shard 3: 5 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 3243 (12/37 NFTs = 32.43%) Program log: Shard 1 weight updated to 4054 (15/37 NFTs = 40.54%) Program log: Shard 2 weight updated to 1351 (5/37 NFTs = 13.51%) Program log: Shard 3 weight updated to 1351 (5/37 NFTs = 13.51%) Program log: Shard 4 weight updated to 0 (0/37 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3243 Program log:   Manager Shard 1: weight 4054 Program log:   Manager Shard 2: weight 1351 Program log:   Manager Shard 3: weight 1351 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 4054 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 342920840046039538 -> point: 9538 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3243 Program log:   Shard 1: weight 4054 Program log:   Shard 2: weight 1351 Program log:   Shard 3: weight 1351 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 9538 < cumulative 3243 ? Program log: 🎲 DEBUG: Shard 1 - point 9538 < cumulative 7297 ? Program log: 🎲 DEBUG: Shard 2 - point 9538 < cumulative 8648 ? Program log: 🎲 DEBUG: Shard 3 - point 9538 < cumulative 9999 ? Program log: 🎲 Selected shard 3 (weight: 1351, point: 9538, cumulative: 9999) 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: 37, 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 16: 10000000, bit 7 -> position 135 Program log: ✅ NFT ID: 376 = (shard 1 × size 240) + bit 135 + 1 Program log: 📊 Final phase check: remaining_after=36, winner_count=80, current winners=43 Program log: 🎯 Setting winner at position 37 (remaining NFTs: 36) Program log: ℹ️ NFT ID Calculation: 376 = (1 × 240) + 135 + 1 Program log: 🏆 NFT 53CG6DLuW8Xh648nzKQPntswKShSfdAHXPHo5TXKZRHZ is a winner! (ID: 376, 44/80) Program log: 🆔 Using NFT ID 376 for winner (shard: 1, position: 135) Program log: 🏆 Adding winner mint 53CG6DLuW8Xh648nzKQPntswKShSfdAHXPHo5TXKZRHZ with NFT ID 376 Program log: 🏆 CORRECT Order: NFT ID 376 gets lower place = array index 36 (position 37) Program log: ✅ Added NFT ID 376 at position 37 (first eliminated = last place) Program log: 💰 Winner added with ID 376: Current winners: 44/80 Program log: 🔍 Checking bit: position=135, byte[16] bit[7] = true Program log:    Byte value: 10000000 Program log: 🗑️  Clearing active bit: position=135, byte[16] bit[7] Program log:    Before: 10000000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 1: [135] Program log: Final shard active count: 14 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 109688 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success