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

Monorepo Wallet Library Integration #2729

Merged
merged 242 commits into from
May 26, 2023
Merged

Monorepo Wallet Library Integration #2729

merged 242 commits into from
May 26, 2023

Conversation

holgerd77
Copy link
Member

@holgerd77 holgerd77 commented May 26, 2023

This PR integrates the ethereumj-wallet library into the monorepo, creating a dedicated folder packages/wallet with the corresponding source and other files.

ATTENTION!!!

THIS NEEDS TO BE MERGED WITH A MERGE COMMIT!!!
DO NOT SQUASH!!!!!

Integration follows the path from e.g. #971, so creating a branch on the original repository, move all files there to the packages/wallet folder already and then add the wallet repository locally to the monorepo as a Git remote and merge the wallet branch to a monorepo branch (so, this one: monorepo-add-wallet) with the flag --allow-unrelated-histories.

So one main goal with the procedure is to preserve the git commit history, this has been proven to work various times already though. For this round I have also tested this locally.

WIP, this needs some various adoptions still.

axic added 30 commits February 23, 2016 19:39
Reason is KryptoKit requires 'aesjs', which adds extra 70k of code when browserified. This change could be reverted once the code can be replaced with 'crypto'.
@codecov
Copy link

codecov bot commented May 26, 2023

Codecov Report

Merging #2729 (d309c93) into master (e9e3381) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 90.82% <ø> (ø)
blockchain 90.72% <ø> (ø)
client 86.83% <ø> (ø)
common 97.05% <ø> (ø)
devp2p 89.28% <ø> (ø)
ethash ∅ <ø> (∅)
evm 79.58% <ø> (ø)
rlp ?
statemanager 80.53% <ø> (ø)
trie 90.21% <ø> (+0.28%) ⬆️
tx 95.76% <ø> (ø)
util 81.13% <ø> (ø)
vm 81.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

All the tests are passing. This looks great!

@holgerd77 holgerd77 merged commit 515a7ba into master May 26, 2023
@holgerd77 holgerd77 deleted the monorepo-add-wallet branch May 26, 2023 19:19
@@ -0,0 +1,36 @@
name: Build
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this workflow move into our monorepo, instead of reside into packages/wallet?

@jochem-brouwer
Copy link
Member

Ok it seems like our CI does not run the wallet build CI, we should add.

@jochem-brouwer
Copy link
Member

Nvm thats part of #2731

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.