forked from oasysgames/oasys-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
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
V1.7.0 testnet0 invalid block #3
Open
RitudhwajA
wants to merge
33
commits into
main
Choose a base branch
from
v1.7.0-testnet0-invalid-block
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disable Preseal for testnet
Feat/merge v1.4.0 merge
* Configured block time shortening epoch for the mainnet * Fix block time shortening epoch for the mainnet * Feat/finalizer (oasysgames#61) * copy new files from [email protected] * copy from bsc v1.4.6 * resolve interface missing method error for mock structs * apply finality to our consensus * add oasys consensus test: env/validators assemble * whether broadcast vote judging from peers's TD * fix lots of error to make work voting * increase vote DOS threadhold * fix lint error * modify go.mod according to BSC * vote attestaion stake weighted * add MaliciousVoteMonitor * remove bsc dependent comments/message * rename finalizer to fast finality * replace genesis contract by v1.6.0 * update genesis contract submodule (v1.6.0) * resolved several consensus issue * increment version to v1.6.0 * print error log: prepareWork and commit * print warn log in case of invalid vote * sort validators by owner for fast finality * apply validators sort changes to snapshot.go * disable deployments11 * refactor consensus * upgrade stake manager contract version * delete unused CeilDiv function * delete unused metrics.label file copyed from bsc * add comment to formHeader of finalize and seal case * add comment why disable fromHeader on Finalize * fix mainnet sync error: failed to verify header * fix getValidators marshal error by suppporting old contract interface * commit leak of previous one * fix verify header error by adding missing return * deal with unexpected value is presented to callGetHighStakesCommon * fix getHighStakes unpack error. replace wrong contract * sort by owner only fast finality enabled * Improved performance degradation due to change in json format of consensus snapshot * Improved EnvironmentValue parsing (oasysgames#70) * Add note to BLSPublicKey's Marshaler * fix null pointer error after taking oasysgames#69 * temporary set testnet hardfork for private testnet * increase private testnet hardork block * bring private hardfork time closer * fix feedback from @ironbeer part1 * vot validator point to parent block(=target block) * Add contract deploy test * Update consensus/oasys/snapshot.go Co-authored-by: ironbeer <[email protected]> * fix feedback from ironbeer part2 * Added `Equal` method to EnvironmentValue (oasysgames#71) * Imported diffs of blockchain.go and headerchain.go from [email protected] (oasysgames#74) * Imported diffs of blockchain.go and headerchain.go from [email protected] * Imported fast finality reorganization from [email protected] (oasysgames#75) * Imported fast finality reorganization from [email protected] * Fix errors in test code * elaborate the timeing update finalized and justified gauge (oasysgames#77) --------- Co-authored-by: tak <[email protected]> * Fix panic when BLS key is nothing & support multiple keys (oasysgames#81) * Imported eth.handler from [email protected] (oasysgames#78) * Imported stop process of eth.handler from [email protected] * Imported `chainFinalizedHeightFn` of fetcher.BlockFetcher from [email protected] * remove stop chan from eth/handler (oasysgames#82) --------- Co-authored-by: tak <[email protected]> * fix feadback from ironbeer part3 * Fix reorg when justification chain is split (oasysgames#85) * update loas contract & reset testnet hardfork schedule * Fix misc (oasysgames#87) * Fix test error * Fix image build error --------- Co-authored-by: ironbeer <[email protected]> * set testnet hardfork for v1.6.0 (oasysgames#88) --------- Co-authored-by: ironbeer <[email protected]>
* Configured block time shortening epoch for the mainnet * Fix block time shortening epoch for the mainnet * Feat/finalizer (oasysgames#61) * copy new files from [email protected] * copy from bsc v1.4.6 * resolve interface missing method error for mock structs * apply finality to our consensus * add oasys consensus test: env/validators assemble * whether broadcast vote judging from peers's TD * fix lots of error to make work voting * increase vote DOS threadhold * fix lint error * modify go.mod according to BSC * vote attestaion stake weighted * add MaliciousVoteMonitor * remove bsc dependent comments/message * rename finalizer to fast finality * replace genesis contract by v1.6.0 * update genesis contract submodule (v1.6.0) * resolved several consensus issue * increment version to v1.6.0 * print error log: prepareWork and commit * print warn log in case of invalid vote * sort validators by owner for fast finality * apply validators sort changes to snapshot.go * disable deployments11 * refactor consensus * upgrade stake manager contract version * delete unused CeilDiv function * delete unused metrics.label file copyed from bsc * add comment to formHeader of finalize and seal case * add comment why disable fromHeader on Finalize * fix mainnet sync error: failed to verify header * fix getValidators marshal error by suppporting old contract interface * commit leak of previous one * fix verify header error by adding missing return * deal with unexpected value is presented to callGetHighStakesCommon * fix getHighStakes unpack error. replace wrong contract * sort by owner only fast finality enabled * Improved performance degradation due to change in json format of consensus snapshot * Improved EnvironmentValue parsing (oasysgames#70) * Add note to BLSPublicKey's Marshaler * fix null pointer error after taking oasysgames#69 * temporary set testnet hardfork for private testnet * increase private testnet hardork block * bring private hardfork time closer * fix feedback from @ironbeer part1 * vot validator point to parent block(=target block) * Add contract deploy test * Update consensus/oasys/snapshot.go Co-authored-by: ironbeer <[email protected]> * fix feedback from ironbeer part2 * Added `Equal` method to EnvironmentValue (oasysgames#71) * Imported diffs of blockchain.go and headerchain.go from [email protected] (oasysgames#74) * Imported diffs of blockchain.go and headerchain.go from [email protected] * Imported fast finality reorganization from [email protected] (oasysgames#75) * Imported fast finality reorganization from [email protected] * Fix errors in test code * elaborate the timeing update finalized and justified gauge (oasysgames#77) --------- Co-authored-by: tak <[email protected]> * Fix panic when BLS key is nothing & support multiple keys (oasysgames#81) * Imported eth.handler from [email protected] (oasysgames#78) * Imported stop process of eth.handler from [email protected] * Imported `chainFinalizedHeightFn` of fetcher.BlockFetcher from [email protected] * remove stop chan from eth/handler (oasysgames#82) --------- Co-authored-by: tak <[email protected]> * fix feadback from ironbeer part3 * Fix reorg when justification chain is split (oasysgames#85) * update loas contract & reset testnet hardfork schedule * Fix misc (oasysgames#87) * Fix test error * Fix image build error --------- Co-authored-by: ironbeer <[email protected]> * set testnet hardfork for v1.6.0 (oasysgames#88) * Fix voting process stopping with each synchronization (oasysgames#90) * Fix nil panic in td.Cmp(bestTd) * Fix voting process stopping with each synchronization. RelatedCode: - eth/downloader/downloader.go#L463 - core/vote/vote_manager.go#L108-L110) --------- Co-authored-by: ironbeer <[email protected]>
…y-crash [testnet] fix node crash issue when solidity block.difficulity or block.prevrandao called
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.