Skip to content

refactor: use maps.Copy for cleaner map handling#1962

Merged
chasefleming merged 1 commit into
onflow:masterfrom
cuinix:master
May 19, 2025
Merged

refactor: use maps.Copy for cleaner map handling#1962
chasefleming merged 1 commit into
onflow:masterfrom
cuinix:master

Conversation

@cuinix
Copy link
Copy Markdown
Contributor

@cuinix cuinix commented May 15, 2025

Description

Optimize code using a more modern writing style.


For contributor use:

  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@chasefleming
Copy link
Copy Markdown
Member

@cuinix looks like the CI is failing on this one

@cuinix
Copy link
Copy Markdown
Contributor Author

cuinix commented May 15, 2025

@cuinix looks like the CI is failing on this one

Oh, indeed. Modified. I will keep an eye on the progress of CI.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 25.81%. Comparing base (38754bd) to head (01a4979).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1962   +/-   ##
=======================================
  Coverage   25.81%   25.81%           
=======================================
  Files          96       96           
  Lines        6648     6644    -4     
=======================================
- Hits         1716     1715    -1     
+ Misses       4755     4753    -2     
+ Partials      177      176    -1     
Flag Coverage Δ
unittests 25.81% <100.00%> (+<0.01%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chasefleming
Copy link
Copy Markdown
Member

@cuinix looks like just a linting error now.

Signed-off-by: cuinix <915115094@qq.com>
@cuinix
Copy link
Copy Markdown
Contributor Author

cuinix commented May 19, 2025

@cuinix looks like just a linting error now.

Oh, sorry, it's fixed.

It was an issue with the package import in my IDE.

@chasefleming chasefleming merged commit dbc4631 into onflow:master May 19, 2025
5 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