574gZKMk4W3WcYHJQuJA1qHqsXwYgUkYcy3nxXtiXBHs
4HeGioLWQuBN9Tnn44pygFREcmkHAGrc2oT1moxx8hzk
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: 132 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 391931712: [160, 233, 71, 194, 108, 52, 135, 104] Program log: 🔒 Got REAL block hash randomness: [160, 233, 71, 194, 108, 52, 135, 104] Program log: Random bytes: [160, 233, 71, 194, 108, 52, 135, 104] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 132 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 132 active NFTs Program log:   Manager Shard 1: 119 active NFTs Program log:   Manager Shard 2: 110 active NFTs Program log:   Manager Shard 3: 46 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 3243 (132/407 NFTs = 32.43%) Program log: Shard 1 weight updated to 2923 (119/407 NFTs = 29.23%) Program log: Shard 2 weight updated to 2702 (110/407 NFTs = 27.02%) Program log: Shard 3 weight updated to 1130 (46/407 NFTs = 11.30%) Program log: Shard 4 weight updated to 0 (0/407 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3243 Program log:   Manager Shard 1: weight 2923 Program log:   Manager Shard 2: weight 2702 Program log:   Manager Shard 3: weight 1130 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 3243 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 4430713745209978334 -> point: 8334 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3243 Program log:   Shard 1: weight 2923 Program log:   Shard 2: weight 2702 Program log:   Shard 3: weight 1130 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8334 < cumulative 3243 ? Program log: 🎲 DEBUG: Shard 1 - point 8334 < cumulative 6166 ? Program log: 🎲 DEBUG: Shard 2 - point 8334 < cumulative 8868 ? Program log: 🎲 Selected shard 2 (weight: 2702, point: 8334, cumulative: 8868) Program log: 🧪 TEST MODE: Weight-based selection chose shard 2 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 2 but processing shard 0 (client-controlled) Program log: Total active: 407, Winner count: 80 Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 5: 10101101, bit 0 -> position 40 Program log: ✅ NFT ID: 41 = (shard 0 × size 240) + bit 40 + 1 Program log: 🔍 Checking bit: position=40, byte[5] bit[0] = true Program log:    Byte value: 10101101 Program log: 🗑️  Clearing active bit: position=40, byte[5] bit[0] Program log:    Before: 10101101 Program log:    After:  10101100 Program log: 
💥 Eliminated positions in shard 0: [40] Program log: Final shard active count: 131 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 71226 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success