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

fix: Solve the mismatch validator bug with final solution #135

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

calmbeing
Copy link

Solve the mismatch validator bug with final solution:
Previously, sometimes "mismatching validator" error occur, after dive into more into the code, the root reason is that ibs(IntraBlockState) is not thread-safe, in evm system contract call, it'll read messy cache data.
With this commit, will create a new state for read validatorList to avoid messy cache data and thread-safe problem

@calmbeing calmbeing requested review from setunapo and blxdyx June 19, 2023 18:48
@calmbeing calmbeing changed the title Solve the mismatch validator bug with final solution fix: Solve the mismatch validator bug with final solution Jun 19, 2023
@setunapo setunapo merged commit 9bab0b6 into node-real:devel Jun 20, 2023
calmbeing added a commit to calmbeing/bsc-erigon that referenced this pull request Jun 20, 2023
avatarH added a commit to node-real/bsc-erigon-avatar that referenced this pull request Jul 3, 2023
add log

add log

fix bug?

fix bug?

update

fix bug?

fix bug?

fix bug?

add log

add log

add log

add log

add log

add log

fix

fix

add log

add log

fix bug

remove log

fix bug?

add log

fix bug

fix bug

add trace block diff by number

rlp encode to json marshal

update

update

storage key change to hex to test

revert

update

feature: Step by step sync (node-real#116)

Missed RPC calls implemented in BSC geth (node-real#83)

* Add rpc calls that implemented in BSC geth but not in erigon
* Register 'bsc' API module under 'eth' API namespace
* Several missed calls implementation

Fix bugs in trie hash computation

solve the mismatch validator bug with final solution (node-real#135)

update the version for bsc-erigon (node-real#136)

Port Herzt upgrade: London & Berlin (node-real#138)

optimization (node-real#131)

release: prepare for release v1.1.2 (node-real#142)

fix: log info

System contract upgrade fix and RPC refine (node-real#146)

* e2: avoid do RestoreCodeHash twice (erigontech#7706)

- do it only once in HistoryStateReader

* fix system contract upgrade

* update

---------

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>

update the config

update the version

remove log

remove log

remove log

update diff layer return

update

update

update

update

new try

new try

update

update
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