CG3Jku6JnM7d1d9zZ2YBrZkmBv5uWXMXg28Ez6W3cv5r
DqjogPSisW4GTcTXJa57zBsLAYmfzsHk9KAx6mWgXD1v
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: 7 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 391941221: [55, 116, 189, 210, 58, 228, 165, 36] Program log: 🔒 Got REAL block hash randomness: [55, 116, 189, 210, 58, 228, 165, 36] Program log: Random bytes: [55, 116, 189, 210, 58, 228, 165, 36] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 3 active count: 7 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 21 active NFTs Program log:   Manager Shard 1: 27 active NFTs Program log:   Manager Shard 2: 23 active NFTs Program log:   Manager Shard 3: 7 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2692 (21/78 NFTs = 26.92%) Program log: Shard 1 weight updated to 3461 (27/78 NFTs = 34.61%) Program log: Shard 2 weight updated to 2948 (23/78 NFTs = 29.48%) Program log: Shard 3 weight updated to 897 (7/78 NFTs = 8.97%) Program log: Shard 4 weight updated to 0 (0/78 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2692 Program log:   Manager Shard 1: weight 3461 Program log:   Manager Shard 2: weight 2948 Program log:   Manager Shard 3: weight 897 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 3 weight to 897 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 13469743890654383711 -> point: 3711 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2692 Program log:   Shard 1: weight 3461 Program log:   Shard 2: weight 2948 Program log:   Shard 3: weight 897 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 3711 < cumulative 2692 ? Program log: 🎲 DEBUG: Shard 1 - point 3711 < cumulative 6153 ? Program log: 🎲 Selected shard 1 (weight: 3461, point: 3711, cumulative: 6153) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 3 (client-controlled) Program log: Total active: 78, 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 7: 01000100, bit 2 -> position 58 Program log: ✅ NFT ID: 779 = (shard 3 × size 240) + bit 58 + 1 Program log: 📊 Final phase check: remaining_after=77, winner_count=80, current winners=2 Program log: 🎯 Setting winner at position 78 (remaining NFTs: 77) Program log: ℹ️ NFT ID Calculation: 779 = (3 × 240) + 58 + 1 Program log: 🏆 NFT BcYYmSm5vYWYDQQWYL3LQgtsM2iNU4G3uCKNt3ZFM2P is a winner! (ID: 779, 3/80) Program log: 🆔 Using NFT ID 779 for winner (shard: 3, position: 58) Program log: 🏆 Adding winner mint BcYYmSm5vYWYDQQWYL3LQgtsM2iNU4G3uCKNt3ZFM2P with NFT ID 779 Program log: 🏆 CORRECT Order: NFT ID 779 gets lower place = array index 77 (position 78) Program log: ✅ Added NFT ID 779 at position 78 (first eliminated = last place) Program log: 💰 Winner added with ID 779: Current winners: 3/80 Program log: 🔍 Checking bit: position=58, byte[7] bit[2] = true Program log:    Byte value: 01000100 Program log: 🗑️  Clearing active bit: position=58, byte[7] bit[2] Program log:    Before: 01000100 Program log:    After:  01000000 Program log: 
💥 Eliminated positions in shard 3: [58] Program log: Final shard active count: 6 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 105378 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success