C68uVG2U35n7Lt7THztsJiDEFLC176vb4RApvY5vK83F
Ew4tHT1HBde4kSNmpnXesCCgZMQ4TfdEwh56JTjLuxcU
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: 91 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 391934034: [156, 239, 14, 213, 111, 211, 227, 164] Program log: 🔒 Got REAL block hash randomness: [156, 239, 14, 213, 111, 211, 227, 164] Program log: Random bytes: [156, 239, 14, 213, 111, 211, 227, 164] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 91 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 91 active NFTs Program log:   Manager Shard 1: 93 active NFTs Program log:   Manager Shard 2: 90 active NFTs Program log:   Manager Shard 3: 37 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2926 (91/311 NFTs = 29.26%) Program log: Shard 1 weight updated to 2990 (93/311 NFTs = 29.90%) Program log: Shard 2 weight updated to 2893 (90/311 NFTs = 28.93%) Program log: Shard 3 weight updated to 1189 (37/311 NFTs = 11.89%) Program log: Shard 4 weight updated to 0 (0/311 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2926 Program log:   Manager Shard 1: weight 2990 Program log:   Manager Shard 2: weight 2893 Program log:   Manager Shard 3: weight 1189 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 2926 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 2949401417088528322 -> point: 8322 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2926 Program log:   Shard 1: weight 2990 Program log:   Shard 2: weight 2893 Program log:   Shard 3: weight 1189 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 8322 < cumulative 2926 ? Program log: 🎲 DEBUG: Shard 1 - point 8322 < cumulative 5916 ? Program log: 🎲 DEBUG: Shard 2 - point 8322 < cumulative 8809 ? Program log: 🎲 Selected shard 2 (weight: 2893, point: 8322, cumulative: 8809) 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: 311, Winner count: 80 Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 20: 00100011, bit 0 -> position 160 Program log: ✅ NFT ID: 161 = (shard 0 × size 240) + bit 160 + 1 Program log: 🔍 Checking bit: position=160, byte[20] bit[0] = true Program log:    Byte value: 00100011 Program log: 🗑️  Clearing active bit: position=160, byte[20] bit[0] Program log:    Before: 00100011 Program log:    After:  00100010 Program log: 
💥 Eliminated positions in shard 0: [160] Program log: Final shard active count: 90 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 72000 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success