MCPcopy Create free account
hub / github.com/base/base / code_by_hash

Method code_by_hash

crates/execution/payload/src/validity.rs:691–693  ·  view source on GitHub ↗
(&mut self, _: B256)

Source from the content-addressed store, hash-verified

689 }
690
691 fn code_by_hash(&mut self, _: B256) -> Result<Bytecode, Self::Error> {
692 panic!("validity predicates must not load bytecode");
693 }
694
695 fn block_hash(&mut self, _: u64) -> Result<B256, Self::Error> {
696 panic!("validity predicates must not load block hashes");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected