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

chore(derive): Ethereum Data Source Tests #162

Closed
refcell opened this issue Apr 28, 2024 · 0 comments · Fixed by #181
Closed

chore(derive): Ethereum Data Source Tests #162

refcell opened this issue Apr 28, 2024 · 0 comments · Fixed by #181
Labels
A-derive Area: kona-derive crate K-chore Kind: chore M-good-first-issue Meta: Good for newcomers

Comments

@refcell
Copy link
Collaborator

refcell commented Apr 28, 2024

Description

Warning

This is blocked by #159

Add unit tests for the EthereumDataSource.

These tests will need to use mock/test chain providers and blob providers for constructing the data source.

They should validate when open_data is called that

  • if the ecotone_timestamp is not set and a calldata source should be returned.
  • if the ecotone_timestamp is set and the block_ref timestamp is prior to the ecotone_timestamp, a calldata source is created.
  • if the ecotone_timestamp is set and the block_ref timestamp is greater than or equal to the ecotone_timestamp, a blob provider is created.
@refcell refcell added M-good-first-issue Meta: Good for newcomers K-chore Kind: chore A-derive Area: kona-derive crate labels Apr 28, 2024
@refcell refcell added this to the Table Stakes milestone Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-derive Area: kona-derive crate K-chore Kind: chore M-good-first-issue Meta: Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant