Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/blocks/chainSlice testnet bug #2106

Closed
mgpai22 opened this issue Jan 31, 2024 · 0 comments
Closed

/blocks/chainSlice testnet bug #2106

mgpai22 opened this issue Jan 31, 2024 · 0 comments
Assignees
Labels
C-bug Category: This is a bug

Comments

@mgpai22
Copy link

mgpai22 commented Jan 31, 2024

This mainnet request loads all 1000 elements containing header info:

http://213.239.193.208:9053/blocks/chainSlice?fromHeight=0&toHeight=1000

This testnet request only loads 256 elements at most:

http://213.239.193.208:9052/blocks/chainSlice?fromHeight=0&toHeight=1000
https://tn-ergonode-api.ergohost.io/blocks/chainSlice?fromHeight=0&toHeight=1000

This has been tested with latest node version and previous old ones too.

@kushti kushti added the C-bug Category: This is a bug label Jan 31, 2024
@kushti kushti self-assigned this Feb 5, 2024
kushti added a commit that referenced this issue Feb 5, 2024
Fix for #2106 : MaxHeaders constant is used instead of epochLength related value in chainSlice limit
@kushti kushti closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants