Closed gabrielfior closed 10 months ago
Hey @gabrielfior, thanks for flagging this issue.
We have found an issue with the address table lookup substreams (making it impossible to resolve addresses) and we have realized that we need to change the solona firehose blocks and add the address table lookups accounts inside the blocks.
We are currently working on reprocessing the blocks. Once that is done, you will be able to run this substreams out of the box without any changes.
Hey @Eduard-Voiculescu any updates on this?
Hey @gabrielfior,
We have had a couple of issues with reprocessing, notably some issues with solana blocks at 224m block height. We have rerun another reprocessing, I will update here when we have it running!
Hey @gabrielfior,
I have updated the substreams-solana rust crate which you can import with
substreams-solana = { git = "https://github.com/streamingfast/substreams-solana", branch = "master" }
in your Cargo.toml
file.
Once you have that imported, you can get the resolved accounts like this: https://github.com/streamingfast/substreams-hivemapper/blob/develop/src/lib.rs#L18
Just so you know, if you update the crate, you will also need to add this dependency:
substreams-solana-program-instructions = “0.1”
in your Cargo.toml. We have decoupled the program instructions (decoding of TokenInstructions) from the
substreams-solana crate.
So if you do any TokenInstruction::unpack(…)
in your Substreams, you will simply need to update your import in your rust files with this line:
use substreams_solana_program_instructions::{
token_instruction_2022::TokenInstruction
};
Thanks @Eduard-Voiculescu, I applied the changes above and am now able to fetch data.
Nice! Happy to hear that it works
I wasn't able to run
substreams-hivemapper]$ substreams run substreams.yaml map_holders -e mainnet.sol.streamingfast.io:443 -t +1000
because of a few errors. I did a few changes (see https://github.com/gabrielfior/substreams-hivemapper/commit/f72baf28049afb9a05697f876acc9ac1525e49b5) and I now get a different error:Any guidance much appreciated!