vbaranov on production-xdai-stg-temp
vbaranov on production-sokol-stg-temp
vbaranov on vb-fix-contract-verification
vbaranov on production-sokol-stg
Find by contract name npm audit fix Merge pull request #3047 from p… and 16 more (compare)
vbaranov on master
Find all require messages in th… Merge pull request #3061 from p… (compare)
export SHOW_ADDRESS_MARKETCAP_PERCENTAGE=false. I suppose your coin is not on exchanges yet. Thus, Blockscout cannot get coin market cap from CoinGecko API. And this is why you experienced division by zero in calculating percentage of coins per address
Hi Victor, could it be that you don't see my messages due to the sameroom bot that exceeds its daily limit? Anyway, I ran pghero and noticed that here is 1 query that is clogging up the import:
INSERT INTO "addresses" AS a0 ("decompiled","fetched_coin_balance","fetched_coin_balance_block_number","hash","inserted_at","updated_at","verified") VALUES ($1,$2,$3,$4,$5,$6,$7) ON CONFLICT ("hash") DO UPDATE SET "contract_code" = COALESCE(EXCLUDED.contract_code, a0."contract_code"), "fetched_coin_balance" = CASE WHEN EXCLUDED.fetched_coin_balance_block_number IS NOT NULL AND EXCLUDED.fetched_coin_balance IS NOT NULL AND (a0."fetched_coin_balance" IS NULL OR a0."fetched_coin_balance_block_number" IS NULL OR EXCLUDED.fetched_coin_balance_block_number >= a0."fetched_coin_balance_block_number") THEN EXCLUDED.fetched_coin_balance ELSE a0."fetched_coin_balance" END , "fetched_coin_balance_block_number" = GREATEST(EXCLUDED.fetched_coin_balance_block_number, a0."fetched_coin_balance_block_number"), "nonce" = GREATEST(EXCLUDED.nonce, a0."nonce") WHERE ((COALESCE(a0."contract_code", EXCLUDED.contract_code) IS DISTINCT FROM a0."contract_code" OR EXCLUDED.fetched_coin_balance_block_number IS NOT NULL AND (a0."fetched_coin_balance_block_number" IS NULL OR EXCLUDED.fetched_coin_balance_block_number >= a0."fetched_coin_balance_block_number")) OR GREATEST(a0."nonce", EXCLUDED.nonce) IS DISTINCT FROM a0."nonce") RETURNING "updated_at", "inserted_at", "verified", "decompiled", "nonce", "contract_code", "fetched_coin_balance_block_number", "fetched_coin_balance", "hash"
Hi Victor, did you have any chance to investigate my issue? Thank you
1.10.2. Blockscout is nnot well tested yet with this version. It is recommended to use
CHAIN_SPEC_PATHcould improve the handling of the genesis block. Would it also allow to recognize pre-compiled contracts and verify them? Unfortunately I can't test that at the moment locally (Blcokscout crashed all the time). Any input on that idea/question? Thank you so much for your help!
EMISSION_FORMATvariable too). Though, it will not verify those contracts. You still need to accomplish it manually.
[Victor Baranov, POA Network] I don’t see that you rebuilt front-end assets. Here is the error from Google Chrome Developer console:
Uncaught Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /home/ubuntu/blockscout/apps/block_scout_web/assets/node_modules/node-sass/vendor/linux-x64-57/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 8.x
Found bindings for the following environments:
- Linux 64-bit with Node.js 10.x
Follow the steps from the deployment guide
./dockerfolder. Take a look to https://docs.blockscout.com/for-developers/information-and-settings/docker-integration-local-use-only