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
The current encoding of such values in the current format, JSON, is very inefficient.
Suggest A Solution
Until we add support for the new, more efficient, Cadence value encoding format, CCF, it might be best to send the EVM transaction in a more efficient manner. For example, it could be sent as a hex-encoded string, then decoded in the transaction.
The text was updated successfully, but these errors were encountered:
The byte array will first pass through hex.EncodeToString(data) (where data is the byte array), and that string value will be used to construct a value of cadence.String.
Issue To Be Solved
EVM transactions are currently submitted by wrapping them in a Cadence transaction.
The Cadence transaction sends the EVM transaction as a
[UInt8]
value, seeflow-evm-gateway/services/requester/cadence/run.cdc
Line 3 in 816b5b7
The current encoding of such values in the current format, JSON, is very inefficient.
Suggest A Solution
Until we add support for the new, more efficient, Cadence value encoding format, CCF, it might be best to send the EVM transaction in a more efficient manner. For example, it could be sent as a hex-encoded string, then decoded in the transaction.
The text was updated successfully, but these errors were encountered: