Skip to content

Commit 468aa50

Browse files
author
Naohiro Yoshida
committed
skip Local and GlobalGeneric preimage
1 parent c751cb1 commit 468aa50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

derivation/src/oracle.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ impl TryFrom<Vec<Preimage>> for MemoryOracleClient {
9797
verify_keccak256_preimage(&preimage_key, &preimage.data)?
9898
}
9999
PreimageKeyType::Sha256 => verify_sha256_preimage(&preimage_key, &preimage.data)?,
100-
_ => {}
100+
PreimageKeyType::Blob => {},
101+
PreimageKeyType::Precompile=> {},
102+
_ => continue
101103
}
102104
inner.insert(preimage_key, preimage.data);
103105
}

0 commit comments

Comments
 (0)