Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(contracts): use constants where possible (#1238)
# Description Unsure about the best name for `constantsPerBase` or the `leafDataLengthsPerBase` but these reduce constants, don't increase gas too much (increase of ~400) and are a way to avoid stack too deep error # Checklist: - [ ] I have reviewed my diff in github, line by line. - [ ] Every change is related to the PR description. - [ ] I have [linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) this pull request to the issue(s) that it resolves. - [ ] There are no unexpected formatting changes, superfluous debug logs, or commented-out code. - [ ] The branch has been merged or rebased against the head of its merge target. - [ ] I'm happy for the PR to be merged at the reviewer's next convenience. --------- Co-authored-by: Maddiaa0 <[email protected]> Co-authored-by: Jan Beneš <[email protected]> Co-authored-by: Lasse Herskind <[email protected]> Co-authored-by: LHerskind <[email protected]>
- Loading branch information