Skip to content

Conversation

ShantyCottageCheese
Copy link
Contributor

No description provided.

@llamabutler
Copy link

The bytzz adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts aggregators bytzz

🦙 Running BYTZZ adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 04:42:42 GMT
End Date:	Tue, 02 Sep 2025 04:42:42 GMT
---------------------------------------------------

{
  llamaRPCError: true,
  errors: [
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://endpoints.omniatech.io/v1/xlayer/mainnet/public',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://rpc.xlayer.tech',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://endpoints.omniatech.io/v1/xlayer/mainnet/public',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    }
  ],
  method: 'getLogs',
  chain: 'xlayer'
}

@llamabutler
Copy link

The bytzz adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts fees bytzz

🦙 Running BYTZZ adapter 🦙
---------------------------------------------------
Start Date:	Mon, 01 Sep 2025 04:43:40 GMT
End Date:	Tue, 02 Sep 2025 04:43:40 GMT
---------------------------------------------------

{
  llamaRPCError: true,
  errors: [
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://endpoints.omniatech.io/v1/xlayer/mainnet/public',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://rpc.xlayer.tech',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://endpoints.omniatech.io/v1/xlayer/mainnet/public',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://xlayerrpc.okx.com',
      error: 'Request failed with status code 400'
    },
    {
      host: 'https://rpc.xlayer.tech',
      error: 'Request failed with status code 400'
    }
  ],
  method: 'getLogs',
  chain: 'xlayer'
}

@ShantyCottageCheese
Copy link
Contributor Author

Hey, I see there are problems with public RPC, range max 100 blocks. Is there a solution?

@g1nt0ki g1nt0ki self-assigned this Sep 2, 2025
Copy link
Member

@g1nt0ki g1nt0ki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, bit of heads up. I am not sure why, but we have trouble pulling event logs from x layer rpcs, tried with paid rpcs as well, same issue, have you faced this issue? did you find a workaround?

@g1nt0ki
Copy link
Member

g1nt0ki commented Sep 2, 2025

Hey, I see there are problems with public RPC, range max 100 blocks. Is there a solution?

just saw this comment, so... we dont have a solution so far and sort of gave up on the x layer as a chain, like I said, even paid rpcs are not working

@ShantyCottageCheese
Copy link
Contributor Author

Thanks for the PR, bit of heads up. I am not sure why, but we have trouble pulling event logs from x layer rpcs, tried with paid rpcs as well, same issue, have you faced this issue? did you find a workaround?

Hmm. I have my own indexer for the volume (getLogs, same event). I'm also seeing a 400 error, but I've slightly modified the log retrieval method. I'm reducing the range for fromBlock - toBlock, and so far it seems to be working in most cases.

@g1nt0ki
Copy link
Member

g1nt0ki commented Sep 2, 2025

Thanks for the PR, bit of heads up. I am not sure why, but we have trouble pulling event logs from x layer rpcs, tried with paid rpcs as well, same issue, have you faced this issue? did you find a workaround?

Hmm. I have my own indexer for the volume (getLogs, same event). I'm also seeing a 400 error, but I've slightly modified the log retrieval method. I'm reducing the range for fromBlock - toBlock, and so far it seems to be working in most cases.

hmm, is the indexer endpoint open? maybe we can pull logs from there 🥺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants