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
This isn't strictly required at the moment, and is only strictly needed for the scraper to work well with Solana chains for when we eventually implement this!
Problem
Because of Solana's 64 byte tx hash lengths (instead of the typical 32 bytes in Ethereum), we moved much of the agent code to using H512 for tx hashes. However we didn't change the scraper - it still works only with 32 byte tx hashes.
We'll still use bytea which isn't fixed length for storing tx hashes. However we'll need to change some logic to support H512 tx hashes to avoid stuff like this:
Note:
This isn't strictly required at the moment, and is only strictly needed for the scraper to work well with Solana chains for when we eventually implement this!
Problem
Because of Solana's 64 byte tx hash lengths (instead of the typical 32 bytes in Ethereum), we moved much of the agent code to using H512 for tx hashes. However we didn't change the scraper - it still works only with 32 byte tx hashes.
We'll still use
bytea
which isn't fixed length for storing tx hashes. However we'll need to change some logic to support H512 tx hashes to avoid stuff like this:hyperlane-monorepo/rust/agents/scraper/src/chain_scraper/mod.rs
Line 84 in 02d5549
Solution
Our options are:
1 is probably easier in the way that things are set up in the agent codebase
The text was updated successfully, but these errors were encountered: