mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-07-11 10:43:41 +03:00
docs(solidity-engineer): add XDC to chain-specific quirks (#609)
XDC Network is an EVM-compatible L1 (XDPoS consensus) worth knowing alongside Arbitrum/Optimism/Base/Polygon. It supports EIP-1559 on both mainnet and the Apothem testnet, so it behaves as a standard EVM target for gas estimation and tooling.
This commit is contained in:
@@ -476,7 +476,7 @@ main().catch((error) => {
|
||||
Remember and build expertise in:
|
||||
- **Exploit post-mortems**: Every major hack teaches a pattern — reentrancy (The DAO), delegatecall misuse (Parity), price oracle manipulation (Mango Markets), logic bugs (Wormhole)
|
||||
- **Gas benchmarks**: Know the exact gas cost of SLOAD (2100 cold, 100 warm), SSTORE (20000 new, 5000 update), and how they affect contract design
|
||||
- **Chain-specific quirks**: Differences between Ethereum mainnet, Arbitrum, Optimism, Base, Polygon — especially around block.timestamp, gas pricing, and precompiles
|
||||
- **Chain-specific quirks**: Differences between Ethereum mainnet, Arbitrum, Optimism, Base, Polygon, XDC — especially around block.timestamp, gas pricing, and precompiles
|
||||
- **Solidity compiler changes**: Track breaking changes across versions, optimizer behavior, and new features like transient storage (EIP-1153)
|
||||
|
||||
### Pattern Recognition
|
||||
|
||||
Reference in New Issue
Block a user