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

tests for transaction improvements #5879

Merged

Conversation

antdanchenko
Copy link
Contributor

@antdanchenko antdanchenko commented Sep 25, 2024

added test to build transaction from router on anvil using signals
Screenshot 2024-09-26 at 16 12 20

@status-im-auto
Copy link
Member

status-im-auto commented Sep 25, 2024

Jenkins Builds

Click to see older builds (15)
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 402040b #1 2024-09-25 12:30:23 ~1 min tests 📄log
✖️ 402040b #1 2024-09-25 12:32:26 ~3 min tests-rpc 📄log
✔️ 402040b #1 2024-09-25 12:33:20 ~4 min linux 📦zip
✔️ 402040b #1 2024-09-25 12:33:29 ~4 min ios 📦zip
✔️ 402040b #1 2024-09-25 12:33:56 ~4 min android 📦aar
✖️ 6d01cfe #2 2024-09-25 12:37:17 ~57 sec tests 📄log
✔️ 6d01cfe #2 2024-09-25 12:37:39 ~1 min android 📦aar
✔️ 6d01cfe #2 2024-09-25 12:38:31 ~2 min linux 📦zip
✔️ 6d01cfe #2 2024-09-25 12:39:05 ~2 min tests-rpc 📄log
✔️ 6d01cfe #2 2024-09-25 12:39:06 ~2 min ios 📦zip
✖️ 48f5b9d #3 2024-09-26 09:30:17 ~1 min tests 📄log
✔️ 48f5b9d #3 2024-09-26 09:31:00 ~2 min android 📦aar
✔️ 48f5b9d #3 2024-09-26 09:31:26 ~2 min linux 📦zip
✔️ 48f5b9d #3 2024-09-26 09:32:03 ~3 min tests-rpc 📄log
✔️ 48f5b9d #3 2024-09-26 09:32:23 ~3 min ios 📦zip
Commit #️⃣ Finished (UTC) Duration Platform Result
✖️ 740fef6 #4 2024-09-27 09:32:40 ~1 min tests 📄log
✔️ 740fef6 #4 2024-09-27 09:32:53 ~1 min android 📦aar
✔️ 740fef6 #4 2024-09-27 09:33:36 ~2 min linux 📦zip
✔️ 740fef6 #4 2024-09-27 09:34:32 ~3 min tests-rpc 📄log
✔️ 740fef6 #4 2024-09-27 09:36:21 ~4 min ios 📦zip
✔️ 68db02c #5 2024-09-27 11:17:02 ~1 min android 📦aar
✔️ 68db02c #5 2024-09-27 11:17:36 ~1 min tests-rpc 📄log
✔️ 68db02c #5 2024-09-27 11:17:45 ~1 min linux 📦zip
✔️ 68db02c #5 2024-09-27 11:18:49 ~3 min ios 📦zip
✔️ 68db02c #5 2024-09-27 11:47:56 ~32 min tests 📄log

@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 12.05%. Comparing base (54f971c) to head (740fef6).

✅ All tests successful. No failed tests found.

❗ There is a different number of reports uploaded between BASE (54f971c) and HEAD (740fef6). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (54f971c) HEAD (740fef6)
unit 1 0
Additional details and impacted files
@@                      Coverage Diff                      @@
##           transaction-improvements    #5879       +/-   ##
=============================================================
- Coverage                     45.83%   12.05%   -33.78%     
=============================================================
  Files                           887      837       -50     
  Lines                        157835   151692     -6143     
=============================================================
- Hits                          72343    18291    -54052     
- Misses                        77174   131181    +54007     
+ Partials                       8318     2220     -6098     
Flag Coverage Δ
functional 12.05% <100.00%> (+0.53%) ⬆️
unit ?

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

Files with missing lines Coverage Δ
services/wallet/common/const.go 54.16% <ø> (-25.00%) ⬇️
services/wallet/router/router_updates.go 42.69% <100.00%> (-7.31%) ⬇️

... and 676 files with indirect coverage changes

@saledjenic saledjenic force-pushed the transaction-improvements branch 2 times, most recently from 12ae74a to 54f971c Compare September 26, 2024 08:24
@saledjenic saledjenic force-pushed the tests-transaction-improvements branch from 6d01cfe to 48f5b9d Compare September 26, 2024 09:28
@antdanchenko antdanchenko marked this pull request as ready for review September 27, 2024 09:31
@saledjenic saledjenic force-pushed the tests-transaction-improvements branch from 740fef6 to 68db02c Compare September 27, 2024 11:15
Copy link
Contributor

@saledjenic saledjenic left a comment

Choose a reason for hiding this comment

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

@antdanchenko nice that we have tests now.

"tokenID": "ETH",
"tokenIDIsOwnerToken": False,
"toTokenID": "",
"disabledFromChainIDs": [10, 42161],
Copy link
Contributor

Choose a reason for hiding this comment

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

@antdanchenko since we're resolving selected chains based on the entry in the networks table, and since the statusgo is run with the config set in integration-tests/config.json (that provides config for the Anvil chain only), the result will be the same either we provide an empty list here or the list with all but the Anvil chain id.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for the note, we will add more anvil networks and bridges in future to simulate proper route, but for now let's keep as it is

@antdanchenko antdanchenko merged commit da522e1 into transaction-improvements Sep 27, 2024
5 of 7 checks passed
@antdanchenko antdanchenko deleted the tests-transaction-improvements branch September 27, 2024 11:44
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