?
                  
                  
                  
                  
                  
                  Based on the extremely high gas fee estimationby metamask, i believe the code could be going into an infinite loop.
                  
                  
                  
                  
                  
                  But i can point of exactly where
                  
                  
                
Usually it's not something like that. It's something like external contract which it can't estimate, or a dynamic array which it doesn't know how many elements there will be
Обсуждают сегодня