FABRKNT
Inside Revm — Reading the EVM Engine
Inside Revm
Lesson 12 of 17·QUIZ4 min25 XP

Treat this page as a workbench, not a blog post. The goal is to extract a reusable mental model from the source and carry it into the rest of the Fabrknt stack.

Course
Inside Revm — Reading the EVM Engine
Lesson role
QUIZ
Sequence
12 / 17

Quiz — Database trait

Question

Confirm: 4 read methods + 3 companions + optimisations + 3 real impls.

Principle (minimum model)

  • Database trait + DatabaseRef + DatabaseCommit + DatabaseAsync + CacheDB + AlloyDB + EmptyDB + StateProviderDatabase.

Worked example + steps

Quiz: did the Database trait shape stick?

Four questions covering the trait's design decisions and the read/write split. Same rule: you can't nod past a quiz.

If you miss two or more, scroll back to Building the Database trait before going on to the drill.

Summary (3 lines)

  • Quiz confirms Database trait understanding.
  • Get two+ wrong → re-read buildup + companions.
  • Pass → drill: implement ZeroDb and watch revm read state.