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

[ibft] merge back patch 1.1.3 #251

Merged
merged 2 commits into from
Nov 12, 2022
Merged

[ibft] merge back patch 1.1.3 #251

merged 2 commits into from
Nov 12, 2022

Conversation

DarianShawn
Copy link
Collaborator

Description

The PR merges the already running banish mechanism to base branch. Besides, build block should not keep on going, when there is timeout for broadcasting.

Changes include

  • Bugfix (non-breaking change that solves an issue)

Testing

  • I have tested this code with the official test suite

@DarianShawn DarianShawn added the bug fix Functionality that fixes a bug label Nov 12, 2022
@DarianShawn DarianShawn self-assigned this Nov 12, 2022
DarianShawn and others added 2 commits November 12, 2022 15:34
Some project created a lot of spam transactions and consumed all the gas
in the block, which makes the whole network junk and hard to sync due to
its heavy I/O consuming.

The PR fixed it by banishing all transactions called to some exhausting
contracts, and mark a contract once the execution time exceeds a block
time.

Besides, we create a new option in `IBFT` consensus to enable/disable
banishing. Any validators could decide whether tolerating these I/O
consuming transactions or not.

- [x] Hotfix (change that solves an urgent issue, and requires immediate
attention)

- [x] I have tested this code with the official test suite
Copy link
Collaborator

@abrahamcruise321 abrahamcruise321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@abrahamcruise321 abrahamcruise321 merged commit a977703 into dev Nov 12, 2022
@abrahamcruise321 abrahamcruise321 deleted the patch-1.1.3 branch November 12, 2022 07:41
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Functionality that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants