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: Implement eth.calculateFeeData #6795

Merged
merged 25 commits into from
Feb 16, 2024

Conversation

Muhammad-Altabba
Copy link
Contributor

Description

Fixes #6599

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.
  • I ran npm run lint with success and extended the tests and types if necessary.
  • I ran npm run test:unit with success.
  • I ran npm run test:coverage and my test cases cover all the lines and branches of the added code.
  • I ran npm run build and tested dist/web3.min.js in a browser.
  • I have tested my code on the live network.
  • I have checked the Deploy Preview and it looks correct.
  • I have updated the CHANGELOG.md file in the root folder.
  • I have linked Issue(s) with this PR in "Linked Issues" menu.

Copy link

github-actions bot commented Feb 7, 2024

Bundle Stats

Hey 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

Asset Old size New size Diff Diff %
Total 0 619 KB 619 KB -
View detailed bundle breakdown

Added

Asset Old size New size Diff Diff %
web3.min.js 0 602 KB 602 KB -
../lib/commonjs/index.d.ts 0 8.63 KB 8.63 KB -
../lib/commonjs/accounts.d.ts 0 3.89 KB 3.89 KB -
../lib/commonjs/types.d.ts 0 2.45 KB 2.45 KB -
../lib/commonjs/web3.d.ts 0 1.14 KB 1.14 KB -
../lib/commonjs/abi.d.ts 0 999 bytes 999 bytes -
../lib/commonjs/eth.exports.d.ts 0 280 bytes 280 bytes -
../lib/commonjs/providers.exports.d.ts 0 148 bytes 148 bytes -
../lib/commonjs/version.d.ts 0 60 bytes 60 bytes -

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

No assets were unchanged

@Muhammad-Altabba
Copy link
Contributor Author

Muhammad-Altabba commented Feb 7, 2024

It seems there is a cashing problem that lead to report old errors that has been already resolved. I overcome this by requesting all the tests to rerun.

Copy link

github-actions bot commented Feb 7, 2024

Benchmark

Benchmark suite Current: f51e94b Previous: 6c075db Ratio
processingTx 9575 ops/sec (±4.71%) 9301 ops/sec (±4.81%) 0.97
processingContractDeploy 41197 ops/sec (±8.21%) 39129 ops/sec (±7.62%) 0.95
processingContractMethodSend 18465 ops/sec (±7.19%) 19443 ops/sec (±5.19%) 1.05
processingContractMethodCall 39986 ops/sec (±5.53%) 38971 ops/sec (±6.34%) 0.97
abiEncode 44711 ops/sec (±6.74%) 44252 ops/sec (±6.92%) 0.99
abiDecode 31091 ops/sec (±7.35%) 30419 ops/sec (±8.89%) 0.98
sign 1656 ops/sec (±1.20%) 1656 ops/sec (±4.08%) 1
verify 378 ops/sec (±0.45%) 373 ops/sec (±0.78%) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@Muhammad-Altabba Muhammad-Altabba changed the title [DRAFT] Implement eth.calculateFeeData Implement eth.calculateFeeData Feb 7, 2024
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.

Implement provider.getFeeData()
4 participants