near / near-indexer-for-explorer

Watch NEAR network and store all the data from NEAR blockchain to PostgreSQL database
https://near-indexers.io/docs/projects/near-indexer-for-explorer
GNU General Public License v3.0
123 stars 56 forks source link

Handle collisions in transactions table #203

Closed telezhnaya closed 2 years ago

telezhnaya commented 2 years ago

This PR will hopefully close #84 in one day

telezhnaya commented 1 year ago

I want to save the reference here https://github.com/near/near-indexer-for-explorer/blob/master/src/db_adapters/transactions.rs#L53-L57

let transaction_hash_suffix = "_issue84_".to_owned() + &block_height.to_string();