mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
remove no-longer used SetVerkleProof method
This commit is contained in:
parent
de728294d9
commit
84ef0db2c0
1 changed files with 0 additions and 13 deletions
|
|
@ -505,19 +505,6 @@ func (b *Block) Hash() common.Hash {
|
||||||
return h
|
return h
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetVerkleProof attaches an execution witness + proof to the block in a verkle context.
|
|
||||||
func (b *Block) SetVerkleProof(vp *verkle.VerkleProof, statediff verkle.StateDiff) {
|
|
||||||
b.witness = &ExecutionWitness{statediff, vp}
|
|
||||||
if statediff == nil {
|
|
||||||
b.witness.StateDiff = []verkle.StemStateDiff{}
|
|
||||||
}
|
|
||||||
if vp == nil {
|
|
||||||
b.witness.VerkleProof = &verkle.VerkleProof{
|
|
||||||
IPAProof: &verkle.IPAProof{},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
type Blocks []*Block
|
type Blocks []*Block
|
||||||
|
|
||||||
// HeaderParentHashFromRLP returns the parentHash of an RLP-encoded
|
// HeaderParentHashFromRLP returns the parentHash of an RLP-encoded
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue