Skip to content

Commit

Permalink
fixup! Merge branch 'feature/packing-difficulty' of github.com:Arweav…
Browse files Browse the repository at this point in the history
…eTeam/arweave into jp/randomx-dataset-20240826
  • Loading branch information
JamesPiechota committed Sep 4, 2024
1 parent 2dbd723 commit 8b99f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/arweave/test/ar_mine_randomx_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ test_composite_unpacked_sub_chunks({FastState, _LightState}) ->
fun({SubChunk, Offset}, Acc) ->
{ok, Unpacked} = ar_mine_randomx:randomx_decrypt_composite_sub_chunk_nif(FastState,
Key, SubChunk, byte_size(SubChunk), 0, 0, 0, 8, 1, Offset),
{ok, Unpacked2} = ar_mine_randomx:randomx_decrypt_composite_sub_chunk_nif(State,
{ok, Unpacked2} = ar_mine_randomx:randomx_decrypt_composite_sub_chunk_nif(FastState,
Key, SubChunk, byte_size(SubChunk), 0, 0, 0, 8, 1, Offset),
?assertEqual(Unpacked, Unpacked2),
[Unpacked | Acc]
Expand All @@ -449,7 +449,7 @@ test_composite_unpacked_sub_chunks({FastState, _LightState}) ->
fun({SubChunk, Offset}, Acc) ->
{ok, Unpacked} = ar_mine_randomx:randomx_decrypt_composite_sub_chunk_nif(FastState,
Key, SubChunk, byte_size(SubChunk), 0, 0, 0, 8, 3, Offset),
{ok, Unpacked2} = ar_mine_randomx:randomx_decrypt_composite_sub_chunk_nif(State,
{ok, Unpacked2} = ar_mine_randomx:randomx_decrypt_composite_sub_chunk_nif(FastState,
Key, SubChunk, byte_size(SubChunk), 0, 0, 0, 8, 3, Offset),
?assertEqual(Unpacked, Unpacked2),
[Unpacked | Acc]
Expand Down

0 comments on commit 8b99f2f

Please sign in to comment.