ZpUTNBeZ3E9GkzcXGxHKLWyejCQRZcNb3vTT2nkjwBp
DWdBbYnWZjKqz7VR3YLw6FFPEbHCqLLGFw3AK8s9mmCw
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: 19 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 391941718: [198, 166, 117, 104, 173, 44, 16, 0] Program log: 🔒 Got REAL block hash randomness: [198, 166, 117, 104, 173, 44, 16, 0] Program log: Random bytes: [198, 166, 117, 104, 173, 44, 16, 0] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 19 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 15 active NFTs Program log:   Manager Shard 1: 19 active NFTs Program log:   Manager Shard 2: 10 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 3061 (15/49 NFTs = 30.61%) Program log: Shard 1 weight updated to 3877 (19/49 NFTs = 38.77%) Program log: Shard 2 weight updated to 2040 (10/49 NFTs = 20.40%) Program log: Shard 3 weight updated to 1020 (5/49 NFTs = 10.20%) Program log: Shard 4 weight updated to 0 (0/49 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3061 Program log:   Manager Shard 1: weight 3877 Program log:   Manager Shard 2: weight 2040 Program log:   Manager Shard 3: weight 1020 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 3877 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 18049944713700828642 -> point: 8642 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3061 Program log:   Shard 1: weight 3877 Program log:   Shard 2: weight 2040 Program log:   Shard 3: weight 1020 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8642 < cumulative 3061 ? Program log: 🎲 DEBUG: Shard 1 - point 8642 < cumulative 6938 ? Program log: 🎲 DEBUG: Shard 2 - point 8642 < cumulative 8978 ? Program log: 🎲 Selected shard 2 (weight: 2040, point: 8642, cumulative: 8978) 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: 49, 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 10: 01000001, bit 0 -> position 80 Program log: ✅ NFT ID: 321 = (shard 1 × size 240) + bit 80 + 1 Program log: 📊 Final phase check: remaining_after=48, winner_count=80, current winners=31 Program log: 🎯 Setting winner at position 49 (remaining NFTs: 48) Program log: ℹ️ NFT ID Calculation: 321 = (1 × 240) + 80 + 1 Program log: 🏆 NFT DHL9ymHpCCPPHRWTcWqfXme8EyC7pm8qMsnZGeNeLNFB is a winner! (ID: 321, 32/80) Program log: 🆔 Using NFT ID 321 for winner (shard: 1, position: 80) Program log: 🏆 Adding winner mint DHL9ymHpCCPPHRWTcWqfXme8EyC7pm8qMsnZGeNeLNFB with NFT ID 321 Program log: 🏆 CORRECT Order: NFT ID 321 gets lower place = array index 48 (position 49) Program log: ✅ Added NFT ID 321 at position 49 (first eliminated = last place) Program log: 💰 Winner added with ID 321: Current winners: 32/80 Program log: 🔍 Checking bit: position=80, byte[10] bit[0] = true Program log:    Byte value: 01000001 Program log: 🗑️  Clearing active bit: position=80, byte[10] bit[0] Program log:    Before: 01000001 Program log:    After:  01000000 Program log: 
💥 Eliminated positions in shard 1: [80] Program log: Final shard active count: 18 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 107565 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success