Skip to content

Releases: provenance-io/explorer-service

Release v2.4.0

15 Sep 16:47
Compare
Choose a tag to compare

v2.4.0 - 2021-09-15

Release Name: Bjarni Herjulfsson

Features

  • Upgraded versions #172, #236
    • Provenance: v1.5.0 -> v1.7.0
    • Cosmos SDK: v0.42.6 -> v0.44.0
    • Added IBC Go: ** -> v1.1.0
    • Kotlin: 1.4.30 -> 1.5.30
    • Gradle: 6.8.3 -> 7.2.0
    • SpringBoot: 2.4.3 -> 2.5.4
  • With upgraded versions, added in support for new Msg types and pubkey secp256r1
  • Now pulling wasmd protos from provenance-io/wasmd instead of CosmWasm/wasmd #238
    • Current version at v0.19.0
    • Pinned CosmWasm/wasmd protos to v0.17.0 for backwards compatibility

Improvements

  • Translated Smart Contract msg bytes to human-readable json

Release v2.3.1

10 Sep 16:55
Compare
Choose a tag to compare

v2.3.1 - 2021-09-10

Release Name: Ahmad ibn Fadlan

Improvements

  • Added checks to refresh the current_validator_state view
    • Should reduce the number of unnecessary refreshes
  • Updated Spotlight Cache create to use the second top-most height actually in the database
    • This will prevent a race condition for saving blocks

Bug Fixes

  • Added tx_message.msg_idx to actually have message uniqueness
  • Fixed the hashing function for tx_message to be deterministic

Release v2.3.0

31 Aug 18:36
Compare
Choose a tag to compare

v2.3.0 - 2021-08-31

Release Name: Erik the Red

Features

  • Added gas fee statistics (min, max, avg, std) per message type on single message transactions #185
  • Added gas fee volume #186
  • Added heatmap endpoint /api/v2/txs/heatmap of when txs are submitted during the day/week #187
  • Added token statistics for circulation supply, community pool and bonded supply #188
  • Updated Validators to return an image URL from Keybase for their profile image #200
  • Added distribution of hash between sets of accounts #189
  • Added validator block latency endpoint /api/v2/validators/{id}/latency #199

Improvements

  • Added global boolean to disregard historical data check once its no longer needed
    • Reduces slowdown between block processing
  • Reworked tx history count calcs to be more efficient #220
  • Reworked how validator state was being stored #222
    • No longer updates, instead append-only to reduce processing time
  • Reworked /api/v2/validators/recent & /api/v2/validators/height/{blockHeight} to be more efficient with data #222
  • Reworked how spotlight data was being stored #221
    • No longer updates, instead append-only to reduce processing time
    • New record every 5 seconds -> no TTL for now
  • Added isProposer and didVote flags to validators at height api #183
    • Broke out fetching validators are height from recent validators functions to be cleaner

Bug Fixes

  • Fixed update of the daily gas stats causes hourly data to be missed #210
  • Fixed nullable fields in Migration 26
  • Fixed null pointer for bad Keybase identity #224
  • Added image url to BlockSummery object #224
  • Fixed Spotlight data to pull correct block votes vs validator set for block

Data

  • Added caching and aggregate tables for txs with single messages only #185
    • Added tx_single_message_cache table
    • Added tx_single_message_gas_stats_day table
    • Added tx_single_message_gas_stats_hour table
    • Added update_gas_fee_stats stored procedure
  • Added aggregate, cache table(s) and stored procedure for gas fee volume #186
    • Added tx_gas_cache table
    • Added tx_gas_fee_volume_day table
    • Added tx_gas_fee_volume_hour table
    • Added update_gas_fee_volume stored procedure
  • Added cache table, stored procedure for tx history counts #220
    • Added block_tx_count_cache table
    • Added update_block_cache_hourly_tx_counts stored procedure
  • Removed unused indices
  • Added append-only cache table, materialized view for validator state #222
    • Added validator_state table
    • Added current_validator_state materialized view
    • Dropped unused columns from staking_validator_cache table
  • Updated block_proposer to include block_latency #221
    • Added update_block_latency() stored procedure

Release v2.2.0

29 Jul 22:20
Compare
Choose a tag to compare

v2.2.0 - 2021-07-29

Release Name: Hyecho

Features

  • Added dedicated Gov Tx API at /api/v2/txs/module/gov?address={address}&etc... to fetch txs with specific data #193
  • Added tables for tx events and event attributes that are populated when tx messages are saved #115

Improvements

  • Updated front-facing docs

Bug Fixes

  • Ensure governance proposal votes take precedence by block height
  • Use actual count of validator results for listview page count #201
  • Fixed Refresh of Materialized View for Tx history slow down block saves #196

Data

  • Added tx_msg_event, tx_msg_event_attr for tx event caching #115
  • Removed block_cache_tx_history_day, block_cache_tx_history_hour #196
  • Added block_cache_hourly_tx_counts for better caching of tx counts #196

Release v2.1.0

22 Jul 18:24
Compare
Choose a tag to compare

v2.1.0 - 2021-07-22

Release Name: Xu Fu

Features

  • Added msgType={msgType} to /api/v2/txs/{hash}/msgs to allow for filtering based on msgType #146
  • Added /api/v2/txs/types/tx/{hash} to fetch msg types applicable to a single tx #146
  • Updated /api/v2/accounts/{address} to return TokenCount object #140
    • Shows count of fungible and non-fungible tokens
  • Added /api/v2/params to return parameters from the Grpc clients #153

Improvements

  • Added PagedResults.total to return total record count #146
  • Updated /api/v2/nft/scope/owner/{address} to return a listview rather than list of Scope.uuid #140
  • Updated NFTs.md design doc to match newer design doc layouts
  • Updated MissedBlocks insert to accommodate for out-of-sequence blocks (eg service playing catchup) #143
  • Added Kotlin lint check to github actions and fixed incorrectly formatted kotlin code #61
  • Created DB view for tx history data, making he UI chart faster #117

Bug Fixes

  • Fixed wrong error message being populated on commission when an operator is jailed #156
  • Handled 500 error from jailed operators and used default value of 0 instead #155
  • Tx Msgs MetadataAddress types displayed as Base64 strings in UI #145
  • Processing new protos from v1.5.0 #175
  • Don't try to save missed blocks when current block height is 0 #167
  • Now updating proposal status every day at 12 AM UTC #168
  • Fixed NPE on .toObjectNode() for metadata call #180
  • Fixed bug where a validator does not have any signing info (which is used to populate some fields) #178
    • Affected the Validator listview, filtered on 'Candidate'
    • Affected the Validator detail for the specific validator

Data

  • Added migration 20 for indices on block_cache #117
  • Created block_cache_tx_history_day and block_cache_tx_history_hour as views for better caching #117

Release v2.0.1

16 Jun 20:00
Compare
Choose a tag to compare

v2.0.1 - 2021-06-16

Release Name: Nehsi

Bug Fixes

  • HOTFIX: Removed tx msgs from listview and detail responses into a paginated API #142
    • /api/v2/txs/{hash}/msgs?page={page}&count={count}

Release v2.0.0

14 Jun 22:13
Compare
Choose a tag to compare

v2.0.0 - 2021-06-14

Release Name: Leif Eriksson

Features

  • IBC denom API #97
    • /ibc/all
  • Add get escrow account address method for ibc #119
  • Gov Proposal API #64
    • /gov/proposals/all?page={page}&count={count}
    • /gov/proposals/{id}
    • /gov/proposals/{id}/votes
    • /gov/proposals/{id}/deposits?page={page}&count={count}
    • /gov/address/{address}/votes?page={page}&count={count}
  • IBC Channel API #122
    • /ibc/channels/balances
    • /ibc/channels/status?status={status]
  • IBC Balance API #132
    • /ibc/channels/balances -> /ibc/balances/channel -> Balances broken down by chain/channel/denom
    • /ibc/balances/chain -> Balances broken down by chain/denom
    • /ibc/balances/denom -> Balances broken down by denom
  • Address-owned Names API #92
    • /accounts/{address}/attributes/owned

Improvements

  • Removed hash conversion #66
    • This will now be done on the frontend
  • Ingesting denoms and addresses from IBC Txs #97
  • Improved failure statuses for APIs #120
    • Now returning 404s, no message -> Typically due to no record from the db
      • /api/v2/accounts/{address} -> checks for a valid account address
      • /api/v2/assets/detail/{id}
      • /api/v2/assets/detail/ibc/{id}
      • /api/v2/txs/{hash}
      • /api/v2/txs/{hash}/json
      • /api/v2/validators/height/{blockHeight}
      • /api/v2/validators/{id}
      • /api/v2/validators/{id}/commission
    • Now returning 404s, with message -> This is due to the error coming from chain queries
      • /api/v2/accounts/{address}/balances
      • /api/v2/accounts/{address}/delegations
      • /api/v2/accounts/{address}/unbonding
      • /api/v2/accounts/{address}/redelegations
      • /api/v2/accounts/{address}/rewards
      • /api/v2/assets/holders?id={id}
      • /api/v2/assets/metadata?id={id}
      • /api/v2/blocks/height/{height}
      • /api/v2/nft/scope/{addr}
      • /api/v2/nft/scope/owner/{addr} -> returns 404 if invalid address
      • /api/v2/nft/scope/{addr}/records
      • /api/v2/nft/validators/{id}/delegations/bonded
      • /api/v2/nft/validators/{id}/delegations/unbonding
  • Created a docs folder to store design docs
  • Ingesting proposals, votes, deposits for Gov tx msgs #64
  • Updated protos - Provenance to v1.4.1, cosmos sdk to 0.42.5 #128
  • Ingesting IBC channels for IBC tx msgs #122
  • Added attributes assigned to an address, formatted to make sense #92
  • Updated missed_blocks count to pull from DB #136

Bug Fixes

  • Properly sorting Validator listview #112
  • Removing nft/scope/all due to massive performance issues #118
  • Filtering out blanks when associating addresses to txs
  • Fixed boolean check on NFT delete messages
  • Added an address check on unknown accounts being requested -> checking for proper address prefix
  • Adding blank check to NFT uuids
  • Added markerType to asset listview response #131
  • Updated AssetDetail.supply from String to CoinStr #137
  • Updated AssetList.supply from String to CoinStr #137
  • Updated AssetHolder.balance to include denom #137
  • Updated MsgConverter typeUrl.contains() to typeUrl.endsWith() due to some msgs containing names of other msgs

Client Breaking

  • Account balances are now paginated #102
    • /{address}/balances?page={page}&count={count}
    • Removed from Account Detail API
  • Now handling IBC denoms in search #103
    • /assets/detail/{id}, /assets/detail/ibc/{id} -> as used by FE, these should resolve naturally
    • /assets/{id}/holders -> /assets/holders?id={denom}
    • /assets/{id}/metadata -> /assets/metadata?id={denom} with id optional, returning full list of metadata

Data

  • Added migration 14 for token count to staking_validator_cache #112
  • Added migration 15 for increasing denom length, marker_cache holding non-marker denoms #103
  • Added migration 16 for storing Gov data #64
  • Added migration 17 for storing IBC Channel data #122
  • Added migration 18 for storing IBC Balance Ledger data #132
  • Added migration 19 for storing missed blocks data #136

Release v1.5.0

21 May 18:02
Compare
Choose a tag to compare

v1.5.0 - 2021-05-21

Release Name: Dicuil

Features

  • Ingesting Scope transactions #29
  • Queries for getAllScopes, getScope, and getScopeRecords #29

Improvements

  • Added MetadataAddress conversion class from Provenance repo #29
  • Updated tx type listings, now sorted on module/type
  • Casting grpc lists to mutable lists
  • Added utility to search if accounts have a designated denom

Bug Fixes

  • Casting fees to BigInteger now, as the number is too big for Int
  • Asset detail now pulling supply from correct source #105
  • Tx query with filter no applying distinct to get correct number of records #106
  • Accounts now update with all info #107
  • Handling account delegation error if no delegations for account #108

Data

  • Added tables for NFT data and tx joins #29
  • Added migration to fix account records that have missing data #107

Release v1.4.0

14 May 17:30
Compare
Choose a tag to compare

v1.4.0 - 2021-05-14

Release Name: Posidonius

Features

  • Accounts can now be queried for delegations, unbonding delegations, redelegations, and rewards #96

Improvements

  • Updated tx type listing to group IBC calls together
  • Updated Provenance protos to v1.3.0 #94

Bug Fixes

  • Handle unknown accounts now #85
  • Fixed where code was looking for non-existent denoms
  • Fixed where a block's validators list was incorrect #91
  • Added missing explicit IBC.header proto #93

Client Breaking

  • ValidatorDelegation object changes #96
    • address -> delegatorAddr
    • ADDED validatorSrcAddr, validatorDstAddr, initialBal -> Should not be breaking

Release v1.3.0

06 May 18:39
Compare
Choose a tag to compare

v1.3.0 - 2021-05-06

Release Name: Flóki-Vilgerðarson

Improvements

  • Added name to AccountDetail object; applicable only for ModuleAccount type #83
  • Added ModuleAccount name to applicable moniker lists #83
  • Added pagination and status search to getAssets() API #78
  • Removed initial supply as it was causing confusion, and left circulation as the current total on chain #78
  • Updated gradle task downloadProtos to include CosmWasm/wasmd proto set, Cosmos ibc protos #62

Bug Fixes

  • Fixed bug where Tx message types were being overwritten with "unknown"