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

Add client unit test #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

GrapeBaBa
Copy link

I hope to use this PR to discuss that for setupclients, a simple mock of ethnode and engineapi is feasible. However, considering that the interfaces used in benchmarking and service tests require a lot of data, it might be better to start a service to mock. Are there any good ways to mock an ethnode with data currently?

Signed-off-by: Chen Kai <[email protected]>
@GrapeBaBa
Copy link
Author

I hope to use this PR to discuss that for setupclients, a simple mock of ethnode and engineapi is feasible. However, considering that the interfaces used in benchmarking and service tests require a lot of data, it might be better to start a service to mock. Are there any good ways to mock an ethnode with data currently?

@danyalprout @bitwiseguy For testing replayor, I thought it need mocked execution node which provide Eth API and Engine API. What is the better approach to do this? I knew there are some in-process mocks using in the action tests in optimism-mono repo, and another way such as running the real node using docker/kurtosis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant