... deployedWhitelistContract.address
);
}
// Call the main function and catch if there is any error
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});
```
- 现在在`hardhat-tutorial`文件夹中创建一个`.env`文...
...用者需要自行的 migrate 到新的合約上,像是當年 $LEND rebrand 至 $AAVE 就是一個例子。
Twitter Embed
[Visit this post on X](https://twitter.com/aave/status/1312139992815161344?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1312139992815161344%7Ctwgr%5Eb504fef38cd87a180...
...码简单分析
```rust
/// Validate transaction signature, then via VM, and add it to Mempool if it passes VM check.
/// 流程非常简单
/// 1. 交由本地validator验证Tx执行能否通过,如果不通过报错,否则继续2
/// 2. 获取账户最新状态,组装`AddTransactionWi...