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
Store and display native coin market cap from the DB #7585
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vbaranov
changed the title
Store and display market cap from the DB
Store and display coin market cap from the DB
May 30, 2023
vbaranov
changed the title
Store and display coin market cap from the DB
Store and display native coin market cap from the DB
May 30, 2023
vbaranov
force-pushed
the
vb-store-market-cap
branch
11 times, most recently
from
May 30, 2023 19:43
0124812
to
22bfca1
Compare
vbaranov
force-pushed
the
vb-store-market-cap
branch
2 times, most recently
from
June 12, 2023 14:25
bce3923
to
c28e89a
Compare
vbaranov
force-pushed
the
vb-store-market-cap
branch
from
June 12, 2023 15:52
c28e89a
to
cdb42ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that here we can use Market.get_coin_exchange_rate() as well
blockscout/apps/block_scout_web/lib/block_scout_web/controllers/api/rpc/stats_controller.ex
Line 65 in cdb42ab
rates = ExchangeRates.lookup(symbol) |
apps/block_scout_web/test/block_scout_web/controllers/api/v2/transaction_controller_test.exs
Outdated
Show resolved
Hide resolved
apps/explorer/lib/explorer/market/history/source/market_cap/coin_gecko.ex
Outdated
Show resolved
Hide resolved
nikitosing
reviewed
Jun 19, 2023
nikitosing
reviewed
Jun 19, 2023
nikitosing
reviewed
Jun 19, 2023
apps/explorer/lib/explorer/market/history/source/market_cap/coin_gecko.ex
Outdated
Show resolved
Hide resolved
nikitosing
reviewed
Jun 19, 2023
sl1depengwyn
approved these changes
Jun 19, 2023
nikitosing
reviewed
Jun 19, 2023
apps/block_scout_web/lib/block_scout_web/controllers/chain/market_history_chart_controller.ex
Show resolved
Hide resolved
nikitosing
approved these changes
Jun 20, 2023
vbaranov
force-pushed
the
vb-store-market-cap
branch
from
June 20, 2023 11:50
254d4d5
to
18a9b4f
Compare
Return available_supply for backward compatibility
vbaranov
force-pushed
the
vb-store-market-cap
branch
from
June 20, 2023 11:52
18a9b4f
to
a94f054
Compare
dpazin
pushed a commit
to Tolar-HashNET/blockscout
that referenced
this pull request
Jul 24, 2023
* Bump @babel/core from 7.21.8 to 7.22.1 in /apps/block_scout_web/assets Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.21.8 to 7.22.1. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.1/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump postcss-loader from 7.3.0 to 7.3.1 in /apps/block_scout_web/assets Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 7.3.0 to 7.3.1. - [Release notes](https://github.com/webpack-contrib/postcss-loader/releases) - [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/postcss-loader@v7.3.0...v7.3.1) --- updated-dependencies: - dependency-name: postcss-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump number from 1.0.3 to 1.0.4 Bumps [number](https://github.com/danielberkompas/number) from 1.0.3 to 1.0.4. - [Changelog](https://github.com/danielberkompas/number/blob/master/CHANGELOG.md) - [Commits](danielberkompas/number@v1.0.3...v1.0.4) --- updated-dependencies: - dependency-name: number dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Revert update to Erlang/OTP 26 * Bump @babel/preset-env in /apps/block_scout_web/assets Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.21.5 to 7.22.2. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.2/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Check left blocks in pending block operations in order to decide, if we need to display indexing int tx banner at the top * Bump @babel/preset-env in /apps/block_scout_web/assets Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.2 to 7.22.4. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.4/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sweetalert2 from 11.7.5 to 11.7.8 in /apps/block_scout_web/assets Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.5 to 11.7.8. - [Release notes](https://github.com/sweetalert2/sweetalert2/releases) - [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md) - [Commits](sweetalert2/sweetalert2@v11.7.5...v11.7.8) --- updated-dependencies: - dependency-name: sweetalert2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sass-loader from 13.3.0 to 13.3.1 in /apps/block_scout_web/assets Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.3.0 to 13.3.1. - [Release notes](https://github.com/webpack-contrib/sass-loader/releases) - [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/sass-loader@v13.3.0...v13.3.1) --- updated-dependencies: - dependency-name: sass-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump eslint-config-standard in /apps/block_scout_web/assets Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard) from 17.0.0 to 17.1.0. - [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md) - [Commits](standard/eslint-config-standard@v17.0.0...v17.1.0) --- updated-dependencies: - dependency-name: eslint-config-standard dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump postcss-loader from 7.3.1 to 7.3.2 in /apps/block_scout_web/assets Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 7.3.1 to 7.3.2. - [Release notes](https://github.com/webpack-contrib/postcss-loader/releases) - [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/postcss-loader@v7.3.1...v7.3.2) --- updated-dependencies: - dependency-name: postcss-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump postcss from 8.4.23 to 8.4.24 in /apps/block_scout_web/assets Bumps [postcss](https://github.com/postcss/postcss) from 8.4.23 to 8.4.24. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.23...8.4.24) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Drop genesis block in internal transactions fetcher * Bump sweetalert2 from 11.7.8 to 11.7.9 in /apps/block_scout_web/assets Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.8 to 11.7.9. - [Release notes](https://github.com/sweetalert2/sweetalert2/releases) - [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md) - [Commits](sweetalert2/sweetalert2@v11.7.8...v11.7.9) --- updated-dependencies: - dependency-name: sweetalert2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump ex_json_schema from 0.9.2 to 0.9.3 Bumps [ex_json_schema](https://github.com/jonasschmidt/ex_json_schema) from 0.9.2 to 0.9.3. - [Commits](jonasschmidt/ex_json_schema@v0.9.2...v0.9.3) --- updated-dependencies: - dependency-name: ex_json_schema dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Stats service support in docker-compose config with new frontend * Add Polygon Edge genesis file support * Refactor state changes * Add caching and pagination for state changes * Add historic balances to on demand fetchers * Reset GA cache * Fix created_contract_address_hash detection * Bump sweetalert2 from 11.7.9 to 11.7.10 in /apps/block_scout_web/assets Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.9 to 11.7.10. - [Release notes](https://github.com/sweetalert2/sweetalert2/releases) - [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md) - [Commits](sweetalert2/sweetalert2@v11.7.9...v11.7.10) --- updated-dependencies: - dependency-name: sweetalert2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump mime from 2.0.3 to 2.0.4 Bumps [mime](https://github.com/elixir-plug/mime) from 2.0.3 to 2.0.4. - [Changelog](https://github.com/elixir-plug/mime/blob/master/CHANGELOG.md) - [Commits](elixir-plug/mime@v2.0.3...v2.0.4) --- updated-dependencies: - dependency-name: mime dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * CSV export filters * Fix reviewer comments * Process reviewer comment: validate address filter value * Sanitize log topic filter value * Add Optimism genesis file support * Bump webpack from 5.84.1 to 5.85.0 in /apps/block_scout_web/assets Bumps [webpack](https://github.com/webpack/webpack) from 5.84.1 to 5.85.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.84.1...v5.85.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix tokens pagination * Bump @amplitude/analytics-browser in /apps/block_scout_web/assets Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 1.10.3 to 1.10.4. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@1.10.3...@amplitude/analytics-browser@1.10.4) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump gettext from 0.22.1 to 0.22.2 Bumps [gettext](https://github.com/elixir-gettext/gettext) from 0.22.1 to 0.22.2. - [Changelog](https://github.com/elixir-gettext/gettext/blob/main/CHANGELOG.md) - [Commits](elixir-gettext/gettext@v0.22.1...v0.22.2) --- updated-dependencies: - dependency-name: gettext dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump mime from 2.0.4 to 2.0.5 Bumps [mime](https://github.com/elixir-plug/mime) from 2.0.4 to 2.0.5. - [Changelog](https://github.com/elixir-plug/mime/blob/master/CHANGELOG.md) - [Commits](elixir-plug/mime@v2.0.4...v2.0.5) --- updated-dependencies: - dependency-name: mime dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Include staging, production branches in GA CI * Bump webpack-cli from 5.1.1 to 5.1.3 in /apps/block_scout_web/assets Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.1.1 to 5.1.3. - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.1.1...webpack-cli@5.1.3) --- updated-dependencies: - dependency-name: webpack-cli dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump phoenix_ecto from 4.4.1 to 4.4.2 Bumps [phoenix_ecto](https://github.com/phoenixframework/phoenix_ecto) from 4.4.1 to 4.4.2. - [Changelog](https://github.com/phoenixframework/phoenix_ecto/blob/main/CHANGELOG.md) - [Commits](phoenixframework/phoenix_ecto@v4.4.1...v4.4.2) --- updated-dependencies: - dependency-name: phoenix_ecto dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump floki from 0.34.2 to 0.34.3 Bumps [floki](https://github.com/philss/floki) from 0.34.2 to 0.34.3. - [Release notes](https://github.com/philss/floki/releases) - [Changelog](https://github.com/philss/floki/blob/main/CHANGELOG.md) - [Commits](philss/floki@v0.34.2...v0.34.3) --- updated-dependencies: - dependency-name: floki dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump eslint from 8.41.0 to 8.42.0 in /apps/block_scout_web/assets Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.42.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.41.0...v8.42.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Fix single 1155 transfer displaying * Changelog * Bump webpack from 5.85.0 to 5.85.1 in /apps/block_scout_web/assets Bumps [webpack](https://github.com/webpack/webpack) from 5.85.0 to 5.85.1. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.85.0...v5.85.1) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add new ipfs clause; Decrease timeout for NFT metadata fetch (blockscout#7629) * Add new ipfs clause; Decrease timeout for NFT metadata fetch * Changelog * API and smart-contracts fixes (blockscout#7614) * Add icon url to search results * Move vyper evm versions to envs * Fix smart contracts reading * Fix review comments * Fix ABI read functions filter (blockscout#7636) * Fix ABI read functions filter * Changelog * Drop empty_inputs?/1 * eth-bytecode-db integration improvements (blockscout#7628) * Add is_verified_via_eth_bytecode_db and fetch partially_verified field from rust MS * Changelog * Revert "Fix created_contract_address_hash detection" * Fix contract creation transactions * Add addresses contract code clear to FixContractCreationTransactions migration * prerelease -> postrelease * Publish docker images CI for prod/staging branches * Bump sweetalert2 from 11.7.10 to 11.7.11 in /apps/block_scout_web/assets Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.10 to 11.7.11. - [Release notes](https://github.com/sweetalert2/sweetalert2/releases) - [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md) - [Commits](sweetalert2/sweetalert2@v11.7.10...v11.7.11) --- updated-dependencies: - dependency-name: sweetalert2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @amplitude/analytics-browser in /apps/block_scout_web/assets Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 1.10.4 to 1.10.6. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@1.10.4...@amplitude/analytics-browser@1.10.6) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Optimize exchange rates requests rate * [FEAT] Add support for DEPOSIT and WITHDRAW token transfer event in older contracts * Bump @amplitude/analytics-browser in /apps/block_scout_web/assets Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 1.10.6 to 1.10.7. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@1.10.6...@amplitude/analytics-browser@1.10.7) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump webpack-cli from 5.1.3 to 5.1.4 in /apps/block_scout_web/assets Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.1.3 to 5.1.4. - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.1.3...webpack-cli@5.1.4) --- updated-dependencies: - dependency-name: webpack-cli dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump webpack from 5.85.1 to 5.86.0 in /apps/block_scout_web/assets Bumps [webpack](https://github.com/webpack/webpack) from 5.85.1 to 5.86.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.85.1...v5.86.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Search label query * Fixing E2E tests * Bump sass from 1.62.1 to 1.63.2 in /apps/block_scout_web/assets Bumps [sass](https://github.com/sass/dart-sass) from 1.62.1 to 1.63.2. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.62.1...1.63.2) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @babel/preset-env in /apps/block_scout_web/assets Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.22.4 to 7.22.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.5/packages/babel-preset-env) --- updated-dependencies: - dependency-name: "@babel/preset-env" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump ecto from 3.10.1 to 3.10.2 Bumps [ecto](https://github.com/elixir-ecto/ecto) from 3.10.1 to 3.10.2. - [Release notes](https://github.com/elixir-ecto/ecto/releases) - [Changelog](https://github.com/elixir-ecto/ecto/blob/master/CHANGELOG.md) - [Commits](elixir-ecto/ecto@v3.10.1...v3.10.2) --- updated-dependencies: - dependency-name: ecto dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @babel/core from 7.22.1 to 7.22.5 in /apps/block_scout_web/assets Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.1 to 7.22.5. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.22.5/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @amplitude/analytics-browser in /apps/block_scout_web/assets Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 1.10.7 to 1.10.8. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@1.10.7...@amplitude/analytics-browser@1.10.8) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sass from 1.63.2 to 1.63.3 in /apps/block_scout_web/assets Bumps [sass](https://github.com/sass/dart-sass) from 1.63.2 to 1.63.3. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.63.2...1.63.3) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sweetalert2 from 11.7.11 to 11.7.12 in /apps/block_scout_web/assets Bumps [sweetalert2](https://github.com/sweetalert2/sweetalert2) from 11.7.11 to 11.7.12. - [Release notes](https://github.com/sweetalert2/sweetalert2/releases) - [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md) - [Commits](sweetalert2/sweetalert2@v11.7.11...v11.7.12) --- updated-dependencies: - dependency-name: sweetalert2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump core-js from 3.30.2 to 3.31.0 in /apps/block_scout_web/assets Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.30.2 to 3.31.0. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/commits/v3.31.0/packages/core-js) --- updated-dependencies: - dependency-name: core-js dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump url from 0.11.0 to 0.11.1 in /apps/block_scout_web/assets Bumps [url](https://github.com/defunctzombie/node-url) from 0.11.0 to 0.11.1. - [Commits](defunctzombie/node-url@v0.11.0...v0.11.1) --- updated-dependencies: - dependency-name: url dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump postcss-loader from 7.3.2 to 7.3.3 in /apps/block_scout_web/assets Bumps [postcss-loader](https://github.com/webpack-contrib/postcss-loader) from 7.3.2 to 7.3.3. - [Release notes](https://github.com/webpack-contrib/postcss-loader/releases) - [Changelog](https://github.com/webpack-contrib/postcss-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/postcss-loader@v7.3.2...v7.3.3) --- updated-dependencies: - dependency-name: postcss-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sass-loader from 13.3.1 to 13.3.2 in /apps/block_scout_web/assets Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 13.3.1 to 13.3.2. - [Release notes](https://github.com/webpack-contrib/sass-loader/releases) - [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/sass-loader@v13.3.1...v13.3.2) --- updated-dependencies: - dependency-name: sass-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add yul filter * Add "language" field to smart contract structure * add block_number indexfor address_coin_balances table * Bump css-minimizer-webpack-plugin in /apps/block_scout_web/assets Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases) - [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md) - [Commits](webpack-contrib/css-minimizer-webpack-plugin@v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: css-minimizer-webpack-plugin dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @amplitude/analytics-browser in /apps/block_scout_web/assets Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 1.10.8 to 1.11.0. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@1.10.8...@amplitude/analytics-browser@1.11.0) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump sass from 1.63.3 to 1.63.4 in /apps/block_scout_web/assets Bumps [sass](https://github.com/sass/dart-sass) from 1.63.3 to 1.63.4. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](sass/dart-sass@1.63.3...1.63.4) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump webpack from 5.86.0 to 5.87.0 in /apps/block_scout_web/assets Bumps [webpack](https://github.com/webpack/webpack) from 5.86.0 to 5.87.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.86.0...v5.87.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @amplitude/analytics-browser in /apps/block_scout_web/assets Bumps [@amplitude/analytics-browser](https://github.com/amplitude/Amplitude-TypeScript) from 1.11.0 to 2.0.0. - [Release notes](https://github.com/amplitude/Amplitude-TypeScript/releases) - [Commits](https://github.com/amplitude/Amplitude-TypeScript/compare/@amplitude/analytics-browser@1.11.0...@amplitude/analytics-browser@2.0.0) --- updated-dependencies: - dependency-name: "@amplitude/analytics-browser" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump phoenix_pubsub from 2.1.2 to 2.1.3 Bumps [phoenix_pubsub](https://github.com/phoenixframework/phoenix_pubsub) from 2.1.2 to 2.1.3. - [Changelog](https://github.com/phoenixframework/phoenix_pubsub/blob/main/CHANGELOG.md) - [Commits](phoenixframework/phoenix_pubsub@v2.1.2...v2.1.3) --- updated-dependencies: - dependency-name: phoenix_pubsub dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fix contract args displaying bug * Limit fetchers init tasks * Ignore logs of non-consensus blocks in Indexer.Fetcher.TransactionAction * Fix import of tx actions * Update changelog * Fix for dialyzer * Publish docker image CI for RSK chain * Bump ex_cldr_units from 3.16.1 to 3.16.2 Bumps [ex_cldr_units](https://github.com/elixir-cldr/cldr_units) from 3.16.1 to 3.16.2. - [Release notes](https://github.com/elixir-cldr/cldr_units/releases) - [Changelog](https://github.com/elixir-cldr/cldr_units/blob/main/CHANGELOG.md) - [Commits](https://github.com/elixir-cldr/cldr_units/commits) --- updated-dependencies: - dependency-name: ex_cldr_units dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Move MissingRangesCollector init logic to handle_continue * Add search by public tag support to API v2 SearchView * Changelog * Add interfaces field to vyper-multipart; Add /vyper-standard-input ve… (blockscout#7665) * Add interfaces field to vyper-multipart; Add /vyper-standard-input verification * Changelog * Decode interfaces field * Fix error field for vyper * Parse compiler settings * Fix compile error * Complete PR * Fix test * Fix review * VerificationController refactoring * Fix tests * Add test for label search (blockscout#7741) * Add test for label search * Changelog * Bump eslint from 8.42.0 to 8.43.0 in /apps/block_scout_web/assets Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.42.0...v8.43.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump cldr_utils from 2.24.0 to 2.24.1 Bumps [cldr_utils](https://github.com/elixir-cldr/cldr_utils) from 2.24.0 to 2.24.1. - [Release notes](https://github.com/elixir-cldr/cldr_utils/releases) - [Changelog](https://github.com/elixir-cldr/cldr_utils/blob/master/CHANGELOG.md) - [Commits](elixir-cldr/cldr_utils@v2.24.0...v2.24.1) --- updated-dependencies: - dependency-name: cldr_utils dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump mock from 0.3.7 to 0.3.8 Bumps [mock](https://github.com/jjh42/mock) from 0.3.7 to 0.3.8. - [Release notes](https://github.com/jjh42/mock/releases) - [Changelog](https://github.com/jjh42/mock/blob/master/Changelog.md) - [Commits](jjh42/mock@v0.3.7...v0.3.8) --- updated-dependencies: - dependency-name: mock dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Add missing method_to_url params for trace transactions * Speed up API v2 (blockscout#7502) * Speed up /api/v2/transactions * Add new address_current_token_balances index * Speed up address to logs query * Optimize coin_balance_history * Optimize logs decoding for API v2 * Optimize token existance check in some cases * Force search query to use index * Speed up coin-balance-history * Add TokenBalanceOnDemand.trigger_fetch call to addresses/{address_hash}/tokens endpoint * Optimize txs decoding for API v2; Speed up has_token_transfer check for txs; Simplify block txs query * Fix tests * Fix review comments * Add changelog * Cut heavy migrations * Store and display native coin market cap from the DB (blockscout#7585) * Store and display market cap from the DB * Fix reviwer comments * Fix reviewer comment * Fix reviewer comments * Process reviwer comments * Fix failing incompatible test * Fix test * Fix history_chart.js Return available_supply for backward compatibility * Increase waiting interval * Blockscout 5.2.0 * Adding simple script to build and run with tolar defaults (#1) * add script * change repo * add two yaml file * Update gcp.yml fix gcp yaml file * Update gcp.yml fix image name * Update gcp.yml add gcp auth * Update gcp.yml test push docker image to gcr * Update gcp.yml test push docker image to gcr * Update gcp.yml test gcr auth * Update gcp.yml change gcloud auth * Update gcp.yml * Update gcp.yml test gcloud auth * Update gcp.yml fix master * Update gcp.yml push image to gcr * Update gcp.yml fix error * Update gcp.yml fix project_id variable * Update gcp.yml * Update gcp.yml * Update gcp.yml * Update gcp.yml * Update git_update.sh * Update gcp.yml new actions * Update gcp.yml fix dockerfile variable * Update gcp.yml fix project_id variable * Update gcp.yml fix dockerfile path * Update gcp.yml * Update gcp.yml * Update gcp.yml * Update gcp.yml * Update gcp.yml * Update gcp.yml * delete scripts folder * add platform variable in docker-compose * Update gcp.yml * Update gcp.yml * Update gcp.yml * Update Dockerfile * fic docker-compose * fix dockerfile * commit dockerfile * feat: add tol_get_block_by_hash/1 ethRPC method Make documentation compile and appear correctly * add tol_get_block_by_index/1 * add tol_get_block_count/0 endpoint * add tol_getLatestBlock/0 * feat: tol_get_transaction/1 endpoint * added eth_address_to_tolar/1 function and use it to transform transaction addresses * fix: return 'zero address' in case there is no new_address * feat: tol_getTransactionList/3 endpoint * chore: add types * feat: tol_getTransactionReceipt/1 endpoint * fix: normalise parameters to always be a map * feat: tol_get_blockchain_info * feat: added two missing endpoints * fix: byepass the dynamic dispatching for tol requests * fix: tol methods with parameters * fix: allow transaction_hash in different formats * fix: support map arguments, support 0x and not prefixed tx_hashes * fix: return unprefixed hashes, data and topics * fix: return confirmed_block_count from the database * fix: excepted transaction displaying * fix: ParseError * fix: normalize block hashes before query * fix: make nonce field a string * fix: tol_getPastEvents without topic provided (or empty string) * fix: make sure excepted field is always boolean * fix: receiver address is zero address when it's nil in the blockscout db * fix: excepted and exception fields * feat: tolar_transaction_data table * broken: added logic to fetch and store additional tolar fields * feat: extended logic to accomodate for additional 3 fields * feat: add new fields to JRPC endpoint response * Problem: addresses displayed in ETH format (#5) * Problem: addresses displayed in ETH format, and we want them to be in tolar * remove 0x prefix from transactions on the front-end --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com> Co-authored-by: Qwerty5Uiop <alex000010@bk.ru> Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com> Co-authored-by: Nikita Pozdniakov <nikitosing4@mail.ru> Co-authored-by: nikitosing <32202610+nikitosing@users.noreply.github.com> Co-authored-by: Mayank Mittal <msquare.pvt21@gmail.com> Co-authored-by: Nick Zenchik <n.zenchik@gmail.com> Co-authored-by: sl1depengwyn <max.pengwyn@gmail.com> Co-authored-by: POA <33550681+poa@users.noreply.github.com> Co-authored-by: MarkoBacicTolar <43336717+MarkoBacicTolar@users.noreply.github.com> Co-authored-by: MarioMatosevic <mario.matosevic@tolar.io> Co-authored-by: MarioMatosevic <109737434+MarioMatosevic@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #7558
Motivation
Coin market cap cached in memory cache and returned only for the current day currently.
Changelog
Store coin market cap history in the
market_history
table.api/v2/stats/charts/market
endpoint will returnmarket_cap
for every json object in the array inchart_data
.available_supply
property will be removed after removing its usage from the frontend (You don't need to calculate market cap on the front based on theavailable_supply
prop anymore).).
Success response body example:
{"chart_data":[{"closing_price":"1723.99","date":"2023-06-20","market_cap":"0.00"},{"closing_price":"1725.87","date":"2023-06-19","market_cap":"207330049476"},{"closing_price":"1720.48","date":"2023-06-18","market_cap":"0.00"},{"closing_price":"1822.91","date":"2023-05-24","market_cap":"0.00"},{"closing_price":"1854.65","date":"2023-05-23","market_cap":"0.00"},{"closing_price":"1817.8","date":"2023-05-22","market_cap":"0.0"}], "available_supply": "100500"}
Checklist for your Pull Request (PR)
CHANGELOG.md
with this PRmaster
in the Version column. Changes will be reflected in this table: https://docs.blockscout.com/for-developers/information-and-settings/env-variables.