Commit Graph

420 Commits (0a3f29eb5289e74d388d2661b5fac2b60b47da14)

Author SHA1 Message Date
Ayrat Badykov b780876b3c
fix migration 6 years ago
Ayrat Badykov 915d053dd5
update replaced transaction on import 6 years ago
Ayrat Badykov 0497a9daa7
mix format 6 years ago
Ayrat Badykov fb5d4b20d9
modify status and error db constraints 6 years ago
Luke Imhoff 14d7c9badd Block.SecondDegreeRelation needs primary key to be preloaded 6 years ago
Luke Imhoff 82813d39a5 Tokens needs primary key to be preloaded 6 years ago
Luke Imhoff a89fe692a7 Make insert_address_current_token_balances_in_batches only insert new 6 years ago
Ayrat Badykov 9a30c0c850
add index 6 years ago
Luke Imhoff 28695f3d75 Data migration to populate tokens holder_count 6 years ago
Luke Imhoff 20f50d0dd4 Token holder_count 6 years ago
Ayrat Badykov 2e94a0d2a6
return InternalTransaction.Fetcher 6 years ago
Ayrat Badykov 9852abae95
add catchup code fetcher 6 years ago
Luke Imhoff 8a1c526cf8 Optimize update_address_current_token_balances_in_batches 6 years ago
Luke Imhoff 99e6947d62 Update `address_current_token_balances` that are out-of-date 6 years ago
Luke Imhoff 8ffbe6418d Use COUNT(*) of current_token_balances to eliminate TokenHoldersCounter 6 years ago
Luke Imhoff 903d322553 Use index and COUNT(*) for address_to_validation_count 6 years ago
Gustavo Santos Ferreira d563a2568a add metadata column to address_names 6 years ago
Luke Imhoff ea58dad12b Update to Ecto 3.0 6 years ago
William Sanches a754a72390
Add block_reward import 6 years ago
William Sanches 23bd2b0049
Rename block_rewards to emission_rewards 6 years ago
Amanda Sposito 4833c6c962 Fix Address Trasaction query 6 years ago
Luke Imhoff 6ec9afb4ba Gradual migration support for call_has_call_type, call_has_input, and create_has_init 6 years ago
Luke Imhoff 39b6eccfda Separate schema and data migration for EIP-6 6 years ago
Amanda Sposito 8ad5a3103e Add index to addresses table 6 years ago
Amanda Sposito 40a9da3022 Add script to migrate nonce to addresses 6 years ago
svenski123 a3364385c6 Comment out update query in migration script due to run length concerns on a large existing database. 6 years ago
svenski123 29199eb54e Add nonce field to Address object and addresses table. 6 years ago
Felipe Renan 2ad1042de2 Add script to migrate block_number to token transfers 6 years ago
Felipe Renan 31e1090138 Add block_number to token transfers 6 years ago
Amanda Sposito 9843f2bba6 Add migration scripts that we've been using to migrate data 6 years ago
Luke Imhoff 0c4c80c880 Add missing constraints for internal transactions 6 years ago
Luke Imhoff 9cce7ab661 Adopt EIP-6 6 years ago
Felipe Renan 233d539a00 Add AddressCurrentTokenBalance schema 6 years ago
Gustavo Santos Ferreira acf74e6267 migration to change type of field decimals 6 years ago
Luke Imhoff 7f7cdf753d Switch token_transfers to composite primary key 6 years ago
Luke Imhoff 96b97f0dc1 Switch logs to composite primary key 6 years ago
Luke Imhoff 95e3774e9a Switch internal_transactions to composite primary key 6 years ago
Amanda Sposito 5ee4df3714 Alter 'Chain.address_to_internal_transactions' query 6 years ago
Amanda Sposito 373248dbee Update 'internal_transactions'.'block_number' after block reorg 6 years ago
Amanda Sposito 1acebdc7f7 Add 'block_number' and 'transaction_index' in 'internal_transaction' 6 years ago
Alex Garibay c60bd06e5e
Add bare admin panel (#927) 6 years ago
Luke Imhoff 818f84a424 Transaction.Fork 6 years ago
Luke Imhoff 4b140c87df Block in the consensus chain marked consensus true 6 years ago
Luke Imhoff 96d5aea311 Block.SecondDegreeRelation 6 years ago
Amanda Sposito fc38d7e2bf Alter Token decimals column to bigint 6 years ago
Stamates 742e543cdb Incorporate update for blocks gas_used and gas_limit in initial migration 6 years ago
Stamates c6af8d363e Create recent collated indexes by address with hash on transaction table and remove address/hash indexes 6 years ago
Stamates bd755fe469 Add transaction hash to address indexes for transaction and token_transfer tables to optimize count query 6 years ago
Luke Imhoff 102f467948 Denormalize last internal transaction error to transaction 6 years ago
Luke Imhoff b32f263eda Allow status to be nil until internal transactions are indexed 6 years ago