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

stuck on block #5183999 #2

Open
aaadipopt opened this issue Apr 28, 2021 · 5 comments
Open

stuck on block #5183999 #2

aaadipopt opened this issue Apr 28, 2021 · 5 comments

Comments

@aaadipopt
Copy link

aaadipopt commented Apr 28, 2021

hey @vporton :)

any hints on how can we fix the #5183999 block issue -

// FIXME: Otherwise the BSC block #5183999 verficiation fails.

thanks

@eyooooo
Copy link

eyooooo commented Apr 30, 2021

posting here for others who may find this issue and want to help write a PR - looks like this project is not upgraded for the bsc hardfork that occurred at block 5184000.

Here is the GETH commit for that upgrade: bnb-chain/bsc@540ac2a#diff-5e832744a328dd85de712e88932a1f4c0e92e6c5cd5c9b17d76c762ec7a3b840

i am currently poking through this info to see if i can provide a useful PR. help is appreciated ;)

Thanks

@g4bwy
Copy link

g4bwy commented May 1, 2021

Hi,

I'm not very familiar with openethereum's code, but chain forks/upgrades appear to be handled through json parameters (set in ethcore/res/ethereum/bsc.json), with corresponding handlers specified in ethcore/src/spec/spec.rs.

after this point, the fork parameters should probably be passed to the parlia engine (ethcore/src/engines/parlia/) and handled there... (not sure what to do exactly after that, but it's apparently mainly about upgrading some system contract bytecodes)

@g4bwy
Copy link

g4bwy commented May 1, 2021

I guess an interesting example to handle such an upgrade would be found in musicoin's spec here: https://github.com/vporton/open-bsc/blob/main/ethcore/res/ethereum/musicoin.json#L13

@SeeSoftware
Copy link

Is there an update on this? i was trying to sync using this, because i wanted to save some space on the node but it got stuck on 5183999 :/

@g4bwy
Copy link

g4bwy commented May 25, 2021

there have been some forks done to sync past the fork block (https://github.com/vorot93/open-bsc/tree/hardcode-mirrorsync and https://github.com/shortcircuit3/open-bsc/commits/alex/hardfork-mirrorsync notably), but they appear to fail later when importing block #5286006

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

No branches or pull requests

4 participants