9sNau5jM7zZwrVgBppM6tsbPBLNH9EfgHPSP2dx9BMq1
5Kdz5bQMEkTRQjsd42xDjFyir42AZLs6qs5W24yCdiA5
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: 42 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 391937152: [232, 73, 51, 223, 133, 238, 207, 36] Program log: 🔒 Got REAL block hash randomness: [232, 73, 51, 223, 133, 238, 207, 36] Program log: Random bytes: [232, 73, 51, 223, 133, 238, 207, 36] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 42 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 38 active NFTs Program log:   Manager Shard 1: 42 active NFTs Program log:   Manager Shard 2: 38 active NFTs Program log:   Manager Shard 3: 15 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2857 (38/133 NFTs = 28.57%) Program log: Shard 1 weight updated to 3157 (42/133 NFTs = 31.57%) Program log: Shard 2 weight updated to 2857 (38/133 NFTs = 28.57%) Program log: Shard 3 weight updated to 1127 (15/133 NFTs = 11.27%) Program log: Shard 4 weight updated to 0 (0/133 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2857 Program log:   Manager Shard 1: weight 3157 Program log:   Manager Shard 2: weight 2857 Program log:   Manager Shard 3: weight 1127 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 3157 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 16552809776964523871 -> point: 3871 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2857 Program log:   Shard 1: weight 3157 Program log:   Shard 2: weight 2857 Program log:   Shard 3: weight 1127 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 3871 < cumulative 2857 ? Program log: 🎲 DEBUG: Shard 1 - point 3871 < cumulative 6014 ? Program log: 🎲 Selected shard 1 (weight: 3157, point: 3871, cumulative: 6014) Program log: 🧪 TEST MODE: Weight-based selection chose shard 1 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 1 but processing shard 1 (client-controlled) Program log: Total active: 133, Winner count: 80 Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 19: 01001000, bit 3 -> position 155 Program log: ✅ NFT ID: 396 = (shard 1 × size 240) + bit 155 + 1 Program log: 🔍 Checking bit: position=155, byte[19] bit[3] = true Program log:    Byte value: 01001000 Program log: 🗑️  Clearing active bit: position=155, byte[19] bit[3] Program log:    Before: 01001000 Program log:    After:  01000000 Program log: 
💥 Eliminated positions in shard 1: [155] Program log: Final shard active count: 41 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 70608 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success