Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Mistakes in indexer logs #1260

Answered by ra0x3
PaulZhemanov asked this question in Q&A
Discussion options

You must be logged in to vote

(I see you figured something out but I'll still post my message)

@PaulZhemanov

  • I pulled down your project
  • I successfully built it with forc index build
  • However, I noticed that there's no module in your project
  • I just see functions, with no module -- so without a module these functions definitely won't get called
  • Not sure if I'm just looking at old code
  • If everything is fine let me know and I'll close this out :)
fn saprana_indexer_handler(block: BlockData) {
    let height = block.height;
    {
        Logger::info(
            &{
                let res = ::alloc::fmt::format(format_args!("Height: {0}", height));
                res
            },
        )
    };
}
fn handle_event_c…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by deekerno
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1255 on August 11, 2023 16:38.