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

Ks 323 keystone evm integration tests #13838

Merged
merged 1 commit into from
Jul 28, 2024

Conversation

ettec
Copy link
Collaborator

@ettec ettec commented Jul 12, 2024

https://smartcontract-it.atlassian.net/browse/KS-323

Framework for running end to end tests for keystone. The test framework utilizes all keystone contracts and simulates running a trigger DON, workflow DON and target DON. It achieves this by mocking out the dispatcher and libocr to simulate a multi DON environment within the testing process. It uses the existing integration testing framework to instantiate nodes and uses the geth simulated backed to run all required contract code.

A couple of tests are implemented as part of this PR to test the framework and serve as examples. TBD Each tests takes in the region of 5s to run, possible this could also be improved by decreasing the block time and ocr protocol round time.

@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from a90a763 to 6cd2701 Compare July 16, 2024 13:49
@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from e83b4a2 to de65458 Compare July 16, 2024 14:10
@ettec ettec marked this pull request as ready for review July 16, 2024 14:19
@ettec ettec requested review from a team, archseer, bolekk and patrick-dowell as code owners July 16, 2024 14:19
"github.com/smartcontractkit/chainlink-common/pkg/values"
)

const triggerID = "streams-trigger@1.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

I actually have a similar thing here, I'm hoping we could just make this a new trigger type useful for testing/development in the core node: https://github.com/smartcontractkit/chainlink/pull/13716/files#diff-905de3fd1acdb9e2daa319880d9a528cca7f034d3b8920eec76905b7e6b52acd

@ettec ettec requested a review from DeividasK July 17, 2024 09:33
@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from 3c5e80a to 281a960 Compare July 25, 2024 13:42
@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from 31d1fed to 56737e0 Compare July 25, 2024 13:52
@ettec ettec requested a review from a team as a code owner July 25, 2024 15:17
@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from 1eebd5f to 3f80c08 Compare July 25, 2024 15:25
@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from e416ca6 to f6199c8 Compare July 25, 2024 15:41
@ettec ettec force-pushed the ks-323-keystone-evm-integration-tests branch from e81299f to c24852c Compare July 25, 2024 15:46
@ettec ettec added this pull request to the merge queue Jul 28, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 28, 2024
@ettec ettec added this pull request to the merge queue Jul 28, 2024
Merged via the queue into develop with commit d6ebada Jul 28, 2024
130 checks passed
@ettec ettec deleted the ks-323-keystone-evm-integration-tests branch July 28, 2024 10:56
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.

6 participants