D9jxMunyojeEwVcmRsncUrp3C1PVRg3xuqhLhNSDvRKA
HdFhYgtA6QCLPMufEdYV93frYyB5nsWF8aWwNP1Nhd3b
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: 70 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 391935234: [216, 149, 156, 238, 161, 100, 159, 153] Program log: 🔒 Got REAL block hash randomness: [216, 149, 156, 238, 161, 100, 159, 153] Program log: Random bytes: [216, 149, 156, 238, 161, 100, 159, 153] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 2 active count: 70 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 72 active NFTs Program log:   Manager Shard 1: 71 active NFTs Program log:   Manager Shard 2: 70 active NFTs Program log:   Manager Shard 3: 30 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2962 (72/243 NFTs = 29.62%) Program log: Shard 1 weight updated to 2921 (71/243 NFTs = 29.21%) Program log: Shard 2 weight updated to 2880 (70/243 NFTs = 28.80%) Program log: Shard 3 weight updated to 1234 (30/243 NFTs = 12.34%) Program log: Shard 4 weight updated to 0 (0/243 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2962 Program log:   Manager Shard 1: weight 2921 Program log:   Manager Shard 2: weight 2880 Program log:   Manager Shard 3: weight 1234 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 2 weight to 2880 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 18028657933425745261 -> point: 5261 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2962 Program log:   Shard 1: weight 2921 Program log:   Shard 2: weight 2880 Program log:   Shard 3: weight 1234 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 5261 < cumulative 2962 ? Program log: 🎲 DEBUG: Shard 1 - point 5261 < cumulative 5883 ? Program log: 🎲 Selected shard 1 (weight: 2921, point: 5261, cumulative: 5883) 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: 243, Winner count: 80 Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 22: 10000101, bit 2 -> position 178 Program log: ✅ NFT ID: 659 = (shard 2 × size 240) + bit 178 + 1 Program log: 🔍 Checking bit: position=178, byte[22] bit[2] = true Program log:    Byte value: 10000101 Program log: 🗑️  Clearing active bit: position=178, byte[22] bit[2] Program log:    Before: 10000101 Program log:    After:  10000001 Program log: 
💥 Eliminated positions in shard 2: [178] Program log: Final shard active count: 69 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 76773 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success