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

The merge #693

Merged
merged 134 commits into from
Oct 29, 2024
Merged

The merge #693

merged 134 commits into from
Oct 29, 2024

Conversation

peterjah
Copy link
Collaborator

No description provided.

gregLibert and others added 30 commits April 17, 2024 18:02
Co-authored-by: Grégory Libert <gl@massa.net>
* Add smart contract

* Fix review comments

* put back getEvents

* fix operation manager test

* fix bigint

* Move tests in right folder

* [xp] rename waitFinalExecution

* fix test by generating random secret key

---------

Co-authored-by: BenRey <br@massa.net>
Co-authored-by: Pierre Seznec <petterseznec@gmail.com>
* test storage

* complete address test

* complete internal test

* test key file

* Improve key address generation test
Copy link

github-actions bot commented Oct 29, 2024

Coverage report for experimental massa-web3

St.
Category Percentage Covered / Total
🟡 Statements
64.71% (-29.74% 🔻)
1168/1805
🔴 Branches
46.43% (-43.42% 🔻)
195/420
🔴 Functions
47.65% (-42.45% 🔻)
213/447
🟡 Lines
65.01% (-29.56% 🔻)
1161/1786
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / address.ts
90.14% 52.94% 100% 90.14%
🟢
... / base58.ts
100% 100% 100% 100%
🟢
... / versioner.ts
100% 100% 100% 100%
🟢
... / varintVersioner.ts
100% 100% 100% 100%
🟡
... / signature.ts
63.33% 20% 85.71% 63.33%
🟢
... / keys.ts
97.53% 80% 100% 97.53%
🟢
... / blake3.ts
100% 100% 100% 100%
🟢
... / ed25519.ts
100% 100% 100% 100%
🟢
... / storage.ts
100% 100% 100% 100%
🟢
... / mas.ts
96.97% 87.5% 100% 96.97%
🟢
... / u64.ts
80% 100% 75% 80%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / u8.ts
100% 100% 100% 100%
🟢
... / integers.ts
97.06% 89.09% 100% 96.97%
🟢
... / index.ts
80% 100% 0% 80%
🟡
... / args.ts
63% 61.54% 46.94% 63%
🟢
... / strings.ts
100% 100% 100% 100%
🟢
... / numbers.ts
100% 100% 100% 100%
🟢
... / bool.ts
100% 100% 100% 100%
🟢
... / arrays.ts
85.71% 83.33% 100% 85.71%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / u16.ts
100% 100% 100% 100%
🟢
... / u32.ts
100% 100% 100% 100%
🟢
... / u128.ts
100% 100% 100% 100%
🟢
... / u256.ts
100% 100% 100% 100%
🟢
... / i8.ts
100% 100% 100% 100%
🟢
... / i16.ts
100% 100% 100% 100%
🟢
... / i32.ts
100% 100% 100% 100%
🟢
... / i64.ts
100% 100% 100% 100%
🟢
... / i128.ts
100% 100% 100% 100%
🟢
... / i256.ts
100% 100% 100% 100%
🟢
... / blockchainClient.mock.ts
100% 100% 100% 100%
🟢 src/index.ts 100% 100% 100% 100%
🟢 src/account.ts 87.5% 50% 100% 87.5%
🟢
... / passwordSeal.ts
84.85% 47.06% 100% 84.85%
🟡
... / cross-browser.ts
60.38% 46.67% 87.5% 62.75%
🟢
... / index.ts
100% 100% 100% 100%
🔴
... / smartContract.ts
11.11% 0% 0% 11.11%
🟢
... / constants.ts
100% 100% 100% 100%
🟢 src/client/index.ts 100% 100% 100% 100%
🔴
... / jsonRPCClient.ts
50% 100% 0% 50%
🔴
... / publicAPI.ts
6.74% 0% 0% 7.32%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / types.ts
100% 100% 100% 100%
🟡
... / operation.ts
64.86% 33.33% 90% 64.86%
🟢 src/utils/index.ts 100% 100% 100% 100%
🔴 src/utils/isNode.ts 50% 0% 0% 50%
🟢
... / networks.ts
100% 100% 100% 100%
🟢 src/utils/events.ts 100% 100% 100% 100%
🔴 src/utils/maths.ts 50% 0% 0% 50%
🔴
... / numberFormat.ts
13.89% 0% 0% 14.71%
🔴
... / connector.ts
2% 0% 0% 2%
🔴 src/client/http.ts 29.41% 0% 16.67% 29.41%
🔴 src/client/retry.ts 36.36% 0% 0% 36.36%
🟢
... / constants.ts
100% 100% 100% 100%
🔴
... / formatObjects.ts
50% 100% 0% 50%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🔴
... / web3Provider.ts
12% 0% 0% 12%
🔴
... / smartContracts.ts
20.37% 0% 0% 20.75%
🟢 src/errors/index.ts 100% 100% 0% 100%
🟢 src/errors/base.ts 100% 100% 100% 100%
🟢
... / codes.ts
100% 100% 100% 100%
🟡
... / maxGas.ts
60% 0% 0% 60%
🟡
... / minimalFee.ts
60% 100% 0% 60%
🟡
... / insufficientBalance.ts
60% 100% 0% 60%
🔴 src/dataStore.ts 23.08% 100% 0% 23.08%
🔴
... / bytecode.ts
50% 0% 0% 50%
🟢
... / operationManager.ts
87.5% 66.67% 100% 87.5%
🟢
... / big-varint.ts
80.65% 50% 100% 80.65%
🟢
... / deployer-bytecode.ts
100% 100% 100% 100%
🟢
... / constants.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🔴
... / token.ts
14.29% 100% 0% 14.29%
🔴
... / tokens.ts
29.63% 0% 0% 29.63%
🔴
... / mns.ts
21.74% 0% 0% 21.74%
🟢 src/events/index.ts 100% 100% 100% 100%
🔴
... / eventsPoller.ts
16.22% 0% 0% 16.22%
🟢
... / provider.mock.ts
100% 100% 100% 100%
🟢
... / internal.ts
90.91% 100% 100% 90.91%

Test suite run success

132 tests passing in 14 suites.

Report generated by 🧪jest coverage report action from ee340ef

Copy link

sonarcloud bot commented Oct 29, 2024

@peterjah peterjah merged commit afa381f into main Oct 29, 2024
7 checks passed
@peterjah peterjah deleted the the_merge branch October 29, 2024 14:47
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.

7 participants