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

Pending Block is null after upgrade to Latest Version (1.1.1-beta) #341

Closed
zcrypt0 opened this issue Jul 31, 2021 · 7 comments · Fixed by #358
Closed

Pending Block is null after upgrade to Latest Version (1.1.1-beta) #341

zcrypt0 opened this issue Jul 31, 2021 · 7 comments · Fixed by #358
Assignees
Labels
bug Something isn't working

Comments

@zcrypt0
Copy link

zcrypt0 commented Jul 31, 2021

System information

Geth version: 1.1.1-beta
OS & Version: Linux
Commit hash : (if develop)

Expected behaviour

eth.getBlock('pending') returns the pending block when --mine is specified on the command line.

Actual behaviour

eth.getBlock('pending') returns null.

Steps to reproduce the behaviour

Backtrace

N/A

More Details

I upgraded from 1.10.2 (032970b) to 1.1.1-beta and now the node no longer generates pending blocks.

I resynced the node entirely using --syncmode=snap with version 1.1.1-beta to see if it would solve the issue. The pending block is still null.

Snapshot generation is on and the snapshot is completely generated (if applicable).

I downgraded back to 1.10.2 (with the same db synced on 1.1.1-beta) and confirmed that pending blocks are generated, so this is definitely some type of issue with 1.1.1-beta. Note I am specifying the same command line in both versions which includes --mine.

@unclezoro
Copy link
Collaborator

hi, @zcrypt0 Thanks for reporting this issue. It is introduced in release v1.1.1-beta, we will fix it in v1.1.1 stable release

@unclezoro unclezoro self-assigned this Aug 2, 2021
@unclezoro unclezoro added the bug Something isn't working label Aug 2, 2021
@lovelyrrg51
Copy link

Hi, @guagualvcha
When v1.1.1 stable will be release?

@zcrypt0
Copy link
Author

zcrypt0 commented Aug 7, 2021

Thanks @guagualvcha

This is becoming somewhat of a priority for my use case, and I expect others who depend on timely generation of pending blocks. Given the number of transactions on the blockchain right now, I cannot generate pending blocks in a timely manner even on relatively high end hardware.

I will probably attempt an interim hacky patch myself. I wonder if you might point out relevant sections in the code to help accelerate this, since I am not familiar with the geth codebase.

Alternatively, a dev branch that could be built manually would be helpful as well if you are already making progress on it.

@unclezoro
Copy link
Collaborator

Hi, @guagualvcha
When v1.1.1 stable will be release?

It will be done within this week.

@lovelyrrg51
Copy link

Great
So at that time, will only update geth on Node?
@guagualvcha

@lovelyrrg51
Copy link

And I've another question.
Currently, BSC Node size is fullfilled 100GB every day.
Is this normal?
@guagualvcha

@Undead8
Copy link

Undead8 commented Aug 13, 2021

I think that this issue should be reopened because it has been only partially fixed, as mentioned here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants