BhdSypxynSfLh4ukkUN4YNAMqAGm4JogbP13RKw9WYMB
DVzXMSCAxZdCaQWSi6o3hBP3cxD5poBi8LzE5yvGrWzF
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: 17 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 391941511: [21, 137, 197, 103, 118, 125, 202, 129] Program log: 🔒 Got REAL block hash randomness: [21, 137, 197, 103, 118, 125, 202, 129] Program log: Random bytes: [21, 137, 197, 103, 118, 125, 202, 129] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 17 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 16 active NFTs Program log:   Manager Shard 1: 22 active NFTs Program log:   Manager Shard 2: 17 active NFTs Program log:   Manager Shard 3: 6 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2622 (16/61 NFTs = 26.22%) Program log: Shard 1 weight updated to 3606 (22/61 NFTs = 36.06%) Program log: Shard 2 weight updated to 2786 (17/61 NFTs = 27.86%) Program log: Shard 3 weight updated to 983 (6/61 NFTs = 9.83%) Program log: Shard 4 weight updated to 0 (0/61 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2622 Program log:   Manager Shard 1: weight 3606 Program log:   Manager Shard 2: weight 2786 Program log:   Manager Shard 3: weight 983 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 2786 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 10698041118290545956 -> point: 5956 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2622 Program log:   Shard 1: weight 3606 Program log:   Shard 2: weight 2786 Program log:   Shard 3: weight 983 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 5956 < cumulative 2622 ? Program log: 🎲 DEBUG: Shard 1 - point 5956 < cumulative 6228 ? Program log: 🎲 Selected shard 1 (weight: 3606, point: 5956, cumulative: 6228) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 2 (client-controlled) Program log: Total active: 61, 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 26: 01000000, bit 6 -> position 214 Program log: ✅ NFT ID: 695 = (shard 2 × size 240) + bit 214 + 1 Program log: 📊 Final phase check: remaining_after=60, winner_count=80, current winners=19 Program log: 🎯 Setting winner at position 61 (remaining NFTs: 60) Program log: ℹ️ NFT ID Calculation: 695 = (2 × 240) + 214 + 1 Program log: 🏆 NFT 2BQmdvXnDpsiWBhE2NKnqBHtX13RpJufZNQonytgokbQ is a winner! (ID: 695, 20/80) Program log: 🆔 Using NFT ID 695 for winner (shard: 2, position: 214) Program log: 🏆 Adding winner mint 2BQmdvXnDpsiWBhE2NKnqBHtX13RpJufZNQonytgokbQ with NFT ID 695 Program log: 🏆 CORRECT Order: NFT ID 695 gets lower place = array index 60 (position 61) Program log: ✅ Added NFT ID 695 at position 61 (first eliminated = last place) Program log: 💰 Winner added with ID 695: Current winners: 20/80 Program log: 🔍 Checking bit: position=214, byte[26] bit[6] = true Program log:    Byte value: 01000000 Program log: 🗑️  Clearing active bit: position=214, byte[26] bit[6] Program log:    Before: 01000000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 2: [214] Program log: Final shard active count: 16 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 108324 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success