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

Release/4.3.0 #6630

Merged
merged 11 commits into from
Dec 4, 2023
Merged

Release/4.3.0 #6630

merged 11 commits into from
Dec 4, 2023

Conversation

luu-alex
Copy link
Contributor

Description

Please include a summary of the changes and be sure to follow our Contribution Guidelines.

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

cloudflare-workers-and-pages bot commented Nov 29, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b9b5fe0
Status: ✅  Deploy successful!
Preview URL: https://3115dfed.web3-js-docs.pages.dev
Branch Preview URL: https://release-4-3-0.web3-js-docs.pages.dev

View logs

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

Merging #6630 (b9b5fe0) into 4.x (b3ccd5c) will increase coverage by 0.41%.
Report is 2 commits behind head on 4.x.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##              4.x    #6630      +/-   ##
==========================================
+ Coverage   89.44%   89.85%   +0.41%     
==========================================
  Files         215      215              
  Lines        8296     8297       +1     
  Branches     2241     2241              
==========================================
+ Hits         7420     7455      +35     
+ Misses        876      842      -34     
Flag Coverage Δ
UnitTests 89.85% <100.00%> (+0.41%) ⬆️

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

Components Coverage Δ
web3 ∅ <ø> (∅)
web3-core ∅ <ø> (∅)
web3-errors ∅ <ø> (∅)
web3-eth ∅ <ø> (∅)
web3-eth-abi ∅ <ø> (∅)
web3-eth-accounts ∅ <ø> (∅)
web3-eth-contract ∅ <ø> (∅)
web3-eth-ens ∅ <ø> (∅)
web3-eth-iban ∅ <ø> (∅)
web3-eth-personal ∅ <ø> (∅)
web3-net ∅ <ø> (∅)
web3-providers-http ∅ <ø> (∅)
web3-providers-ipc ∅ <ø> (∅)
web3-providers-ws ∅ <ø> (∅)
web3-rpc-methods ∅ <ø> (∅)
web3-utils ∅ <ø> (∅)
web3-validator ∅ <ø> (∅)

Copy link

github-actions bot commented Nov 29, 2023

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 589 KB 589 KB 67 bytes 0.01%
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

No assets were smaller

Unchanged

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


### Changed

- Dependencies updated
Copy link
Contributor

Choose a reason for hiding this comment

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

if there are only patch & minor dep updates we can skip changes in these packages,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

skipped packages that are only patch/minor dep updates

@jdevcs
Copy link
Contributor

jdevcs commented Nov 29, 2023

also could you see reason of failing integration tests in geth

@luu-alex
Copy link
Contributor Author

sepolia, mainnet and geth estimategas function tests are failing. This has been occuring for mainnet and sepolia for a while but is quite new for geth estimate_gas function to be failing

@Muhammad-Altabba
Copy link
Contributor

also could you see reason of failing integration tests in geth

I think geth has been updated; And with that update the gas estimate differently. But this probably has to be more investigated.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@Muhammad-Altabba Muhammad-Altabba left a comment

Choose a reason for hiding this comment

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

Could you please double check the errors. There is this error in the unit lint, for example:

web3-core: 27:1 error 'web3-providers-ws' should be listed in the project's dependencies. Run 'npm i -S web3-providers-ws' to add it import/no-extraneous-dependencies

And this at the E2E Network Tests (http, mainnet):

FAIL test/e2e/get_proof.test.ts
● sepolia tests - getProof › getProof

expect(received).toMatchObject(expected)

- Expected  - 1
+ Received  + 0

@@ -1,7 +1,6 @@
  Object {
-   "accountProof": Any<Array>,
    "balance": Any<BigInt>,
    "codeHash": Any<String>,
    "nonce": Any<BigInt>,
    "storageHash": Any<String>,
    "storageProof": Any<Array>,

  70 | 			expect(result).toEqual(expectedProof);
  71 | 		} else {
> 72 | 			expect(result).toMatchObject<AccountObject>({
     | 			               ^
  73 | 				accountProof: expect.any(Array<string>),
  74 | 				balance: expect.any(BigInt),
  75 | 				codeHash: expect.any(String),

  at test/e2e/get_proof.test.ts:72:19
  at fulfilled (test/e2e/get_proof.test.ts:22:58)

@luu-alex luu-alex changed the title [draft] Release/4.3.0 Release/4.3.0 Dec 4, 2023
@luu-alex
Copy link
Contributor Author

luu-alex commented Dec 4, 2023

@Muhammad-Altabba fixed both, thank you

@Muhammad-Altabba Muhammad-Altabba self-requested a review December 4, 2023 21:47
Copy link
Contributor

@Muhammad-Altabba Muhammad-Altabba left a comment

Choose a reason for hiding this comment

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

Could you please create an issue for the failing tests: https://github.com/web3/web3.js/actions/runs/7091989375/job/19302456686?pr=6630
Many thanks,

@luu-alex luu-alex merged commit 5aa8b7f into 4.x Dec 4, 2023
73 of 78 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.

4 participants