You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the adapter instructions passed into sendMessage and quoteDeliveryPrice are encoded into bytes, which requires decoding back into an array. This follows the model used in NTT. It's possible that it would be more efficient to just pass in an array. Should do some testing to see if that is the case.
Forge testing indicates that for two or less adapters, passing in the array is faster, but for three or more, the encoded bytes is faster. It is possible that passing in the array from the front end may require transferring considerably more data, which may be more expensive.
A more detailed analysis is required, probably with anvil testing.
The text was updated successfully, but these errors were encountered:
Currently, the adapter instructions passed into
sendMessage
andquoteDeliveryPrice
are encoded into bytes, which requires decoding back into an array. This follows the model used in NTT. It's possible that it would be more efficient to just pass in an array. Should do some testing to see if that is the case.Forge testing indicates that for two or less adapters, passing in the array is faster, but for three or more, the encoded bytes is faster. It is possible that passing in the array from the front end may require transferring considerably more data, which may be more expensive.
A more detailed analysis is required, probably with anvil testing.
The text was updated successfully, but these errors were encountered: