omgnetwork / omg-childchain-v2

pronounced /Ch-ch/
Apache License 2.0
5 stars 2 forks source link

persist data we receive after boot #170

Closed InoMurko closed 3 years ago

InoMurko commented 3 years ago

In Engine.ReleaseTasks.Contract release tasks we fetch data from contracts. We need to persist this data into PG and not fetch this data if it's in the database already!

Steps: check if data in PG yes -> take it from there no -> * fetch it from contracts (as now)

end