-
Notifications
You must be signed in to change notification settings - Fork 20
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
W48 upstream merge #487
W48 upstream merge #487
Conversation
Change keys of cache for update GA
…ion-names Fix empty contract's function names
Ability to hide miner in block views
Block Details page: Improved style of transactions button
Add `token_tile_view_more.css` to the `main-page.css`
…ged-with-mainnet Display token icon for tokens from TrustWallet assets repository
…lector Hide error selector in the contract's functions list
…r-txs-btn Change alpha of transactions button's background
…-alert Support HTML tags in alert message
…ion-link Contract address page: Add implementation link to the overview of proxy contracts
…obile-view-fix Token page: fixes in mobile view
…or-tx Refine view of popup for reverted tx
Transaction page: Rename burned to burnt
`if !` change to `unless`
…query Fix fetch_top_tokens method: add nulls last for token holders desc order
Change button link to the verification type selection page
Web3 modal with Wallet Connect for Write contract page and Staking Dapp
edb2d30
to
1eef43b
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.
There is a regression in how revert reasons are handled, they changed the way they decode them and since we're using geth, it is different from what the upstream team is using, so we need to carefully update that code.
Looks like now users can connect their wallet using wallet connect, let's make sure that people can do that with Valora as well.
@@ -11,7 +11,7 @@ defmodule BlockScoutWeb.CSPHeader do | |||
def call(conn, _opts) do | |||
Controller.put_secure_browser_headers(conn, %{ | |||
"content-security-policy" => "\ | |||
connect-src 'self' #{websocket_endpoints(conn)} https://request-global.czilladx.com/ https://raw.githubusercontent.com/trustwallet/assets/;\ | |||
connect-src 'self' #{websocket_endpoints(conn)} wss://*.bridge.walletconnect.org/ https://request-global.czilladx.com/ https://raw.githubusercontent.com/trustwallet/assets/ https://registry.walletconnect.org/data/wallets.json https://*.poa.network;\ |
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.
I think we can remove https://*.poa.network
.
@@ -61,4 +61,13 @@ | |||
data_test: "address-tokens-panel-tokens-worth", | |||
classes: ["fs-14"] | |||
%> | |||
<%= render BlockScoutWeb.AddressTokenView, "overview_item.html", |
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.
What's CRC? We should disable everything related to Circle/CRC.
@@ -3298,16 +3341,3 @@ msgstr "" | |||
#: lib/block_scout_web/templates/stakes/_stakes_modal_delegators_list.html.eex:18 | |||
msgid "validator" | |||
msgstr "" | |||
|
|||
# From templates/transaction/_token_transfer.html.eex |
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.
Lost translations, we still need those.
@@ -3299,16 +3342,3 @@ msgstr "" | |||
#: lib/block_scout_web/templates/stakes/_stakes_modal_delegators_list.html.eex:18 | |||
msgid "validator" | |||
msgstr "" | |||
|
|||
# From templates/transaction/_token_transfer.html.eex |
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.
We still need these two.
@@ -47,9 +47,11 @@ defmodule Explorer.Chain.TokenTransfer do | |||
* `:transaction` - The `t:Explorer.Chain.Transaction.t/0` ledger | |||
* `:transaction_hash` - Transaction foreign key | |||
* `:log_index` - Index of the corresponding `t:Explorer.Chain.Log.t/0` in the transaction. | |||
* `:amounts` - Tokens transferred amounts in case of batched transfer in ERC-1155 | |||
* `:token_ids` - IDs of the tokens (applicable to ERC-1155 tokens) |
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.
Looks like :comment
was missing.
docker/Dockerfile
Outdated
@@ -5,6 +5,17 @@ RUN apk --no-cache --update add alpine-sdk gmp-dev automake libtool inotify-tool | |||
ENV GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc | |||
ENV GLIBC_VERSION=2.30-r0 | |||
|
|||
RUN set -ex && \ |
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.
Weird duplicate (see 2 lines above and 1 below), should be removed.
docker/Dockerfile
Outdated
@@ -44,6 +55,8 @@ ADD apps/explorer/package*.json ./apps/explorer/ | |||
|
|||
RUN npm install npm@latest | |||
|
|||
RUN npm install npm@latest |
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.
Same here.
# | ||
# Tokens.acquire_contract_address_tokens(repo, contract_address_hashes) | ||
# end | ||
defp acquire_contract_address_tokens(repo, consensus_block_numbers) do |
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.
I think this was commented out because on Celo blocks there are no blocks without consensus. Other methods in this file need to be checked agains both our and upstream versions.
1b65355
to
135e597
Compare
c671c14
to
84bc91a
Compare
W48 upstream changes:
Verify & Publish
button linkPosition
pane for txs have no block