Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Karim Taam <[email protected]>
  • Loading branch information
matkt committed Dec 20, 2023
1 parent 4a3ea8a commit a368a35
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public void getNodeData_returnsEmptyNode() {
@Test
public void getCode_saveAndGetSpecialValues() {
final ForestWorldStateKeyValueStorage storage = emptyStorage();
storage.updater().putCode(MerkleTrie.EMPTY_TRIE_NODE);
storage.updater().putCode(Bytes.EMPTY).commit();
storage.updater().putCode(MerkleTrie.EMPTY_TRIE_NODE).putCode(Bytes.EMPTY).commit();

assertThat(storage.getCode(MerkleTrie.EMPTY_TRIE_NODE_HASH))
.contains(MerkleTrie.EMPTY_TRIE_NODE);
Expand Down

0 comments on commit a368a35

Please sign in to comment.