-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Migrate utils-structs tests to ethersjs #4748
Migrate utils-structs tests to ethersjs #4748
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I committed a couple of nits and also removed lodash.zip
as a dependency.
LGTM 🙌🏻
} | ||
}); | ||
|
||
it('upper lookup & upperLookupRecent', async function () { | ||
for (let i = 0; i < 14; ++i) { | ||
const value = last(this.checkpoints.filter(x => i >= x.key))?.value || '0'; | ||
const value = this.checkpoints.findLast(x => i >= x.key)?.value || 0n; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately findLast
is a node 18 addition.
I'm tracking an update to Node in #4719
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: [email protected] |
PR Checklist
npx changeset add
)