mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-02-24 01:18:07 +00:00
Move MockDB to db package
This commit is contained in:
parent
f1c5a42dce
commit
c3015e8108
@ -5,7 +5,7 @@ import static org.junit.Assert.*;
|
||||
import java.math.BigInteger;
|
||||
|
||||
import org.ethereum.crypto.HashUtil;
|
||||
import org.ethereum.trie.MockDB;
|
||||
import org.ethereum.db.MockDB;
|
||||
import org.ethereum.trie.Trie;
|
||||
import org.ethereum.util.RLP;
|
||||
import org.junit.Test;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package org.ethereum.trie;
|
||||
package org.ethereum.db;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
@ -16,6 +16,7 @@ import java.util.*;
|
||||
|
||||
import org.ethereum.core.AccountState;
|
||||
import org.ethereum.db.DatabaseImpl;
|
||||
import org.ethereum.db.MockDB;
|
||||
import org.json.simple.JSONArray;
|
||||
import org.json.simple.JSONObject;
|
||||
import org.json.simple.parser.JSONParser;
|
||||
@ -773,7 +774,7 @@ public class TrieTest {
|
||||
byte[] val3 = Hex.decode("94412e0c4f0102f3f0ac63f0a125bce36ca75d4e0d");
|
||||
byte[] val4 = Hex.decode("01");
|
||||
|
||||
Trie storage = new Trie(new org.ethereum.trie.MockDB());
|
||||
Trie storage = new Trie(new org.ethereum.db.MockDB());
|
||||
storage.update(key1, val1);
|
||||
storage.update(key2, val2);
|
||||
storage.update(key3, val3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user