REVM Is All You Need. How to build simulated blockchain… | by Solid Quant | Medium
You wake up in the morning feeling very confident about your progress yesterday. Now you’re about to begin working on your Solidity smart contract. “Oh, this shouldn’t be so difficult; it’s just Solidity after all.” And indeed, it’s just Solidity after all. However, you’re now on your first function call — which only took 5 minutes of your time to write. “Oh, I’m fast”, you think. It’s an all too familiar “swap” call to a Uniswap V2 pair contract that you’d like to fire up using your MEV bot. Just one more step away and you know you’re done. But life isn’t easy. You deploy your contract to the Testnet or the Mainnet using Remix / Foundry / Hardhat / Brownie (you name it). And as soon as you run “swap”, EVM REVERT 0x\b2… GN. Repeat… So that’s what smart contract development looks like from behind the scenes. Setting aside the glory, most of our time is dedicated to testing and simulating our contract calls, making sure that state changes occur as expected. Even with the amazing tooling
REVM Is All You Need How to build simulated blockchain realities (and rule that world) Solid Quant 40 min read · Sep 11, 2023 -- 10 Listen Share Press enter or click to view image in full size Minecraft Pokemon Ditto collabo with arXiv [Abstract] GM. You wake up in the morning feeling very confident about your progress yesterday. Now you’re about to begin working on your Solidity smart contract. “Oh, this shouldn’t be so difficult; it’s just Solidity after all.” And indeed, it’s just Solidity after all. However, you’re now on your first function call — which only took 5 minutes of your time to
saved by
related reading
- How to add a custom precompile contractgithub.com
- EVM Codes - Opcodesevm.codes
- Introduction to Smart Contracts — Solidity 0.8.38-develop documentationdocs.soliditylang.org
- revm/documentation/src/crates/precompile.md at b7b92aee232558ea48e9580bfac74d442a17babd · bluealloy/revmgithub.com
- solidity - Are there any examples of using precompiled contracts? - Ethereum Stack Exchangeethereum.stackexchange.com
- The Ethereum Virtual Machine — How does it work? | by Luit | MyCrypto | Mediummedium.com
- Understand EVM bytecode – Part 1blog.trustlook.com
- LVR-minimization in Uniswap V4 - Decentralized exchanges - Ethereum Researchethresear.ch
- How to Learn Solidity Programming (the Fun Way) | Nat Eliason | Nat Eliasonnateliason.com
- You Could Have Invented Account Abstraction: Part 1 | Alchemyalchemy.com
- Introducing EVM Equivalence. Or, Ethereum All the Way Down: How We… | by Optimism | Optimism PBC Blog | Mediummedium.com
- Should Ethereum be okay with enshrining more things in the protocol?vitalik.eth.limo