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

2.0.2 Hotifx Beta #232

Merged
merged 12 commits into from
Jan 8, 2024
Merged

2.0.2 Hotifx Beta #232

merged 12 commits into from
Jan 8, 2024

Conversation

dmytrotkk
Copy link
Contributor

@dmytrotkk dmytrotkk commented Nov 14, 2023

Beta version for 2.0.2 release.

Copy link

vercel bot commented Nov 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
metaport ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 11, 2023 4:46pm

@@ -1,6 +1,6 @@
{
"name": "@skalenetwork/metaport",
"version": "2.0.1",
"version": "2.0.3",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note -> Skipped 2.0.2

walletClient: WalletClient,
switchNetwork: (chainId: number | bigint) => Promise<Chain | undefined>,
chainId: bigint,
walletClient: any,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Usage of cast to WalletClient to create local instance _walletClient on line 156 starts here.

Ideal Cleanup

  • Type any-> WalletClient
  • Remove use of _walletClient unless it specifically uses a local scoped version?

await response.wait()
return { status: true, err: undefined, response: response }
} catch (err) {
console.error(err)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ideally should not print errors in production unless via different debug channel.

@dmytrotkk dmytrotkk merged commit 3570085 into beta Jan 8, 2024
5 of 7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants