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

[ADHOC] chore(sdk): enable useAwait biome config #101

Merged
merged 4 commits into from
Sep 20, 2024
Merged

[ADHOC] chore(sdk): enable useAwait biome config #101

merged 4 commits into from
Sep 20, 2024

Conversation

topocount
Copy link
Contributor

Description

This config ensures awaits are used for async functions within async functions

@topocount topocount requested a review from a team as a code owner September 19, 2024 20:44
@github-actions github-actions bot added the SDK label Sep 19, 2024
Copy link
Contributor

github-actions bot commented Sep 19, 2024

Warnings
⚠️

By using the [ADHOC] title prefix, you are bypassing best practice protections.

⚠️

Are you sure you want to be submitting a change without including a changeset? Please see the publishing section of the README

Generated by 🚫 dangerJS against 80a7f09

@topocount topocount force-pushed the use-await branch 3 times, most recently from 2e53953 to f359340 Compare September 19, 2024 21:45
@@ -119,7 +119,7 @@ describe('EventAction', () => {
filterType: FilterType.EQUAL,
fieldType: PrimitiveType.ADDRESS,
fieldIndex: 2,
filterData: accounts.at(1)!.account.toUpperCase(),
filterData: accounts[1].account.toUpperCase(),
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this refactor solves the core issue which is that the item is potentially undefined. Is the bracket access a preference thing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It does because the accounts are fixed-length tuple now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@topocount topocount force-pushed the use-await branch 2 times, most recently from 78f7194 to cb8eecb Compare September 20, 2024 19:48
@topocount topocount merged commit 1cb65a0 into main Sep 20, 2024
6 checks passed
@topocount topocount deleted the use-await branch September 20, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants