Tag: blockchain
All the articles with the tag "blockchain".
-
Build realistic DeFi test data: fee-on-transfer, rebasing and blacklistable token mocks, forked mainnet state and failure scenarios, with Hardhat code.
-
How to test upgradeable contracts: storage layout checks, proxy upgrade simulation, initializer tests, gas checks and a pre-upgrade checklist.
-
Set up automated smart contract tests with Hardhat and ethers v6, run them in GitHub Actions on every push, and add gas, fuzz and fork tests.
-
Budget for web3 testing: audits, QA salaries, infrastructure and gas, with sourced ranges and a sample annual budget for a mid-sized project.
-
Web3 testing differs from web2 in environment, state, async behavior, security, performance and auth. Practical fixes for each, with Hardhat examples.