Skip to content

Commit

Permalink
testing data change for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv committed Aug 8, 2024
1 parent 4f4cd78 commit 178a766
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arbitrator/prover/test-cases/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func main() {
}
}
// EIGENDA COMMIT HASH
_, err = wavmio.ResolveTypedPreimage(arbutil.EigenDaPreimageType, common.HexToHash("01605220b6928163676612ca50bbe5e0c595052876796dbedeae8ef597c9fdcf"))
_, err = wavmio.ResolveTypedPreimage(arbutil.EigenDaPreimageType, common.HexToHash("d2bf0b34145eba5b6b954bc2bb04b4379afa4476eac0357310bee18cc2fa2bdb"))
if err != nil {
panic(fmt.Sprintf("failed to resolve eigenda preimage: %v", err))
}
Expand Down
2 changes: 1 addition & 1 deletion arbitrator/prover/test-cases/rust/src/bin/host-io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn main() {
for i in 0..5{
// test-files srs 011e229d75b13559dcb2d757ecae9b66fa579268e28e196789503322115c06e1
// mainnet srs 01605220b6928163676612ca50bbe5e0c595052876796dbedeae8ef597c9fdcf
let eigen_hash = hex!("01605220b6928163676612ca50bbe5e0c595052876796dbedeae8ef597c9fdcf");
let eigen_hash = hex!("d2bf0b34145eba5b6b954bc2bb04b4379afa4476eac0357310bee18cc2fa2bdb");
bytebuffer = Bytes32(eigen_hash);

let actual_len = wavm_read_eigen_da_hash_preimage(bytebuffer.0.as_mut_ptr(), i * 32);
Expand Down
6 changes: 1 addition & 5 deletions scripts/create-test-preimages.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ def eigen_test_data():
# the value we are returning is the same string that is returned by the old eigen_test_data but encoded in the style the high level eigenDA client would
# 00bca02094eb78126a517b206a88c73cfa9ec6f704c7030d18212cace820f025
data = bytes([
12, 74, 134, 141, 159, 142, 12, 228, 147, 176, 42, 148, 17, 187, 240, 48, 98, 179, 158, 173, 119, 72, 129, 73, 181, 94, 239, 1, 22, 164, 231, 89,
45, 148, 221, 13, 66, 188, 31, 31, 18, 90, 120, 195, 53, 74, 121, 91, 29, 163, 78, 174, 81, 239, 152, 253, 188, 242, 52, 132, 164, 53, 20, 26,
36, 75, 123, 21, 222, 118, 68, 224, 87, 187, 179, 60, 161, 97, 0, 70, 93, 178, 98, 55, 27, 137, 136, 121, 63, 52, 185, 46, 242, 115, 75, 192,
2, 157, 190, 53, 1, 226, 207, 111, 114, 218, 52, 217, 26, 155, 70, 232, 114, 94, 128, 254, 14, 177, 62, 97, 214, 62, 14, 115, 50, 178, 184, 207
])
158, 2, 210, 200, 222, 109, 75, 254, 172, 35, 198, 167, 91, 2, 162, 61, 166, 121, 207, 233, 35, 39, 167, 255, 149, 79, 85, 231, 66, 2, 108, 125, 183, 44, 68, 125, 100, 9, 40, 88, 244, 18, 229, 195, 81, 229, 21, 139, 162, 90, 20, 185, 37, 42, 18, 51, 27, 153, 135, 250, 189, 197, 69, 153, 3, 113, 39, 19, 135, 189, 26, 71, 235, 41, 30, 143, 153, 141, 133, 7, 49, 91, 167, 148, 196, 8, 54, 147, 210, 207, 174, 244, 154, 158, 87, 177, 249, 21, 73, 27, 197, 56, 254, 167, 215, 132, 34, 231, 237, 79, 180, 232, 27, 164, 17, 91, 237, 55, 218, 145, 96, 213, 55, 45, 175, 21, 223, 135])

return data

Expand Down

0 comments on commit 178a766

Please sign in to comment.