ethereum/ethereumj

"throw new RuntimeException("Not supported")" in many funs of RepositoryImpl.java

w1397800 opened this issue · 2 comments

There are lots of funs which contains "throw new RuntimeException("Not supported")" in "org.ethereum.db.RepositoryImpl.java".
eg:
public Set getStorageKeys(byte[] addr) {
throw new RuntimeException("Not supported");
}
Is there any implemented function replacing it?

It's hardly feasible to support some methods in main repository implementation.
But they are pretty useful in tests, take a look at this implementation

@Override
public Set<DataWord> getStorageKeys(byte[] addr) {
return src.getStorageKeys(addr);
}

thanks for your reply.