Skip to content

wip: Support web3 >= 1.0.0-beta.38#95

Open
sunify wants to merge 2 commits into
masterfrom
web3-support
Open

wip: Support web3 >= 1.0.0-beta.38#95
sunify wants to merge 2 commits into
masterfrom
web3-support

Conversation

@sunify

@sunify sunify commented Apr 24, 2019

Copy link
Copy Markdown
Member

It's a more workaround rather final solution. I think we should extract web3 stuff from core and create a separate package for that. Same for ethers. Otherwise it would be kinda hard to do #82

@sunify sunify requested a review from troggy April 24, 2019 05:47
@sunify sunify removed the request for review from troggy April 24, 2019 05:47
@codecov-io

codecov-io commented Apr 24, 2019

Copy link
Copy Markdown

Codecov Report

Merging #95 into master will decrease coverage by 4.32%.
The diff coverage is 5.26%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   84.21%   79.88%   -4.33%     
==========================================
  Files          12       13       +1     
  Lines         912     1034     +122     
==========================================
+ Hits          768      826      +58     
- Misses        144      208      +64
Impacted Files Coverage Δ
lib/web3/AbstractMethod.js 5% <5%> (ø)
lib/helpers.js 51.85% <5.55%> (-25.08%) ⬇️
lib/transaction.js 91.78% <0%> (+1.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d10a19c...8920af1. Read the comment docs.

@troggy

troggy commented Apr 24, 2019

Copy link
Copy Markdown
Member

FYI #66

@sunify

sunify commented Apr 24, 2019

Copy link
Copy Markdown
Member Author

Yeah, i saw it, thanks. Just don't want to drag all this web3 stuff into our precious library :-)

Comment thread package.json Outdated
@troggy

troggy commented Apr 25, 2019

Copy link
Copy Markdown
Member

why package-lock?

@sunify

sunify commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

Oh, we hadn't it before?

@troggy

troggy commented Apr 25, 2019

Copy link
Copy Markdown
Member

only yarn.lock

@sunify

sunify commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

Ok, looks like i missed when we started use yarn in this repo :-) Will remove

@troggy

troggy commented Apr 25, 2019

Copy link
Copy Markdown
Member

@types/web3 still uses old Web3, so typedefs of leap-core are not going to work with latest web3 :(

testing it with leapdao/bridge-ui#163

@sunify

sunify commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

Fuck. Totally forgot about typings :(

@troggy

troggy commented Apr 25, 2019

Copy link
Copy Markdown
Member

if we update typings here, this will break type-compatiblity with older web3, right?

@sunify

sunify commented Apr 25, 2019

Copy link
Copy Markdown
Member Author

Not sure. Will take a look at typings and what we can do.

@troggy troggy changed the title Support web3 >= 1.0.0-beta.38 wip: Support web3 >= 1.0.0-beta.38 May 10, 2019
@troggy troggy removed the in progress label Dec 5, 2019
@sunify sunify mentioned this pull request Feb 4, 2020
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 5.26316% with 72 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.88%. Comparing base (d10a19c) to head (8920af1).
⚠️ Report is 74 commits behind head on master.

Files with missing lines Patch % Lines
lib/web3/AbstractMethod.js 5.00% 38 Missing ⚠️
lib/helpers.js 5.55% 34 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   84.21%   79.88%   -4.33%     
==========================================
  Files          12       13       +1     
  Lines         912     1034     +122     
==========================================
+ Hits          768      826      +58     
- Misses        144      208      +64     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

4 participants