Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to mainnet #1305

Merged
merged 43 commits into from
Jul 13, 2023
Merged

Deploy to mainnet #1305

merged 43 commits into from
Jul 13, 2023

Commits on May 25, 2023

  1. [Backend] Unify extra_info (#1267)

    unify extra info (working)
    iamyates authored May 25, 2023
    Configuration menu
    Copy the full SHA
    f8f356f View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. implement download csv (#1241)

    * add download csv (working)
    
    * fixed bug for download
    
    * refactor address_transactions_controller.rb#download_csv, improved udts_controller.rb
    
    * udt save as csv done
    
    * improved code
    
    * working on nft-transfers
    
    * added unit test for: api/v2/nft/transfers_controller#show
    
    * added unit test for: api/v2/nft/transfers_controller#index
    
    * finished download csv for /api/v2/nft/transfers_controller
    
    * add unit test for blocks#download_csv
    iamyates authored May 26, 2023
    Configuration menu
    Copy the full SHA
    3d0d561 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80d9dc2 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Integrate websocket client into rails side (#1282)

    * testing
    
    (cherry picked from commit e691165)
    
    * test pulling new transaction from websocket
    
    (cherry picked from commit 511d47f)
    
    * refactoring
    
    * process pending transaction
    
    * add commit block actions
    
    * add proc
    
    * using ckb_transactions not pool transaction entry
    
    * fix
    
    * select pending and rejected from ckb_transactions table
    
    * create placeholder cell input
    
    * fix
    
    * add previous_index
    
    * fix
    
    * fix
    
    * fix
    
    * skip nil for caching
    
    * add unit test for import transaction
    
    * fix unit test
    
    * remove PoolTransactionEntry
    
    * Apply suggestions from code review
    
    Co-authored-by: Miles Zhang <[email protected]>
    
    * update database structure
    
    ---------
    
    Co-authored-by: Miles Zhang <[email protected]>
    ShiningRay and zmcNotafraid authored May 29, 2023
    Configuration menu
    Copy the full SHA
    c116e9e View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. 2023 04 21 sort by field new (#1295)

    * added sort to address transactions
    
    * added sort to block list
    
    * added index to blocks.reward
    
    * added sort to transactions, added index
    
    * added sort to pending transactions
    
    * added sort to udts
    
    * added sort to nfts ( token_collections ) and filter
    
    * added filter to udt_transactions
    
    * added filter to dao transactions
    
    * fixed filter bug for blocks, udts, pending tx
    
    * finished: sorting in blocks api
    
    * finished: sorting in tx api
    
    * finished: sorting in pending_tx api
    
    * finished: sorting in udts api
    
    * finished: sorting in /api/v1/address_transactions/[:id] api
    
    * fixed failed unit test of: app/controllers/api/v2/nft/collections_controller.rb
    
    * fixed failt unit test for: controllers/api/v1/block_transactions_controller
    
    * remove useless index
    
    * added more columns to sort
    
    * fixed failed unit test, for api/v1/ckb_transactions
    
    * used order(order_by => asc_or_desc)
    
    * improved code, used split(., 2)
    
    * fixed failed unit tests
    iamyates authored May 30, 2023
    Configuration menu
    Copy the full SHA
    4d82348 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. 2023 05 04 sort nft collections by hot new (#1294)

    * sort nft collections by hot
    
    * improved code
    
    * used lib/scheduler instead of config/schedule.yml
    iamyates authored May 31, 2023
    Configuration menu
    Copy the full SHA
    7853945 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Issue 285 (#1296)

    * feat: create address block snapshot model
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * feat: rollback address info use address_block_snapshots data
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * test: fix test
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * feat: save address final_state as jsonb type
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    ---------
    
    Signed-off-by: Miles Zhang <[email protected]>
    zmcNotafraid authored Jun 2, 2023
    Configuration menu
    Copy the full SHA
    22b9201 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    576e266 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. feat: reduce ckb transactions export as csv n+1 querys (#1301)

    * feat: reduce ckb transactions export as csv n+1 querys
    
    * test: address transactions download csv
    
    * chore: adjust factory block generation with milliseconds timestamp
    
    * chore: remove comment
    
    * feat: add export address transactions job
    
    * chore: remove Rails.cache.realize
    rabbitz authored Jun 6, 2023
    Configuration menu
    Copy the full SHA
    3ac0c32 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    26dd2e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b6835f View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. fix: update cota sync data (#1303)

    * fix: update cota sync data
    
    * chore: adjust tests
    rabbitz authored Jun 8, 2023
    Configuration menu
    Copy the full SHA
    ab05889 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    71ead97 View commit details
    Browse the repository at this point in the history
  2. Deploy to testnet (#1291)

    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    Co-authored-by: NanZhang <[email protected]>
    fix memory leak in udt transaction count (#1302)
    fix: update cota sync data (#1303)
    fix: rectify the cout error in the progress bar (#1304)
    7 people authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    9a5dad8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd0f77d View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1306 from ShiningRay/fix/tx_committed_filter

    add tx_committed filter for transaction list
    ShiningRay authored Jun 9, 2023
    Configuration menu
    Copy the full SHA
    8b76cc7 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Configuration menu
    Copy the full SHA
    e4dad7c View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Configuration menu
    Copy the full SHA
    76198de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bc74ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7be8d69 View commit details
    Browse the repository at this point in the history
  4. Extract output data into separate table (#1300)

    * move data from cell_outputs to cell_datum
    
    * fix cell data import in node data processing
    
    * fix
    
    * fix test
    ShiningRay authored Jun 12, 2023
    Configuration menu
    Copy the full SHA
    3444d6d View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. fix: cell output cota info

    rabbitz committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    d0d160d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1312 from rabbitz/hotfix/cell_output_cota_info

    fix: cell output cota info
    rabbitz authored Jun 13, 2023
    Configuration menu
    Copy the full SHA
    4f7b852 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. chore: resolve merge conflicts (#1314)

    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    Co-authored-by: NanZhang <[email protected]>
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    7 people authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    2db7e9a View commit details
    Browse the repository at this point in the history
  2. Fix/resolve merge conflicts (#1315)

    * Deploy to testnet (#1291)
    
    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    Co-authored-by: NanZhang <[email protected]>
    fix memory leak in udt transaction count (#1302)
    fix: update cota sync data (#1303)
    fix: rectify the cout error in the progress bar (#1304)
    
    * add tx_committed filter for transaction list
    
    * Optimize block query performance (#1307)
    
    * fix: cell output cota info
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    7 people authored Jun 16, 2023
    Configuration menu
    Copy the full SHA
    e61586a View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. Configuration menu
    Copy the full SHA
    89cfe25 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1316 from ShiningRay/fix/dup_pending_tx

    Fix transaction is always shown as pending
    Keith-CY authored Jun 18, 2023
    Configuration menu
    Copy the full SHA
    7c8b7b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2023

  1. Configuration menu
    Copy the full SHA
    e56a8e1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1317 from rabbitz/fix/block_transactions_default_…

    …sort
    
    fix: block transactions sort order by id asc
    rabbitz authored Jun 19, 2023
    Configuration menu
    Copy the full SHA
    480824a View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Configuration menu
    Copy the full SHA
    cc4d375 View commit details
    Browse the repository at this point in the history
  2. refactor: backend epoch statistics (#1313)

    * refactor: backend epoch statistics
    
    * chore: fix typo
    
    * chore: adjust test
    rabbitz authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    01c7b60 View commit details
    Browse the repository at this point in the history
  3. Optimize of cell data separation (#1318)

    * Deploy to testnet (#1291)
    
    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    Co-authored-by: NanZhang <[email protected]>
    fix memory leak in udt transaction count (#1302)
    fix: update cota sync data (#1303)
    fix: rectify the cout error in the progress bar (#1304)
    
    * add tx_committed filter for transaction list
    
    * Optimize block query performance (#1307)
    
    * fix: cell output cota info
    
    * remove duplicated ckb transactions
    
    * fix: block transactions sort order by id asc
    
    * fix
    
    * fill missing cell output data
    
    * fix dao events tests
    
    * batch insert  cell data
    
    * optimize cell input index filling
    
    * fix test
    
    * remove duplicate code
    
    * fix test
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: NanZhang <[email protected]>
    6 people authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    09185f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. fix: resolve merge conflicts (#1323)

    * Deploy to testnet (#1291)
    
    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    Co-authored-by: NanZhang <[email protected]>
    fix memory leak in udt transaction count (#1302)
    fix: update cota sync data (#1303)
    fix: rectify the cout error in the progress bar (#1304)
    
    * add tx_committed filter for transaction list
    
    * Optimize block query performance (#1307)
    
    * fix: cell output cota info
    
    * remove duplicated ckb transactions
    
    * fix: block transactions sort order by id asc
    
    ---------
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: Miles Zhang <[email protected]>
    Co-authored-by: Chen Yu <[email protected]>
    Co-authored-by: iamyates <[email protected]>
    Co-authored-by: ShiningRay <[email protected]>
    Co-authored-by: 代码之力 <[email protected]>
    7 people authored Jul 3, 2023
    Configuration menu
    Copy the full SHA
    a994a6c View commit details
    Browse the repository at this point in the history
  2. refactor: fix conflict with testnet

    Signed-off-by: Miles Zhang <[email protected]>
    zmcNotafraid committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    fc50838 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    326eecf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ca06d56 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6677b6c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0558b78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    97bb617 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Merge pull request #1322 from nervosnetwork/develop

    Deploy to testnet
    ShiningRay authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a74fe6c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Clean up outdated transactions (#1328)

    clean up outdated txs
    ShiningRay authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    f3f3f40 View commit details
    Browse the repository at this point in the history
  2. refactor: daily statistic generator use attr logic concern (#1321)

    * refactor: daily statistic generator use attr logic concern
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * test: fix test
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * feat: add uniq index to daily statistic
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * fix: filter commited tx when we generate daily statistic
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    * feat: filter transactions_count with committed status
    
    Signed-off-by: Miles Zhang <[email protected]>
    
    ---------
    
    Signed-off-by: Miles Zhang <[email protected]>
    zmcNotafraid authored Jul 10, 2023
    Configuration menu
    Copy the full SHA
    aa1fc1c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Configuration menu
    Copy the full SHA
    85ced84 View commit details
    Browse the repository at this point in the history