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

Mock ledger services in integration tests #1976

Merged
merged 7 commits into from
Oct 24, 2023
Merged

Conversation

sug0
Copy link
Collaborator

@sug0 sug0 commented Oct 9, 2023

Describe your changes

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

Based on #1964

Checklist before merging to draft

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

@sug0 sug0 force-pushed the tiago/int-test-services branch from 4687c1c to da706ad Compare October 9, 2023 14:22
@sug0
Copy link
Collaborator Author

sug0 commented Oct 16, 2023

Successful CI run with the services enabled: 481fc72

This enables processing Ethereum events, broadcasting protocol
transactions, among other things, while running integration tests.
sug0 added a commit that referenced this pull request Oct 16, 2023
@sug0 sug0 force-pushed the tiago/int-test-services branch from 481fc72 to 227028a Compare October 16, 2023 08:20
@sug0 sug0 requested a review from batconjurer October 16, 2023 08:20
@sug0 sug0 marked this pull request as ready for review October 16, 2023 08:20
Copy link
Member

@batconjurer batconjurer left a comment

Choose a reason for hiding this comment

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

Code wise, one nit. Do we know this infra will work with ethereum tests though?

apps/src/lib/node/ledger/shell/testing/node.rs Outdated Show resolved Hide resolved
@sug0
Copy link
Collaborator Author

sug0 commented Oct 16, 2023

@batconjurer I think these changes encompass all the requirements to simulate an ethereum node running, as well as protocol txs generated from the observed ethereum events. if not... well, I can always refactor the code a bit in the PR that actually adds the eth bridge integration tests

batconjurer
batconjurer previously approved these changes Oct 16, 2023
@sug0 sug0 force-pushed the tiago/int-test-services branch from 227028a to 9c69e4b Compare October 16, 2023 12:23
@sug0 sug0 requested a review from tzemanovic October 16, 2023 12:24
@sug0 sug0 mentioned this pull request Oct 17, 2023
Fraccaman added a commit that referenced this pull request Oct 18, 2023
* origin/tiago/int-test-services:
  Changelog for #1976
  Improve reading flow of mock node service defs
  Mock ledger services in integration tests
Fraccaman added a commit that referenced this pull request Oct 23, 2023
* origin/tiago/int-test-services:
  Changelog for #1976
  Improve reading flow of mock node service defs
  Mock ledger services in integration tests
tzemanovic added a commit that referenced this pull request Oct 24, 2023
* origin/tiago/int-test-services:
  Changelog for #1976
  Improve reading flow of mock node service defs
  Mock ledger services in integration tests
@tzemanovic tzemanovic mentioned this pull request Oct 24, 2023
@sug0 sug0 merged commit 9c69e4b into main Oct 24, 2023
14 checks passed
@sug0 sug0 deleted the tiago/int-test-services branch October 24, 2023 11:26
brentstone pushed a commit that referenced this pull request Nov 11, 2023
* origin/tiago/int-test-services:
  Changelog for #1976
  Improve reading flow of mock node service defs
  Mock ledger services in integration tests
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.

3 participants