reference https://github.com/Snowfork/snowbridge/pull/1367/files#diff-c7091a137dad0a520bfed639823c73d57009391b272865437e97fa4985c53aaeR54