added market record storage/fetch from chain_database