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

[UPD] GAS optimisations / DRY #1268

Closed
wants to merge 19 commits into from
Closed

Conversation

johnashu
Copy link

@johnashu johnashu commented Jun 28, 2023

Gas optimisations and DRY standards.

Remove length from loops

Remove declarations out of loops (except contracts/helpers/TransferHelper.sol - handled here #1261 )

Abstract duplicate code into DRY functions

Better naming for 'items'

@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (70a457d) 99.77% compared to head (1c61fae) 99.77%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1268   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files          22       22           
  Lines        1363     1363           
  Branches      220      220           
=======================================
  Hits         1360     1360           
  Misses          3        3           
Flag Coverage Δ
foundry 75.13% <ø> (ø)
production 100.00% <ø> (ø)
reference 100.00% <ø> (ø)

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.

@johnashu johnashu changed the title [UPD] length optimisations [UPD] length optimisations / DRY Jul 25, 2023
@johnashu johnashu changed the title [UPD] length optimisations / DRY [UPD] GAS optimisations / DRY Jul 26, 2023
@github-actions
Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

@github-actions github-actions bot added the Stale label Sep 25, 2023
@github-actions github-actions bot removed the Stale label Oct 4, 2023
@johnashu
Copy link
Author

@0age Can you trigger the workflow again?

@johnashu
Copy link
Author

johnashu commented Dec 1, 2023

@0age Is this up for review? Is there anything I need to do?

@ryanio
Copy link
Contributor

ryanio commented Jan 4, 2024

i don't see an option to trigger workflow, can you push a fresh commit to see if it shows up? thanks for the PR!

@johnashu
Copy link
Author

johnashu commented Jan 6, 2024

i don't see an option to trigger workflow, can you push a fresh commit to see if it shows up? thanks for the PR!

Looks like I have a conflict anyhow so let me resolve that!.. It only triggered on my first commit and @0age triggered the last time..

@johnashu
Copy link
Author

johnashu commented Jan 6, 2024

i don't see an option to trigger workflow, can you push a fresh commit to see if it shows up? thanks for the PR!

I fixed the merge conflicts but it still does not trigger automatically :)

Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

@github-actions github-actions bot added the Stale label Mar 25, 2024
@github-actions github-actions bot closed this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants