solidity: 无法在实现代码中打印log. 只能用event来实现非常原始的输出。 好消息是可以使用 foundry在单元测试中打印log. solidity: for 跟java一样   for(i = 0; i < array.length; i++ ) ... if 跟java一样 class/contract 跟java一样 override 跟...
refer to: https://ethereum.stackexchange.com/questions/143171/hardhat-vs-foundry-which-to-use-for-testing https://jamesbachini.com/hardhat-vs-foundry/ 这个文章很精彩  先说下我这些天使用foundry的感受: 1. 速度超级快,运...
refer to: https://alpha-app.agentlayer.xyz/aegisx 例如:对这个代码: pragma solidity ^0.8.0; import "./ReentrancyGuard.sol"; /** * @title A Very Safe Lender */ interface ERC20Like { function tran...
Ai相关概念
Linux Sudo的同时保持http_proxy Https_proxy