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

[shutter] integration tests #13382

Open
taratorio opened this issue Jan 10, 2025 · 0 comments
Open

[shutter] integration tests #13382

taratorio opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
imp3 Low importance shutter

Comments

@taratorio
Copy link
Member

capture entirety of block building with shutter enabled in an integration test:

  • start an instance of eth.Ethereum
  • use in-memory go libp2p hosts to simulate exchange of decryption keys
  • submit transactions via existing erigon rpc for devp2p pool
  • submit encrypted transactions to sequencer contract (construct them in test harness and submit via existing erigon rpc)
  • submit transactions via rpc that simulate changes to eon key
  • build a block - cover cases where there is only shutter transactions in a block (check encrypted pool gas limit), a mix of shutter and devp2p transactions (shutter ones must be on top of the block), no decryption keys received in time for validator (block must be empty), etc.
@taratorio taratorio added imp3 Low importance shutter labels Jan 10, 2025
@taratorio taratorio self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imp3 Low importance shutter
Projects
None yet
Development

No branches or pull requests

1 participant