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: Set recipient to null as appropriate during contract tracing #10348

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

lukelee-sl
Copy link
Member

Description:
If the recipient address cannot be converted into an Entity Id then set its value to null. We search for the recipient address in both the ledger and in the alias map prior to setting the value to null.

Related issue(s):

Fixes #10346

Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
@lukelee-sl lukelee-sl self-assigned this Dec 6, 2023
@lukelee-sl lukelee-sl requested a review from a team December 6, 2023 23:52
@lukelee-sl lukelee-sl requested a review from a team as a code owner December 6, 2023 23:52
Copy link

github-actions bot commented Dec 7, 2023

Node: Unit Test Results

    2 294 files  ±0      2 294 suites  ±0   55m 19s ⏱️ + 12m 49s
118 433 tests ±0  118 399 ✔️ ±0  34 💤 ±0  0 ±0 
126 855 runs  ±0  126 821 ✔️ ±0  34 💤 ±0  0 ±0 

Results for commit b918250. ± Comparison against base commit 8510491.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 7, 2023

Node: HAPI Test (Crypto) Results

211 tests   201 ✔️  19m 6s ⏱️
  22 suites    10 💤
  22 files        0

Results for commit b918250.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (develop@8510491). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #10348   +/-   ##
==========================================
  Coverage           ?   63.52%           
  Complexity         ?    31012           
==========================================
  Files              ?     3342           
  Lines              ?   134702           
  Branches           ?    14009           
==========================================
  Hits               ?    85573           
  Misses             ?    45770           
  Partials           ?     3359           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Dec 7, 2023

Node: HAPI Test (Token) Results

189 tests   189 ✔️  18m 35s ⏱️
  13 suites      0 💤
  13 files        0

Results for commit b918250.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 7, 2023

Node: HAPI Test (Time Consuming) Results

21 tests     9 ✔️  24m 49s ⏱️
  2 suites  12 💤
  2 files      0

Results for commit b918250.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 7, 2023

Node: HAPI Test (Misc) Results

419 tests   316 ✔️  27m 8s ⏱️
  73 suites  103 💤
  73 files        0

Results for commit b918250.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 7, 2023

Node: E2E Test Results

    1 files      1 suites   23m 30s ⏱️
311 tests 311 ✔️ 0 💤 0
333 runs  333 ✔️ 0 💤 0

Results for commit b918250.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 7, 2023

Node: Integration Test Results

279 tests  ±0   279 ✔️ ±0   28m 36s ⏱️ +5s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit b918250. ± Comparison against base commit 8510491.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 7, 2023

Node: HAPI Test (Smart Contract) Results

396 tests   350 ✔️  51m 47s ⏱️
  55 suites    46 💤
  55 files        0

Results for commit b918250.

♻️ This comment has been updated with latest results.

tinker-michaelj
tinker-michaelj previously approved these changes Dec 7, 2023
Copy link
Collaborator

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@tinker-michaelj tinker-michaelj left a comment

Choose a reason for hiding this comment

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

LGTM!

@lukelee-sl lukelee-sl merged commit c54fc10 into develop Dec 7, 2023
24 checks passed
@lukelee-sl lukelee-sl deleted the 10346-set-recipient-to-null branch December 7, 2023 20:03
iwsimon pushed a commit that referenced this pull request Dec 7, 2023
Signed-off-by: lukelee-sl <luke.lee@swirldslabs.com>
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.

Set recipient to null as appropriate during contract tracing
2 participants