[FEATURE] Fix logging-not-lazy  to market.p...

rebase
"""Insert contract to database"""