85LcpJGm8ADKrskBshZT7gSKCaGYvfiLkzCwvS4Sd6aj
FMf4MM9wZ6AhCNV1GpWLVL46KKfAaBiBcN8CBPaBmMix
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: 174 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 391928851: [170, 100, 50, 43, 151, 163, 121, 255] Program log: 🔒 Got REAL block hash randomness: [170, 100, 50, 43, 151, 163, 121, 255] Program log: Random bytes: [170, 100, 50, 43, 151, 163, 121, 255] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 174 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 174 active NFTs Program log:   Manager Shard 1: 165 active NFTs Program log:   Manager Shard 2: 171 active NFTs Program log:   Manager Shard 3: 60 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 3052 (174/570 NFTs = 30.52%) Program log: Shard 1 weight updated to 2894 (165/570 NFTs = 28.94%) Program log: Shard 2 weight updated to 3000 (171/570 NFTs = 30.00%) Program log: Shard 3 weight updated to 1052 (60/570 NFTs = 10.52%) Program log: Shard 4 weight updated to 0 (0/570 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3052 Program log:   Manager Shard 1: weight 2894 Program log:   Manager Shard 2: weight 3000 Program log:   Manager Shard 3: weight 1052 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 3052 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 3144927087229253454 -> point: 3454 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3052 Program log:   Shard 1: weight 2894 Program log:   Shard 2: weight 3000 Program log:   Shard 3: weight 1052 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 3454 < cumulative 3052 ? Program log: 🎲 DEBUG: Shard 1 - point 3454 < cumulative 5946 ? Program log: 🎲 Selected shard 1 (weight: 2894, point: 3454, cumulative: 5946) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 0 (client-controlled) Program log: Total active: 570, Winner count: 80 Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 18: 11111001, bit 0 -> position 144 Program log: ✅ NFT ID: 145 = (shard 0 × size 240) + bit 144 + 1 Program log: 🔍 Checking bit: position=144, byte[18] bit[0] = true Program log:    Byte value: 11111001 Program log: 🗑️  Clearing active bit: position=144, byte[18] bit[0] Program log:    Before: 11111001 Program log:    After:  11111000 Program log: 
💥 Eliminated positions in shard 0: [144] Program log: Final shard active count: 173 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 74985 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success