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

feat(cactus-plugin-persistence-ethereum): use openapi ethereum connector #2749

Conversation

outSH
Copy link
Contributor

@outSH outSH commented Oct 5, 2023

  • Refactor persistence ethereum plugin to use openapi ethereum connector
    instead of ethereum-socketio.
  • Upgrade web3js to 4.X in both persistence plugin and its tests.
  • Update persistence plugin dependency list.
  • Recompile base token contracts in persistence plugin to match format
    required by ethereum connector (full compilation output, not just ABI)
  • Minor fix in ethereum connector to return empty transactions
    array instead of undefined.
  • Fix minor runtime issues in geth-test-ledger

Depends on #2631

Signed-off-by: Michal Bajer [email protected]

@outSH outSH changed the title feat(cactus-plugin-persistence-ethereum): use openapi ethereum connector feat(cactus-plugin-persistence-ethereum): use openapi ethereum connector Oct 5, 2023
Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link

This PR/issue depends on:

Copy link
Contributor

@izuru0 izuru0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

@outSH Please resolve the merge conflicts and then pass it back for review!
I think the parent PR's commit stuck around in the diff here.

- Refactor persistence ethereum plugin to use openapi ethereum connector
    instead of ethereum-socketio.
- Upgrade web3js to 4.X in both persistence plugin and its tests.
- Update persistence plugin dependency list.
- Recompile base token contracts in persistence plugin to match format
    required by ethereum connector (full compilation output, not just ABI)
- Minor fix in ethereum connector to return empty transactions
    array instead of undefined.
- Fix minor runtime issues in geth-test-ledger

Depends on hyperledger-cacti#2631

Signed-off-by: Michal Bajer <[email protected]>
@outSH outSH force-pushed the use_openapi_ethereum_in_persistence_plugin branch from aa2e8f8 to cbd5d92 Compare October 17, 2023 11:33
@outSH outSH requested a review from petermetz October 17, 2023 11:34
Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

LGTM

@petermetz petermetz merged commit b8f9b79 into hyperledger-cacti:main Oct 17, 2023
106 of 134 checks passed
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.

3 participants