-
Notifications
You must be signed in to change notification settings - Fork 7
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
2.0.2 Hotifx Beta #232
Conversation
Fix chainId in enforce network
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hotfix: add Nebula faucet
Add sendTx func, add more exports
Update send tx function
Update enforce netork function signature
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@skalenetwork/metaport", | |||
"version": "2.0.1", | |||
"version": "2.0.3", |
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.
Note -> Skipped 2.0.2
walletClient: WalletClient, | ||
switchNetwork: (chainId: number | bigint) => Promise<Chain | undefined>, | ||
chainId: bigint, | ||
walletClient: any, |
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.
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) |
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.
Ideally should not print errors in production unless via different debug channel.
Beta version for 2.0.2 release.