RocksDBTokensIndex
and MemoryTokensIndex
with different behavior on the HTR token
#1068
Labels
bug
Something isn't working
RocksDBTokensIndex._create_genesis_info()
takes care of creating token info for the HTR token. This similar method does not exist inMemoryTokensIndex
. Maybe we could have a common code inTokenIndexInfo
.Another issue is that both indexes are not indexing the genesis block. So they just work as expected after the first block is mined. Here is a simple test that fails in
master
(commit 4a46f3a):Run a full node with no connections. Cmdline:
./hathor-cli run_node --status 8080 --nano-testnet --wallet-index --memory-storage
. It fails when using a RocksDB storage too.The text was updated successfully, but these errors were encountered: