Skip to content

Commit e5d0d7d

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

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

derivation/src/oracle.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ 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+
PreimageKeyType::Local => {
101+
continue
102+
},
103+
PreimageKeyType::GlobalGeneric => {
104+
continue
105+
},
100106
_ => {}
101107
}
102108
inner.insert(preimage_key, preimage.data);

0 commit comments

Comments
 (0)