diff --git a/CHANGELOG.md b/CHANGELOG.md index d474d3d38e..2226f5e7f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,81 +1,111 @@ ## Current -- [#2000](https://github.com/poanetwork/blockscout/pull/2000) - docker/Makefile: always set a container name ### Features -- [#1963](https://github.com/poanetwork/blockscout/pull/1963) - added rinkeby theme and rinkeby logo -- [#1959](https://github.com/poanetwork/blockscout/pull/1959) - added goerli theme and goerli logo +- [#1963](https://github.com/poanetwork/blockscout/pull/1963), [#1959](https://github.com/poanetwork/blockscout/pull/1959), [#1948](https://github.com/poanetwork/blockscout/pull/1948), [#1936](https://github.com/poanetwork/blockscout/pull/1936), [#1925](https://github.com/poanetwork/blockscout/pull/1925), [#1922](https://github.com/poanetwork/blockscout/pull/1922), [#1903](https://github.com/poanetwork/blockscout/pull/1903), [#1874](https://github.com/poanetwork/blockscout/pull/1874), [#1895](https://github.com/poanetwork/blockscout/pull/1895) - added new themes and logos for poa, eth, rinkeby, goerli, ropsten, kovan, sokol, xdai, etc, rsk +- [#2010](https://github.com/poanetwork/blockscout/pull/2010) - added "block not found" and "tx not found pages" - [#1928](https://github.com/poanetwork/blockscout/pull/1928) - pagination styles were updated -- [#1948](https://github.com/poanetwork/blockscout/pull/1948) - added ropsten theme and ropsten logo - [#1940](https://github.com/poanetwork/blockscout/pull/1940) - qr modal button and background issue -- [#1936](https://github.com/poanetwork/blockscout/pull/1936) - added kovan, sokol themes and logos -- [#1925](https://github.com/poanetwork/blockscout/pull/1925) - added dai theme and logo -- [#1922](https://github.com/poanetwork/blockscout/pull/1922) - added ethereum classic theme and logo - [#1907](https://github.com/poanetwork/blockscout/pull/1907) - dropdown color bug fix (lukso theme) and tooltip color bug fix -- [#1903](https://github.com/poanetwork/blockscout/pull/1903) - added rsk theme and rsk logo -- [#1895](https://github.com/poanetwork/blockscout/pull/1895) - add changes to poa theme and poa logo -- [#1812](https://github.com/poanetwork/blockscout/pull/1812) - add pagination to addresses page -- [#1874](https://github.com/poanetwork/blockscout/pull/1874) - add changes to ethereum theme and ethereum logo -- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - able to search without prefix "0x" -- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - add total blocks counter to the main page -- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - verify contracts with a post request - [#1857](https://github.com/poanetwork/blockscout/pull/1857) - Re-implement Geth JS internal transaction tracer in Elixir - [#1859](https://github.com/poanetwork/blockscout/pull/1859) - feat: show raw transaction traces -- [#1920](https://github.com/poanetwork/blockscout/pull/1920) - fix: remove source code fields from list endpoint -- [#1876](https://github.com/poanetwork/blockscout/pull/1876) - async calculate a count of blocks - [#1941](https://github.com/poanetwork/blockscout/pull/1941) - feat: add on demand fetching and stale attr to rpc - [#1957](https://github.com/poanetwork/blockscout/pull/1957) - Calculate stakes ratio before insert pools - [#1956](https://github.com/poanetwork/blockscout/pull/1956) - add logs tab to address -- [#1933](https://github.com/poanetwork/blockscout/pull/1933) - add eth_BlockNumber json rpc method - [#1952](https://github.com/poanetwork/blockscout/pull/1952) - feat: exclude empty contracts by default - [#1989](https://github.com/poanetwork/blockscout/pull/1989) - fix: consolidate address w/ balance one at a time - [#1954](https://github.com/poanetwork/blockscout/pull/1954) - feat: use creation init on self destruct - [#1974](https://github.com/poanetwork/blockscout/pull/1974) - feat: previous page button logic - [#1999](https://github.com/poanetwork/blockscout/pull/1999) - load data async on addresses page - [#2002](https://github.com/poanetwork/blockscout/pull/2002) - Get estimated count of blocks when cache is empty +- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites. ### Fixes - [#1944](https://github.com/poanetwork/blockscout/pull/1944) - fixed styles for token's dropdown. - [#1926](https://github.com/poanetwork/blockscout/pull/1926) - status label alignment -- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine -- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable -- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil -- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks - [#1849](https://github.com/poanetwork/blockscout/pull/1849) - Improve chains menu - [#1869](https://github.com/poanetwork/blockscout/pull/1869) - Fix output and gas extraction in JS tracer for Geth - [#1868](https://github.com/poanetwork/blockscout/pull/1868) - fix: logs list endpoint performance - [#1822](https://github.com/poanetwork/blockscout/pull/1822) - Fix style breaks in decompiled contract code view - [#1885](https://github.com/poanetwork/blockscout/pull/1885) - highlight reserved words in decompiled code - [#1896](https://github.com/poanetwork/blockscout/pull/1896) - re-query tokens in top nav automplete -- [#1881](https://github.com/poanetwork/blockscout/pull/1881) - fix: store solc versions locally for performance - [#1905](https://github.com/poanetwork/blockscout/pull/1905) - fix reorgs, uncles pagination -- [#1875](https://github.com/poanetwork/blockscout/pull/1875) - fix: resolve false positive constructor arguments - [#1904](https://github.com/poanetwork/blockscout/pull/1904) - fix `BLOCK_COUNT_CACHE_TTL` env var type -- [#1898](https://github.com/poanetwork/blockscout/pull/1898) - check if the constructor has arguments before verifying constructor arguments - [#1915](https://github.com/poanetwork/blockscout/pull/1915) - fallback to 2 latest evm versions - [#1937](https://github.com/poanetwork/blockscout/pull/1937) - Check the presence of overlap[i] object before retrieving properties from it - [#1960](https://github.com/poanetwork/blockscout/pull/1960) - do not remove bold text in decompiled contacts -- [#1917](https://github.com/poanetwork/blockscout/pull/1917) - Force block refetch if transaction is re-collated in a different block - [#1992](https://github.com/poanetwork/blockscout/pull/1992) - fix: support https for wobserver polling - [#1966](https://github.com/poanetwork/blockscout/pull/1966) - fix: add fields for contract filter performance - [#2017](https://github.com/poanetwork/blockscout/pull/2017) - fix: fix to/from filters on tx list pages +- [#2008](https://github.com/poanetwork/blockscout/pull/2008) - add new function clause for xDai network beneficiaries +- [#2009](https://github.com/poanetwork/blockscout/pull/2009) - addresses page improvements ### Chore -- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script -- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder - [#1900](https://github.com/poanetwork/blockscout/pull/1900) - SUPPORTED_CHAINS ENV var -- [#1892](https://github.com/poanetwork/blockscout/pull/1892) - Remove temporary worker modules - [#1958](https://github.com/poanetwork/blockscout/pull/1958) - Default value for release link env var - [#1964](https://github.com/poanetwork/blockscout/pull/1964) - ALLOWED_EVM_VERSIONS env var - [#1975](https://github.com/poanetwork/blockscout/pull/1975) - add log index to transaction view - [#1988](https://github.com/poanetwork/blockscout/pull/1988) - Fix wrong parity tasks names in Circle CI +- [#2000](https://github.com/poanetwork/blockscout/pull/2000) - docker/Makefile: always set a container name + +## 1.3.14-beta + +### Features + +- [#1812](https://github.com/poanetwork/blockscout/pull/1812) - add pagination to addresses page +- [#1920](https://github.com/poanetwork/blockscout/pull/1920) - fix: remove source code fields from list endpoint +- [#1876](https://github.com/poanetwork/blockscout/pull/1876) - async calculate a count of blocks + +### Fixes + +- [#1917](https://github.com/poanetwork/blockscout/pull/1917) - Force block refetch if transaction is re-collated in a different block + +### Chore + +- [#1892](https://github.com/poanetwork/blockscout/pull/1892) - Remove temporary worker modules + +## 1.3.13-beta + +### Features + +- [#1933](https://github.com/poanetwork/blockscout/pull/1933) - add eth_BlockNumber json rpc method + +### Fixes + +- [#1875](https://github.com/poanetwork/blockscout/pull/1875) - fix: resolve false positive constructor arguments +- [#1881](https://github.com/poanetwork/blockscout/pull/1881) - fix: store solc versions locally for performance +- [#1898](https://github.com/poanetwork/blockscout/pull/1898) - check if the constructor has arguments before verifying constructor arguments + +## 1.3.12-beta + +Reverting of synchronous block counter, implemented in #1848 + +## 1.3.11-beta + +### Features + +- [#1815](https://github.com/poanetwork/blockscout/pull/1815) - Be able to search without prefix "0x" +- [#1813](https://github.com/poanetwork/blockscout/pull/1813) - Add total blocks counter to the main page +- [#1806](https://github.com/poanetwork/blockscout/pull/1806) - Verify contracts with a post request +- [#1848](https://github.com/poanetwork/blockscout/pull/1848) - Add cache for block counter + +### Fixes + +- [#1829](https://github.com/poanetwork/blockscout/pull/1829) - Handle nil quantities in block decoding routine +- [#1830](https://github.com/poanetwork/blockscout/pull/1830) - Make block size field nullable +- [#1840](https://github.com/poanetwork/blockscout/pull/1840) - Handle case when total supply is nil +- [#1838](https://github.com/poanetwork/blockscout/pull/1838) - Block counter calculates only consensus blocks + +### Chore + +- [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script +- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder ## 1.3.10-beta ### Features -- [#1807](https://github.com/poanetwork/blockscout/pull/1807) - New theming capabilites. - [#1739](https://github.com/poanetwork/blockscout/pull/1739) - highlight decompiled source code - [#1696](https://github.com/poanetwork/blockscout/pull/1696) - full-text search by tokens - [#1742](https://github.com/poanetwork/blockscout/pull/1742) - Support RSK diff --git a/apps/block_scout_web/assets/css/app.scss b/apps/block_scout_web/assets/css/app.scss index 567f3b0abf..06510862b9 100644 --- a/apps/block_scout_web/assets/css/app.scss +++ b/apps/block_scout_web/assets/css/app.scss @@ -120,6 +120,7 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts"; @import "components/transaction"; @import "components/api"; @import "components/alerts"; +@import "components/errors"; :export { primary: $primary; diff --git a/apps/block_scout_web/assets/css/components/_errors.scss b/apps/block_scout_web/assets/css/components/_errors.scss new file mode 100644 index 0000000000..05a850bc03 --- /dev/null +++ b/apps/block_scout_web/assets/css/components/_errors.scss @@ -0,0 +1,137 @@ +$error-tablet-breakpoint: 768px; + +// Block Not Found + +.block-not-found { + display: flex; + flex-direction: column; + padding-bottom: 50px; + @media (min-width: $error-tablet-breakpoint) { + flex-direction: row; + align-items: center; + justify-content: center; + padding-top: 52px; + } +} + +.block-not-found-img { + margin-bottom: 40px; + text-align: center; + @media (min-width: $error-tablet-breakpoint) { + margin-bottom: 0; + text-align: left; + } + img { + max-width: 100%; + height: auto; + } +} + +.block-not-found-content { + text-align: center; + @media (min-width: $error-tablet-breakpoint) { + text-align: left; + padding-left: 52px; + max-width: 396px; + } +} + +.error-title { + margin-bottom: 20px !important; +} + +.error-descr { + display: block; + font-size: 14px; + color: #a3a9b5; + line-height: 1.714; + margin-bottom: 22px; + word-wrap: break-word; +} + +.error-btn { + background: transparent; + display: inline-flex !important; +} + +// TX Not Found +.tx-nf { + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + padding-bottom: 50px; + @media (min-width: $error-tablet-breakpoint) { + flex-direction: row; + padding-top: 52px; + } +} + +.tx-nf-content { + margin-top: 52px; + max-width: 700px; + @media (min-width: $error-tablet-breakpoint) { + margin-left: 90px; + margin-top: 0; + } +} + +.tx-nf-blocks { + margin-bottom: 40px; + margin-top: 40px; +} + +.tx-nf-block { + background-color: #fff; + box-shadow: 0px 0px 30px 0px rgba(202, 199, 226, 0.5); + padding: 17px 40px 17px 20px; + position: relative; + border-radius: 6px; + @media (min-width: $error-tablet-breakpoint) { + width: calc(50% - 20px); + } +} + +.tx-nf-block { + .error-descr { + margin-bottom: 0; + } + & + .tx-nf-block { + margin-top: 30px; + @media (min-width: $error-tablet-breakpoint) { + margin-top: 0; + } + } +} + +.tx-nf-blocks-row { + display: flex; + justify-content: space-between; + flex-direction: column; + @media (min-width: $error-tablet-breakpoint) { + flex-direction: row; + } + & + .tx-nf-blocks-row { + margin-top: 30px; + @media (min-width: $error-tablet-breakpoint) { + margin-top: 40px; + } + } +} + +.tx-nf-number { + display: inline-block; + position: absolute; + top: -15px; + left: -15px; + width: 30px; + height: 30px; + border-radius: 15px; + background-color: $secondary; + box-shadow: 0px 3px 5px 0px rgba($secondary, 0.25); + color: #fff; + font-weight: 700; + font-size: 14px; + text-align: center; + line-height: 32px; +} \ No newline at end of file diff --git a/apps/block_scout_web/assets/js/lib/async_listing_load.js b/apps/block_scout_web/assets/js/lib/async_listing_load.js index 0d7f427fd3..e22f6e399d 100644 --- a/apps/block_scout_web/assets/js/lib/async_listing_load.js +++ b/apps/block_scout_web/assets/js/lib/async_listing_load.js @@ -48,6 +48,8 @@ export const asyncInitialState = { loading: false, /* if there was an error fetching items */ requestError: false, + /* if response has no items */ + emptyResponse: false, /* if it is loading the first page */ loadingFirstPage: true, /* link to the next page */ @@ -90,6 +92,7 @@ export function asyncReducer (state = asyncInitialState, action) { return Object.assign({}, state, { requestError: false, + emptyResponse: action.items.length === 0, items: action.items, nextPagePath: action.nextPagePath, prevPagePath: prevPagePath @@ -169,6 +172,10 @@ export const elements = { }, '[data-async-listing] [data-next-page-button]': { render ($el, state) { + if (state.emptyResponse) { + return $el.hide() + } + if (state.requestError || !state.nextPagePath || state.loading) { return $el.attr('disabled', 'disabled') } @@ -179,6 +186,10 @@ export const elements = { }, '[data-async-listing] [data-prev-page-button]': { render ($el, state) { + if (state.emptyResponse) { + return $el.hide() + } + if (state.requestError || !state.prevPagePath || state.loading) { return $el.attr('disabled', 'disabled') } @@ -189,6 +200,10 @@ export const elements = { }, '[data-async-listing] [data-page-number]': { render ($el, state) { + if (state.emptyResponse) { + return $el.hide() + } + if (state.pagesStack.length === 0) { return $el.text('Page 1') } diff --git a/apps/block_scout_web/assets/static/images/errors-img/etc-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/etc-block-not-found.png new file mode 100644 index 0000000000..57d63cb148 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/etc-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/etc-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/etc-block-not-found@2x.png new file mode 100644 index 0000000000..e1f484b479 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/etc-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/etc-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/etc-tx-not-found.png new file mode 100644 index 0000000000..e049e2ba5a Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/etc-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/etc-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/etc-tx-not-found@2x.png new file mode 100644 index 0000000000..124b903ad7 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/etc-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/eth-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/eth-block-not-found.png new file mode 100644 index 0000000000..977e0dbd32 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/eth-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/eth-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/eth-block-not-found@2x.png new file mode 100644 index 0000000000..b1ce45428e Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/eth-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/eth-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/eth-tx-not-found.png new file mode 100644 index 0000000000..25a4fa7768 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/eth-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/eth-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/eth-tx-not-found@2x.png new file mode 100644 index 0000000000..f6cfa7e50c Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/eth-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/goerli-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/goerli-block-not-found.png new file mode 100644 index 0000000000..77656a34c1 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/goerli-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/goerli-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/goerli-block-not-found@2x.png new file mode 100644 index 0000000000..8bc8a52bb4 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/goerli-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/goerli-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/goerli-tx-not-found.png new file mode 100644 index 0000000000..666ecc0928 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/goerli-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/goerli-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/goerli-tx-not-found@2x.png new file mode 100644 index 0000000000..255a8786cc Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/goerli-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/koan-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/koan-block-not-found@2x.png new file mode 100644 index 0000000000..8c952bf4b5 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/koan-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/kovan-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/kovan-block-not-found.png new file mode 100644 index 0000000000..7f947386cd Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/kovan-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/kovan-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/kovan-block-not-found@2x.png new file mode 100644 index 0000000000..4c8632d5cc Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/kovan-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/kovan-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/kovan-tx-not-found.png new file mode 100644 index 0000000000..a8f663f7a9 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/kovan-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/kovan-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/kovan-tx-not-found@2x.png new file mode 100644 index 0000000000..43be02d226 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/kovan-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/poa-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/poa-block-not-found.png new file mode 100644 index 0000000000..05e2d0e8a9 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/poa-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/poa-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/poa-block-not-found@2x.png new file mode 100644 index 0000000000..a9827caceb Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/poa-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/poa-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/poa-tx-not-found.png new file mode 100644 index 0000000000..0c2974d94b Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/poa-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/poa-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/poa-tx-not-found@2x.png new file mode 100644 index 0000000000..23679da31e Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/poa-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinkeby-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-block-not-found.png new file mode 100644 index 0000000000..5d9bc35f8b Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinkeby-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-block-not-found@2x.png new file mode 100644 index 0000000000..8e60bbcc6c Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinkeby-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-tx-not-found.png new file mode 100644 index 0000000000..98d2a3a605 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinkeby-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-tx-not-found@2x.png new file mode 100644 index 0000000000..b4175f4024 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinkeby-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinnkeby-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rinnkeby-block-not-found.png new file mode 100644 index 0000000000..534e827d1e Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinnkeby-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rinnkeby-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rinnkeby-block-not-found@2x.png new file mode 100644 index 0000000000..0c7f9f7359 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rinnkeby-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/ropsten-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/ropsten-block-not-found.png new file mode 100644 index 0000000000..3ce59a2d9d Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/ropsten-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/ropsten-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/ropsten-block-not-found@2x.png new file mode 100644 index 0000000000..cf7cce8197 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/ropsten-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/ropsten-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/ropsten-tx-not-found.png new file mode 100644 index 0000000000..13a4f91eb0 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/ropsten-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/ropsten-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/ropsten-tx-not-found@2x.png new file mode 100644 index 0000000000..e2e66973d7 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/ropsten-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rsk-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rsk-block-not-found.png new file mode 100644 index 0000000000..fd10b54047 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rsk-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rsk-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rsk-block-not-found@2x.png new file mode 100644 index 0000000000..eb6a98df25 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rsk-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rsk-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/rsk-tx-not-found.png new file mode 100644 index 0000000000..03c6f76be2 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rsk-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/rsk-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/rsk-tx-not-found@2x.png new file mode 100644 index 0000000000..5559c9c5d2 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/rsk-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/sokol-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/sokol-block-not-found.png new file mode 100644 index 0000000000..fd10b54047 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/sokol-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/sokol-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/sokol-block-not-found@2x.png new file mode 100644 index 0000000000..eb6a98df25 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/sokol-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/sokol-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/sokol-tx-not-found.png new file mode 100644 index 0000000000..03c6f76be2 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/sokol-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/sokol-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/sokol-tx-not-found@2x.png new file mode 100644 index 0000000000..5559c9c5d2 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/sokol-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/xdai-block-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/xdai-block-not-found.png new file mode 100644 index 0000000000..94339df5dc Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/xdai-block-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/xdai-block-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/xdai-block-not-found@2x.png new file mode 100644 index 0000000000..fd3c12bae2 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/xdai-block-not-found@2x.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/xdai-tx-not-found.png b/apps/block_scout_web/assets/static/images/errors-img/xdai-tx-not-found.png new file mode 100644 index 0000000000..666ecc0928 Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/xdai-tx-not-found.png differ diff --git a/apps/block_scout_web/assets/static/images/errors-img/xdai-tx-not-found@2x.png b/apps/block_scout_web/assets/static/images/errors-img/xdai-tx-not-found@2x.png new file mode 100644 index 0000000000..255a8786cc Binary files /dev/null and b/apps/block_scout_web/assets/static/images/errors-img/xdai-tx-not-found@2x.png differ diff --git a/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex b/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex index d8b1fbbf60..6ce33a2773 100644 --- a/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex +++ b/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex @@ -26,7 +26,7 @@ defmodule BlockScoutWeb.AddressController do address_path( conn, :index, - next_page_params + Map.delete(next_page_params, "type") ) end diff --git a/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex b/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex index e3140a0efc..47d7f2457b 100644 --- a/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex +++ b/apps/block_scout_web/lib/block_scout_web/templates/address/index.html.eex @@ -3,11 +3,11 @@
<%= gettext("If you have just submitted this transaction please wait for at least 30 seconds before refreshing this page.") %>
+<%= gettext("It could still be in the TX Pool of a different node, waiting to be broadcasted.") %>
+<%= gettext("During times when the network is busy (i.e during ICOs) it can take a while for your transaction to propagate through the network and for us to index it.") %>
+<%= gettext("If it still does not show up after 1 hour, please check with your sender/exchange/wallet/transaction provider for additional information.") %>