-
Notifications
You must be signed in to change notification settings - Fork 497
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
11_StaticCall 部分代码有误 #105
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// 3. 用staticCall尝试调用transfer转账10000 DAI,msg.sender为测试钱包地址,交易将失败
console.log("\n3. 用staticCall尝试调用transfer转账1 DAI,msg.sender为测试钱包地址")
const tx2 = await contractDAI.transfer.staticCall("vitalik.eth", ethers.parseEther("10000"), {from: address})
console.log(
交易会成功吗?:
, tx)console.log中的tx应该为tx2
The text was updated successfully, but these errors were encountered: