Skip to content

Conversation

@AtomicAzzaz
Copy link
Contributor

@AtomicAzzaz AtomicAzzaz commented Jul 26, 2022

Implementation of delegateCall library written in Yul
We focus on the "max" columns of gas reports: when the delegateCall doesn't revert

OZ inspired delegateCall :
image
Yul optimized delegateCall :
image

Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

Small code improvements

@MerlinEgalite MerlinEgalite force-pushed the feat/mep-delegate-call branch from 65dda1f to c3d0388 Compare July 27, 2022 20:07
@MerlinEgalite MerlinEgalite changed the title Feat/mep delegate call Improve delegate call Jul 27, 2022
@github-actions
Copy link

github-actions bot commented Jul 27, 2022

Changes to gas costs

🧾 Summary

Contract Method Avg (+/-) %
Caller delegateCall -501 ✅ +3.10%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
Caller 129,496 (-29,030) delegateCall 3,373 (-481) +2.81% 4,347 (-501) +3.10% 3,482 (-518) +3.05% 5,749 (-491) +3.33% 5 (0)

MerlinEgalite and others added 7 commits July 27, 2022 22:15
@MerlinEgalite MerlinEgalite merged commit b1acf16 into main Jul 28, 2022
@Rubilmax Rubilmax deleted the feat/mep-delegate-call branch December 13, 2022 14:08
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.

3 participants