Adyw54hF6ZEsj1G2cagFACjiibYULVVKGEFhg9btSF48
Zmi25YR9hGN3tPc3LAw64RmeYNw7TP6Xq8EkdLpJyHf
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: 18 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 391941735: [240, 102, 82, 110, 188, 228, 215, 179] Program log: 🔒 Got REAL block hash randomness: [240, 102, 82, 110, 188, 228, 215, 179] Program log: Random bytes: [240, 102, 82, 110, 188, 228, 215, 179] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 18 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 15 active NFTs Program log:   Manager Shard 1: 18 active NFTs Program log:   Manager Shard 2: 10 active NFTs Program log:   Manager Shard 3: 5 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 3125 (15/48 NFTs = 31.25%) Program log: Shard 1 weight updated to 3750 (18/48 NFTs = 37.50%) Program log: Shard 2 weight updated to 2083 (10/48 NFTs = 20.83%) Program log: Shard 3 weight updated to 1041 (5/48 NFTs = 10.41%) Program log: Shard 4 weight updated to 0 (0/48 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3125 Program log:   Manager Shard 1: weight 3750 Program log:   Manager Shard 2: weight 2083 Program log:   Manager Shard 3: weight 1041 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 3750 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 1779306049556665323 -> point: 5323 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3125 Program log:   Shard 1: weight 3750 Program log:   Shard 2: weight 2083 Program log:   Shard 3: weight 1041 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 5323 < cumulative 3125 ? Program log: 🎲 DEBUG: Shard 1 - point 5323 < cumulative 6875 ? Program log: 🎲 Selected shard 1 (weight: 3750, point: 5323, cumulative: 6875) 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: 48, Winner count: 80 Program log: 🏆 FINAL PHASE: Approaching winner selection! Slowing to 1 elimination per batch. Program log: 🎲 Getting random active bit from 0 to 240 Program log:    Selected byte 15: 00001000, bit 3 -> position 123 Program log: ✅ NFT ID: 364 = (shard 1 × size 240) + bit 123 + 1 Program log: 📊 Final phase check: remaining_after=47, winner_count=80, current winners=32 Program log: 🎯 Setting winner at position 48 (remaining NFTs: 47) Program log: ℹ️ NFT ID Calculation: 364 = (1 × 240) + 123 + 1 Program log: 🏆 NFT 2xhf6vfE6jf4avttiKVBHQN4mjPD3wkmbRKhYCL8S5JH is a winner! (ID: 364, 33/80) Program log: 🆔 Using NFT ID 364 for winner (shard: 1, position: 123) Program log: 🏆 Adding winner mint 2xhf6vfE6jf4avttiKVBHQN4mjPD3wkmbRKhYCL8S5JH with NFT ID 364 Program log: 🏆 CORRECT Order: NFT ID 364 gets lower place = array index 47 (position 48) Program log: ✅ Added NFT ID 364 at position 48 (first eliminated = last place) Program log: 💰 Winner added with ID 364: Current winners: 33/80 Program log: 🔍 Checking bit: position=123, byte[15] bit[3] = true Program log:    Byte value: 00001000 Program log: 🗑️  Clearing active bit: position=123, byte[15] bit[3] Program log:    Before: 00001000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 1: [123] Program log: Final shard active count: 17 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 112149 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success