public Keccak DecodeStorageRootOnly(RlpStream rlpStream) { rlpStream.SkipLength(); rlpStream.SkipItem(); rlpStream.SkipItem(); Keccak storageRoot = rlpStream.DecodeKeccak(); return(storageRoot); }
public (Keccak CodeHash, Keccak StorageRoot) DecodeHashesOnly(RlpStream rlpStream, RlpBehaviors rlpBehaviors = RlpBehaviors.None) { rlpStream.SkipLength(); rlpStream.SkipItem(); rlpStream.SkipItem(); Keccak storageRoot = rlpStream.DecodeKeccak(); Keccak codeHash = rlpStream.DecodeKeccak(); return(codeHash, storageRoot); }
public (Keccak CodeHash, Keccak StorageRoot) DecodeHashesOnly(RlpStream rlpStream) { rlpStream.SkipLength(); rlpStream.SkipItem(); rlpStream.SkipItem(); Keccak storageRoot = DecodeStorageRoot(rlpStream); Keccak codeHash = DecodeCodeHash(rlpStream); return(codeHash, storageRoot); }