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

chore: cherry pick feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes (#3387) to release/0.64 #3436

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

natanasow
Copy link
Collaborator

@natanasow natanasow commented Jan 31, 2025

Description:

cherry pick feat: transaction with CONTRACT_NEGATIVE_VALUE breaks some routes (#3387) to release/0.64 #3436

Related issue(s):

Fixes #3367

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@natanasow natanasow changed the base branch from main to release/0.64 January 31, 2025 15:26
@quiet-node quiet-node added the process Build, test and deployment-process related tasks label Jan 31, 2025
@quiet-node quiet-node added this to the 0.64.4 milestone Jan 31, 2025
quiet-node
quiet-node previously approved these changes Jan 31, 2025
Copy link

github-actions bot commented Jan 31, 2025

Test Results

 22 files   -   1  323 suites  +35   49m 33s ⏱️ - 18m 28s
616 tests  -   2  608 ✅ +  3  4 💤 ±0  4 ❌  - 5 
856 runs  +159  846 ✅ +163  6 💤 +2  4 ❌  - 6 

For more details on these failures, see this check.

Results for commit ede1ea8. ± Comparison against base commit 5f9c2a4.

♻️ This comment has been updated with latest results.

@quiet-node quiet-node dismissed stale reviews from nadezhdapopovaa and themself via e459dd5 January 31, 2025 17:21
@quiet-node quiet-node requested review from a team as code owners January 31, 2025 17:21
natanasow and others added 2 commits January 31, 2025 11:21
…3387)

* chore: handle contract negative value calls

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: remove .only

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: fix comments

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: edit imports

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: resolving comments

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: fix json parsing

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: add e2e test

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: fix test

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: fix test

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: fix flaky test

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: tests

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: try to disable the test

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: add test

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: resolve comments

Signed-off-by: nikolay <n.atanasow94@gmail.com>

* chore: simplify the tests

Signed-off-by: nikolay <n.atanasow94@gmail.com>

---------

Signed-off-by: nikolay <n.atanasow94@gmail.com>

Revert "feat: transaction with `CONTRACT_NEGATIVE_VALUE` breaks some routes (#3387)"

This reverts commit 8bc3991.

Reapply "feat: transaction with `CONTRACT_NEGATIVE_VALUE` breaks some routes (#3387)"

This reverts commit 8d52b9a07a43cecd6241eaa9a7f2e65c4df8d4e5.

Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
@quiet-node quiet-node merged commit 745a2e7 into release/0.64 Jan 31, 2025
47 checks passed
@quiet-node quiet-node deleted the cherry-pick-3387 branch January 31, 2025 18:32
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

Attention: Patch coverage is 84.21053% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.16%. Comparing base (5f9c2a4) to head (ede1ea8).
Report is 1 commits behind head on release/0.64.

Files with missing lines Patch % Lines
packages/relay/src/formatters.ts 75.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release/0.64    #3436      +/-   ##
================================================
+ Coverage         85.01%   85.16%   +0.15%     
================================================
  Files                69       69              
  Lines              4765     4780      +15     
  Branches           1074     1077       +3     
================================================
+ Hits               4051     4071      +20     
- Misses              398      399       +1     
+ Partials            316      310       -6     
Flag Coverage Δ
config-service 98.14% <ø> (ø)
relay 79.64% <100.00%> (+0.03%) ⬆️
server 83.30% <ø> (ø)
ws-server 36.66% <ø> (ø)

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

Files with missing lines Coverage Δ
packages/relay/src/lib/clients/mirrorNodeClient.ts 88.88% <100.00%> (+0.15%) ⬆️
packages/relay/src/formatters.ts 70.18% <75.00%> (+4.17%) ⬆️

... and 1 file with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process Build, test and deployment-process related tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants