EtirM79j9Wy44JfoMNcGaeKRfsrv6mFfYzwtDsiKCTHu
7cV3FfXFpUDfsF9qHewRyGgQpNfYCZhzSzC9jJ1HrqAK
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: 14 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 391941957: [214, 130, 5, 36, 207, 241, 229, 130] Program log: 🔒 Got REAL block hash randomness: [214, 130, 5, 36, 207, 241, 229, 130] Program log: Random bytes: [214, 130, 5, 36, 207, 241, 229, 130] Program log: 🔄 Before weight calculation - synchronizing all shard active counts Program log: 📊 Synchronized shard 1 active count: 14 Program log: 🔍 DEBUG: ShardManager state before weight calculation: Program log:   Manager Shard 0: 12 active NFTs Program log:   Manager Shard 1: 14 active NFTs Program log:   Manager Shard 2: 4 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 3428 (12/35 NFTs = 34.28%) Program log: Shard 1 weight updated to 4000 (14/35 NFTs = 40.00%) Program log: Shard 2 weight updated to 1142 (4/35 NFTs = 11.42%) Program log: Shard 3 weight updated to 1428 (5/35 NFTs = 14.28%) Program log: Shard 4 weight updated to 0 (0/35 NFTs = 0.00%) Program log: 🔍 DEBUG: ShardManager weights after calculation: Program log:   Manager Shard 0: weight 3428 Program log:   Manager Shard 1: weight 4000 Program log:   Manager Shard 2: weight 1142 Program log:   Manager Shard 3: weight 1428 Program log:   Manager Shard 4: weight 0 Program log: ✅ Updated shard 1 weight to 4000 for this elimination Program log: 🎲 DEBUG: select_random_shard called with 32 bytes Program log: 🎲 DEBUG: Mixed random: 7531688253589353699 -> point: 3699 (PRECISION: 10000) Program log: 🎲 DEBUG: Shard weights for selection: Program log:   Shard 0: weight 3428 Program log:   Shard 1: weight 4000 Program log:   Shard 2: weight 1142 Program log:   Shard 3: weight 1428 Program log:   Shard 4: weight 0 Program log: 🎲 DEBUG: Shard 0 - point 3699 < cumulative 3428 ? Program log: 🎲 DEBUG: Shard 1 - point 3699 < cumulative 7428 ? Program log: 🎲 Selected shard 1 (weight: 4000, point: 3699, cumulative: 7428) 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: 35, 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 14: 01000001, bit 0 -> position 112 Program log: ✅ NFT ID: 353 = (shard 1 × size 240) + bit 112 + 1 Program log: 📊 Final phase check: remaining_after=34, winner_count=80, current winners=45 Program log: 🎯 Setting winner at position 35 (remaining NFTs: 34) Program log: ℹ️ NFT ID Calculation: 353 = (1 × 240) + 112 + 1 Program log: 🏆 NFT 6UWyRXNptYnk4zxkSWmf7yJ11uX7NNzS27LBDB5V4sUe is a winner! (ID: 353, 46/80) Program log: 🆔 Using NFT ID 353 for winner (shard: 1, position: 112) Program log: 🏆 Adding winner mint 6UWyRXNptYnk4zxkSWmf7yJ11uX7NNzS27LBDB5V4sUe with NFT ID 353 Program log: 🏆 CORRECT Order: NFT ID 353 gets lower place = array index 34 (position 35) Program log: ✅ Added NFT ID 353 at position 35 (first eliminated = last place) Program log: 💰 Winner added with ID 353: Current winners: 46/80 Program log: 🔍 Checking bit: position=112, byte[14] bit[0] = true Program log:    Byte value: 01000001 Program log: 🗑️  Clearing active bit: position=112, byte[14] bit[0] Program log:    Before: 01000001 Program log:    After:  01000000 Program log: 
💥 Eliminated positions in shard 1: [112] Program log: Final shard active count: 13 Program log:  Elimination round 1 completed Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 consumed 107698 of 1399700 compute units Program JDYTBscYeBnDNEtx61pF8xigwM9kxLRjptqkwqr2so95 success