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

Remove attachments enabling flag #3642

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Conversation

SupunS
Copy link
Member

@SupunS SupunS commented Oct 23, 2024

Description

Attachments are enabled on all networks now. So the flag is no longer needed.


  • 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

@SupunS SupunS self-assigned this Oct 23, 2024
Copy link

Cadence Benchstat comparison

This branch with compared with the base branch onflow:master commit 85f46f7
The command for i in {1..N}; do go test ./... -run=XXX -bench=. -benchmem -shuffle=on; done was used.
Bench tests were run a total of 7 times on each branch.

Collapsed results for better readability

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.20%. Comparing base (d90d449) to head (0e1b932).
Report is 68 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3642      +/-   ##
==========================================
- Coverage   80.53%   80.20%   -0.33%     
==========================================
  Files         432      411      -21     
  Lines       97964    95543    -2421     
==========================================
- Hits        78891    76629    -2262     
+ Misses      16321    16228      -93     
+ Partials     2752     2686      -66     
Flag Coverage Δ
unittests 80.20% <ø> (-0.33%) ⬇️

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.

@SupunS
Copy link
Member Author

SupunS commented Oct 23, 2024

The backward compatibility checker fails due to missing 5f195aa4322e5dbb.EVMHelper:71(5:2):*sema.AttachmentsNotEnabledError error, because the analyzer tool didn't have the attachments enabled flag on. So this is expected.

Interestingly, seems EVMHelper is the only one using attachments at the moment 😄

@SupunS SupunS marked this pull request as ready for review October 23, 2024 18:58
Copy link
Member

@turbolent turbolent left a comment

Choose a reason for hiding this comment

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

Nice!

@SupunS SupunS merged commit af8e417 into master Oct 23, 2024
10 of 14 checks passed
@SupunS SupunS deleted the supun/cleanup-attachments-flag branch October 23, 2024 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants