YUqyp3erufvH8kvYwjAaz5M8Vw6m8E4Zp29ZtM75L7v
8WNjW7cL2yYKbc1Y4psXgCbE6Ha93zvgg9Cgipikqd8B
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: 21 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 391941238: [184, 201, 25, 23, 157, 226, 103, 229] Program log: 🔒 Got REAL block hash randomness: [184, 201, 25, 23, 157, 226, 103, 229] Program log: Random bytes: [184, 201, 25, 23, 157, 226, 103, 229] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 0 active count: 21 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 21 active NFTs Program log:   Manager Shard 1: 27 active NFTs Program log:   Manager Shard 2: 23 active NFTs Program log:   Manager Shard 3: 6 active NFTs Program log:   Manager Shard 4: 0 active NFTs Program log: Shard 0 weight updated to 2727 (21/77 NFTs = 27.27%) Program log: Shard 1 weight updated to 3506 (27/77 NFTs = 35.06%) Program log: Shard 2 weight updated to 2987 (23/77 NFTs = 29.87%) Program log: Shard 3 weight updated to 779 (6/77 NFTs = 7.79%) Program log: Shard 4 weight updated to 0 (0/77 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 2727 Program log:   Manager Shard 1: weight 3506 Program log:   Manager Shard 2: weight 2987 Program log:   Manager Shard 3: weight 779 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 0 weight to 2727 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 6337700993180399725 -> point: 9725 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 2727 Program log:   Shard 1: weight 3506 Program log:   Shard 2: weight 2987 Program log:   Shard 3: weight 779 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 9725 < cumulative 2727 ? Program log: 🎲 DEBUG: Shard 1 - point 9725 < cumulative 6233 ? Program log: 🎲 DEBUG: Shard 2 - point 9725 < cumulative 9220 ? Program log: 🎲 DEBUG: Shard 3 - point 9725 < cumulative 9999 ? Program log: 🎲 Selected shard 3 (weight: 779, point: 9725, cumulative: 9999) Program log: 🧪 TEST MODE: Weight-based selection chose shard 3 (randomness from slot) Program log: 🧪 TEST MODE: Contract calculated shard 3 but processing shard 0 (client-controlled) Program log: Total active: 77, 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 1: 00100000, bit 5 -> position 13 Program log: ✅ NFT ID: 14 = (shard 0 × size 240) + bit 13 + 1 Program log: 📊 Final phase check: remaining_after=76, winner_count=80, current winners=3 Program log: 🎯 Setting winner at position 77 (remaining NFTs: 76) Program log: ℹ️ NFT ID Calculation: 14 = (0 × 240) + 13 + 1 Program log: 🏆 NFT 9wBzFZj8wUSjEwV4ataTNb7VoKbfnSwJdyYy6wcjd1ud is a winner! (ID: 14, 4/80) Program log: 🆔 Using NFT ID 14 for winner (shard: 0, position: 13) Program log: 🏆 Adding winner mint 9wBzFZj8wUSjEwV4ataTNb7VoKbfnSwJdyYy6wcjd1ud with NFT ID 14 Program log: 🏆 CORRECT Order: NFT ID 14 gets lower place = array index 76 (position 77) Program log: ✅ Added NFT ID 14 at position 77 (first eliminated = last place) Program log: 💰 Winner added with ID 14: Current winners: 4/80 Program log: 🔍 Checking bit: position=13, byte[1] bit[5] = true Program log:    Byte value: 00100000 Program log: 🗑️  Clearing active bit: position=13, byte[1] bit[5] Program log:    Before: 00100000 Program log:    After:  00000000 Program log: 
💥 Eliminated positions in shard 0: [13] Program log: Final shard active count: 20 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 108273 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success