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

Method insert

crates/proof/proof/src/boot.rs:483–485  ·  view source on GitHub ↗
(&mut self, key: U256, value: Vec<u8>)

Source from the content-addressed store, hash-verified

481 }
482
483 fn insert(&mut self, key: U256, value: Vec<u8>) {
484 self.data.push((PreimageKey::new_local(key.to()), value));
485 }
486
487 fn insert_rollup_config(&mut self, chain_id: u64, rollup_config: &RollupConfig) {
488 let mut value =

Calls 2

pushMethod · 0.45
toMethod · 0.45

Tested by 3

prove_block_rangeMethod · 0.36