ChainSafe / forest

🌲 Rust Filecoin Node Implementation
https://forest.chainsafe.io
Apache License 2.0
638 stars 160 forks source link

Follow-up issue - create common helpers to use for migrations and also for DB operations. #4965

Open ruseinov opened 2 weeks ago

ruseinov commented 2 weeks ago
          Follow-up issue - create common helpers to use for migrations and also for DB operations.

We have to duplicate the way that the keys are being constructed in several different manners, for e.g. EthMappings and the Graph. It would be nice to share the same code that is used by the application itself to avoid human error.

Originally posted by @ruseinov in https://github.com/ChainSafe/forest/issues/4959#issuecomment-2458444982

LesnyRumcajs commented 2 weeks ago

It's unclear what should be done in this issue and what are the acceptance criteria. Please use one of the templates https://github.com/ChainSafe/forest/issues/new/choose and fill all necessary information so anyone can work it.