-
Notifications
You must be signed in to change notification settings - Fork 11
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
fix: multiple chain setting #431
Conversation
🦋 Changeset detectedLatest commit: 79dade9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
* | ||
* @param networkList - List of networks to add | ||
* @returns Promise<null> | ||
*/ | ||
async loadSwitchableNetwork( |
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.
Only the annotations are left here without changing function to private. Or do you think you can change it directly to a private function? @mordochi
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.
我覺得可改可不改
不過如果要改的話版號可能就要生中版 不要用 patch
@@ -180,7 +180,6 @@ export default class EthereumProvider | |||
chainId: `${number}`; | |||
rpcUrls: string[]; | |||
}): Promise<void> { | |||
await this.#getBloctoProperties(); |
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.
[nit] 發現 addToSwitchable 跟 getBloctoProperties 長得好像....看起來好重複😂
* | ||
* @param networkList - List of networks to add | ||
* @returns Promise<null> | ||
*/ | ||
async loadSwitchableNetwork( |
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.
我覺得可改可不改
不過如果要改的話版號可能就要生中版 不要用 patch
344478f
to
2e2164e
Compare
feat: update the new polygon RPC endpoint
Summary
#addToSwitchable
function callthis.#getBloctoProperties
Related Links
Asana: https://app.asana.com/0/1202921060741036/1208234504509478/f
Checklist
Prerequisite/Related Pull Requests