-
Notifications
You must be signed in to change notification settings - Fork 5k
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
web3 external provider - Quicknode #7019
Conversation
Bundle StatsHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Benchmark suite | Current: e8b76d6 | Previous: 692987a | Ratio |
---|---|---|---|
processingTx |
9142 ops/sec (±4.03% ) |
8880 ops/sec (±3.76% ) |
0.97 |
processingContractDeploy |
37170 ops/sec (±7.42% ) |
38813 ops/sec (±6.13% ) |
1.04 |
processingContractMethodSend |
19404 ops/sec (±6.37% ) |
18943 ops/sec (±7.10% ) |
0.98 |
processingContractMethodCall |
38963 ops/sec (±4.83% ) |
38006 ops/sec (±5.78% ) |
0.98 |
abiEncode |
45518 ops/sec (±6.68% ) |
43737 ops/sec (±6.49% ) |
0.96 |
abiDecode |
30506 ops/sec (±7.40% ) |
29525 ops/sec (±8.05% ) |
0.97 |
sign |
1571 ops/sec (±0.78% ) |
1523 ops/sec (±3.37% ) |
0.97 |
verify |
368 ops/sec (±0.68% ) |
371 ops/sec (±0.54% ) |
1.01 |
This comment was automatically generated by workflow using github-action-benchmark.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.x #7019 +/- ##
==========================================
- Coverage 92.21% 92.19% -0.03%
==========================================
Files 215 215
Lines 8329 8330 +1
Branches 2296 2297 +1
==========================================
- Hits 7681 7680 -1
- Misses 648 650 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
case Network.ETH_MAINNET: | ||
host = isValid(_host) ? _host : "powerful-holy-bush.quiknode.pro"; | ||
token = isValid(_token) ? _token : "3240624a343867035925ff7561eb60dfdba2a668"; | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it ok to have tokens here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, these are public tokens
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just some feedback.
Integration tests should be created before release of the package
packages/web3-providers/package.json
Outdated
@@ -0,0 +1,66 @@ | |||
{ | |||
"name": "web3-providers", | |||
"version": "0.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we start at 0.1.0 that would that be considered alpha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, 1.0.0 will be prod
Failing testcases, otherwise it looks good |
Description
#6976
Type of change
Checklist:
npm run lint
with success and extended the tests and types if necessary.npm run test:unit
with success.npm run test:coverage
and my test cases cover all the lines and branches of the added code.npm run build
and testeddist/web3.min.js
in a browser.CHANGELOG.md
file in the root folder.