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
Essentially, we were using ethers::H256::to_string() to get the string for the rollup_transaction_hash value, which returns a shortened version of the hash. the string 0x1234...0x1234 is instead of the full hash (i.e. you would expect it to give you something like 0x1234567890123456789012345678901234567890123456789012345678901234). The fix is to use encode_hex instead of to_string.
┆Issue Number: ENG-764
The text was updated successfully, but these errors were encountered:
## Summary
Use the correct encoding functions to populate memo field in the
bridge's conversion logic from rollup withdrawal events to sequencer
actions.
## Background
We were using `ethers::H256::to_string()` to get the string for the
`rollup_transaction_hash` value, which returns a shortened version of
the hash. the string `0x1234...0x1234` is instead of the full hash (i.e.
you would expect it to give you something like
`0x1234567890123456789012345678901234567890123456789012345678901234`).
## Changes
- Use the correct
## Breaking Changelist
- The previously invalid memo data will now be populated with the
correct information. This doesn't actually break anything because we
also aren't actually using these hashes anywhere.
## Related Issues
Link any issues that are related, prefer full github links.
closes#1427, #1471
---------
Co-authored-by: Richard Janis Goldschmidt <github@aberrat.io>
Essentially, we were using
ethers::H256::to_string()
to get the string for therollup_transaction_hash
value, which returns a shortened version of the hash. the string0x1234...0x1234
is instead of the full hash (i.e. you would expect it to give you something like0x1234567890123456789012345678901234567890123456789012345678901234
). The fix is to useencode_hex
instead ofto_string
.┆Issue Number: ENG-764
The text was updated successfully, but these errors were encountered: