C9vjWqiyYH6e2VyG4NrYb4H6c8gPjNyG2DkvJTo6monC
4Ev582Uht9rNLWoadNoVQFi8nNVvhnPbZ85DKpreG6vB
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: 2 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 391947474: [225, 18, 189, 171, 53, 69, 245, 51] Program log: 🔒 Got REAL block hash randomness: [225, 18, 189, 171, 53, 69, 245, 51] Program log: Random bytes: [225, 18, 189, 171, 53, 69, 245, 51] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 3 active count: 2 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 5 active NFTs Program log:   Manager Shard 1: 3 active NFTs Program log:   Manager Shard 2: 0 active NFTs Program log:   Manager Shard 3: 2 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 5000 (5/10 NFTs = 50.00%) Program log: Shard 1 weight updated to 3000 (3/10 NFTs = 30.00%) Program log: Shard 2 weight updated to 0 (0/10 NFTs = 0.00%) Program log: Shard 3 weight updated to 2000 (2/10 NFTs = 20.00%) Program log: Shard 4 weight updated to 0 (0/10 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 5000 Program log:   Manager Shard 1: weight 3000 Program log:   Manager Shard 2: weight 0 Program log:   Manager Shard 3: weight 2000 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 3 weight to 2000 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 6953038323533711769 -> point: 1769 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 5000 Program log:   Shard 1: weight 3000 Program log:   Shard 2: weight 0 Program log:   Shard 3: weight 2000 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 1769 < cumulative 5000 ? Program log: 🎲 Selected shard 0 (weight: 5000, point: 1769, cumulative: 5000) Program log: 🧪 TEST MODE: Weight-based selection chose shard 0 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 0 but processing shard 3 (client-controlled) Program log: Total active: 10, 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 8: 00100000, bit 5 -> position 69 Program log: ✅ NFT ID: 790 = (shard 3 × size 240) + bit 69 + 1 Program log: 📊 Final phase check: remaining_after=9, winner_count=80, current winners=70 Program log: 🎯 Setting winner at position 10 (remaining NFTs: 9) Program log: ℹ️ NFT ID Calculation: 790 = (3 × 240) + 69 + 1 Program log: 🏆 NFT ExJPAEa32QwUGC9MdgSwZ7M7fjhT9NgFKRBarAZ7Gfwy is a winner! (ID: 790, 71/80) Program log: 🆔 Using NFT ID 790 for winner (shard: 3, position: 69) Program log: 🏆 Adding winner mint ExJPAEa32QwUGC9MdgSwZ7M7fjhT9NgFKRBarAZ7Gfwy with NFT ID 790 Program log: 🏆 CORRECT Order: NFT ID 790 gets lower place = array index 9 (position 10) Program log: ✅ Added NFT ID 790 at position 10 (first eliminated = last place) Program log: 💰 Winner added with ID 790: Current winners: 71/80 Program log: 🔍 Checking bit: position=69, byte[8] bit[5] = true Program log:    Byte value: 00100000 Program log: 🗑️  Clearing active bit: position=69, byte[8] bit[5] Program log:    Before: 00100000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 3: [69] Program log: Final shard active count: 1 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 107839 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success