Skip to content

perf: Faster ABI encoding for MulticallClient#9057

Draft
FrederikBolding wants to merge 3 commits into
mainfrom
fb/fast-abi-encoding-for-assets
Draft

perf: Faster ABI encoding for MulticallClient#9057
FrederikBolding wants to merge 3 commits into
mainfrom
fb/fast-abi-encoding-for-assets

Conversation

@FrederikBolding

Copy link
Copy Markdown
Member

Explanation

Improve MulticallClient performance by speeding up ABI encoding for address types.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them


const fastAbiCoder = new FastAbiCoder();

function encodeFunctionData(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This should probably live somewhere else to be re-usable.

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.

1 participant