---
title: "execution/consensus"
description: "Validates OP blocks and verifies trie roots inside the execution layer."
source: https://basehub.org/crates/execution/consensus/
---
import { LinkCard } from '@astrojs/starlight/components';

## Overview

The `execution/consensus` sub-crate (`reth-optimism-consensus`) is part of the [execution crate group](/crates/execution/overview/).

It validates OP block headers and bodies and verifies state, transaction, and receipt trie roots before blocks enter the chain.

## Source

<LinkCard title="View source on GitHub" href="https://github.com/base/base/tree/main/crates/execution/consensus" />
