sol_evm 0.1.2 copy "sol_evm: ^0.1.2" to clipboard
sol_evm: ^0.1.2 copied to clipboard

EVM opcode table, assembler, bytecode linker, and gas cost model for the sol_pkgs Solidity compiler.

0.1.2 #

  • FEAT: Evm — a local chain with a full account model (nonce, balance, code, storage): deploy, call, staticCall, simulate, estimateGas, mine. State accumulates across transactions.
  • FEAT: WorldState — journaled snapshot/rollback, EIP-2929 warm/cold access sets, refund accounting, and JSON persistence via encode/decode.
  • FEAT: full CALL family (CALL, CALLCODE, DELEGATECALL, STATICCALL) plus CREATE/CREATE2 with mainnet address derivation, and SELFDESTRUCT under EIP-6780.
  • FEAT: Interpreter for running standalone bytecode with no chain behind it.
  • FEAT: gas model covering intrinsic cost, memory expansion, EIP-2929 access pricing, EIP-2200 net SSTORE metering, EIP-3529 refund caps and the EIP-150 63/64 rule.
  • FEAT: opcode-level tracing (TraceEntry, TraceRecorder) and structured failures via HaltReason, with Error(string)/Panic(uint256) decoding.
  • FEAT: Hardfork switch for Shanghai and Cancun opcode sets.
  • FEAT: precompiles sha256 (0x02), identity (0x04) and modexp (0x05); the rest of the reserved range fails explicitly rather than returning zeroes.

0.1.1 #

  • FIX: a little fix.
  • FIX: Implement unimplemented PLAN.md features (types, linker, Yul parser/optimizer, optimizer flag) (#3).
  • FIX: for release.
  • FEAT: enhance sol_web3 with WebSocket support and JSON-RPC transport.

0.1.0+2 #

  • FIX: Implement unimplemented PLAN.md features (types, linker, Yul parser/optimizer, optimizer flag) (#3).

0.1.0+1 #

  • FIX: for release.
0
likes
160
points
104
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

EVM opcode table, assembler, bytecode linker, and gas cost model for the sol_pkgs Solidity compiler.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, sol_support

More

Packages that depend on sol_evm