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

Retransmit some timed out Ethereum events #1899

Merged
merged 21 commits into from
Sep 25, 2023

Conversation

sug0
Copy link
Contributor

@sug0 sug0 commented Sep 18, 2023

Describe your changes

In case an Ethereum event times out with $>\frac{1}{3}$ voting power accumulated behind it, it may be proposed once more during the COMMIT phase of the protocol, such that its state updates may be reconsidered. BFT protocols often have this notion of weak certificates on proposed data (e.g. see Sousa et al. in Mod-SMaRt).

Indicate on which release or other PRs this topic is based on

Based on #1865

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@sug0 sug0 added enhancement New feature or request ledger ethereum-bridge labels Sep 18, 2023
sug0 added a commit that referenced this pull request Sep 18, 2023
@sug0 sug0 marked this pull request as draft September 18, 2023 13:10
sug0 added a commit that referenced this pull request Sep 18, 2023
@sug0 sug0 force-pushed the tiago/retransmit-expired-eth-events branch from ebcd8f6 to 69b064c Compare September 18, 2023 15:10
@sug0 sug0 marked this pull request as ready for review September 18, 2023 15:10
tzemanovic
tzemanovic previously approved these changes Sep 20, 2023
sug0 added a commit that referenced this pull request Sep 21, 2023
@sug0 sug0 force-pushed the tiago/retransmit-expired-eth-events branch from 69b064c to 415c902 Compare September 21, 2023 08:50
batconjurer
batconjurer previously approved these changes Sep 21, 2023
@sug0 sug0 changed the base branch from tiago/eth-voting-power to main September 21, 2023 09:02
@sug0 sug0 dismissed stale reviews from batconjurer and tzemanovic September 21, 2023 09:02

The base branch was changed.

@sug0 sug0 force-pushed the tiago/retransmit-expired-eth-events branch from 415c902 to be4985a Compare September 21, 2023 09:02
@sug0 sug0 mentioned this pull request Sep 21, 2023
@sug0 sug0 mentioned this pull request Sep 21, 2023
Fraccaman added a commit that referenced this pull request Sep 25, 2023
* origin/tiago/retransmit-expired-eth-events:
  Changelog for #1899
  Change wording on Ethereum tally docstr
  Check if eth events to retransmit are empty
  Add test_commit_broadcasts_expired_eth_events() unit test
  Add test_delete_expired_tally() unit test
  Add deleted eth events with >1/3 voting power to expired queue
  Return deleted tally payload if its voting power is >1/3
  Broadcast expired txs
  Factor out signing eth events vote extensions in the shell
  Refactor broadcasting protocol txs
  Add expired txs queue to storage
  Implement queue of expired txs
@brentstone brentstone merged commit 9c108ee into main Sep 25, 2023
11 of 12 checks passed
@brentstone brentstone deleted the tiago/retransmit-expired-eth-events branch September 25, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants