-
Notifications
You must be signed in to change notification settings - Fork 3
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
update:package #127
update:package #127
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.
マージ先をリリースブランチrelease-0.1.13
にしてください。
src/vwbl/erc1155/VWBL.ts
Outdated
const chainId = | ||
"web3" in this.opts ? await this.opts.web3.eth.getChainId() : await this.opts.ethersSigner.getChainId(); | ||
const chainIdBigInt = | ||
"web3" in this.opts ? await (this.opts.web3.eth as any).getChainId() : await this.opts.ethersSigner.getChainId(); |
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.
(this.opts.web3.eth as any).getChainId()
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.
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.
test/large/vwbl/mintOnGoerli.test.ts
Outdated
@@ -25,7 +24,7 @@ const hdWalletProvider = new HDWalletProvider({ | |||
privateKeys: [process.env.PRIVATE_KEY as string], | |||
providerOrUrl: providerUrl | |||
}) | |||
const web3 = new Web3(hdWalletProvider as provider); | |||
const web3 = new Web3(hdWalletProvider as 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.
any型にキャストしない場合どのエラーが出ました?
コンパイル通るまで
Web3アップグレード対応
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.
2点as anyの箇所があったので削除してマージお願いします。
src/vwbl/erc1155/VWBL.ts
Outdated
const chainId = | ||
"web3" in this.opts ? await this.opts.web3.eth.getChainId() : await this.opts.ethersSigner.getChainId(); | ||
const chainIdBigInt = | ||
"web3" in this.opts ? await (this.opts.web3.eth as any).getChainId() : await this.opts.ethersSigner.getChainId(); |
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.
as anyを削除してください
src/vwbl/erc1155/VWBL.ts
Outdated
const chainId = | ||
"web3" in this.opts ? await this.opts.web3.eth.getChainId() : await this.opts.ethersSigner.getChainId(); | ||
const chainIdBigInt = | ||
"web3" in this.opts ? await (this.opts.web3.eth as any).getChainId() : await this.opts.ethersSigner.getChainId(); |
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.
as anyを削除してください
このファイルいらないわ
Web3.jsのアップデート対応
VWBL-Tutorial-Appにて動作確認済み
.eslintrc.jsに下記追加