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

fix(RoninGateway): cache calldata length, nit _i #5

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

nxqbao
Copy link
Contributor

@nxqbao nxqbao commented Mar 6, 2024

Description

  • Cache calldata.length to memory to reduce gas

Checklist

  • I have clearly commented on all the main functions following the NatSpec Format
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works

@nxqbao nxqbao merged commit 27b6b07 into release/v3.1.0 Mar 6, 2024
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.

2 participants