SXwnpzTMQtGHYhhG9uATB912H3NupFT6tag6QG97nfB
63D2hkPqYEvafWSo3JPgMshj9rCRgF1ADLUHx57hJwv3
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: 11 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 391943818: [153, 56, 239, 118, 244, 189, 246, 64] Program log: 🔒 Got REAL block hash randomness: [153, 56, 239, 118, 244, 189, 246, 64] Program log: Random bytes: [153, 56, 239, 118, 244, 189, 246, 64] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 11 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 8 active NFTs Program log:   Manager Shard 1: 11 active NFTs Program log:   Manager Shard 2: 2 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 3200 (8/25 NFTs = 32.00%) Program log: Shard 1 weight updated to 4400 (11/25 NFTs = 44.00%) Program log: Shard 2 weight updated to 800 (2/25 NFTs = 8.00%) Program log: Shard 3 weight updated to 1600 (4/25 NFTs = 16.00%) Program log: Shard 4 weight updated to 0 (0/25 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3200 Program log:   Manager Shard 1: weight 4400 Program log:   Manager Shard 2: weight 800 Program log:   Manager Shard 3: weight 1600 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 4400 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 11550183627843628098 -> point: 8098 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3200 Program log:   Shard 1: weight 4400 Program log:   Shard 2: weight 800 Program log:   Shard 3: weight 1600 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8098 < cumulative 3200 ? Program log: 🎲 DEBUG: Shard 1 - point 8098 < cumulative 7600 ? Program log: 🎲 DEBUG: Shard 2 - point 8098 < cumulative 8400 ? Program log: 🎲 Selected shard 2 (weight: 800, point: 8098, cumulative: 8400) Program log: 🧪 TEST MODE: Weight-based selection chose shard 2 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 2 but processing shard 1 (client-controlled) Program log: Total active: 25, 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 5: 00000100, bit 2 -> position 42 Program log: ✅ NFT ID: 283 = (shard 1 × size 240) + bit 42 + 1 Program log: 📊 Final phase check: remaining_after=24, winner_count=80, current winners=55 Program log: 🎯 Setting winner at position 25 (remaining NFTs: 24) Program log: ℹ️ NFT ID Calculation: 283 = (1 × 240) + 42 + 1 Program log: 🏆 NFT HMvZArcV73Cu6pTTRehegDUNutBNUNGYKfp7WtVrKrim is a winner! (ID: 283, 56/80) Program log: 🆔 Using NFT ID 283 for winner (shard: 1, position: 42) Program log: 🏆 Adding winner mint HMvZArcV73Cu6pTTRehegDUNutBNUNGYKfp7WtVrKrim with NFT ID 283 Program log: 🏆 CORRECT Order: NFT ID 283 gets lower place = array index 24 (position 25) Program log: ✅ Added NFT ID 283 at position 25 (first eliminated = last place) Program log: 💰 Winner added with ID 283: Current winners: 56/80 Program log: 🔍 Checking bit: position=42, byte[5] bit[2] = true Program log:    Byte value: 00000100 Program log: 🗑️  Clearing active bit: position=42, byte[5] bit[2] Program log:    Before: 00000100 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 1: [42] Program log: Final shard active count: 10 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 119151 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success