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
% make process | |
query: SELECT * FROM current_schema() | |
query: SELECT version(); | |
query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = 'public' AND "table_name" = 'migrations' | |
query: SELECT * FROM "migrations" "migrations" ORDER BY "id" DESC | |
No migrations are pending | |
18:32:55 INFO sqd:processor last processed block was 19 | |
18:32:55 INFO sqd:processor processing blocks from 20 | |
18:32:55 DEBUG sqd:processor:archive-request http request | |
httpRequestId: 0 |
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
% make process | |
query: SELECT * FROM current_schema() | |
query: SELECT version(); | |
query: SELECT * FROM "information_schema"."tables" WHERE "table_schema" = 'public' AND "table_name" = 'migrations' | |
query: SELECT * FROM "migrations" "migrations" ORDER BY "id" DESC | |
No migrations are pending | |
17:01:56 INFO sqd:processor last processed block was 99 | |
17:01:56 INFO sqd:processor processing blocks from 100 | |
17:01:56 DEBUG sqd:processor:archive-request http request | |
httpRequestId: 0 |
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
services: | |
db: | |
image: postgres:12 # CockroachDB cluster might be a better fit for production deployment | |
restart: always | |
volumes: | |
- /mnt/volume_subsquid_subspace/postgresql/data | |
environment: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: squid-archive |
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
Attaching to subsquid-subspace_ingest_1, subsquid-subspace_gateway_1, subsquid-subspace_explorer_1, subsquid-subspace_db_1 | |
db_1 | The files belonging to this database system will be owned by user "postgres". | |
db_1 | This user must also own the server process. | |
db_1 | | |
db_1 | The database cluster will be initialized with locale "en_US.utf8". | |
db_1 | The default database encoding has accordingly been set to "UTF8". | |
db_1 | The default text search configuration will be set to "english". | |
db_1 | | |
db_1 | Data page checksums are disabled. | |
db_1 | |
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
{ | |
"version":"v0.7.0", | |
"notes":"Testing...", | |
"pub_date":"2022-06-22T19:25:57Z", | |
"platforms": { | |
"darwin": { | |
"signature":"dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUldUTE5QWWxkQnlZOVJZVGdpKzJmRWZ0SkRvWS9TdFpqTU9xcm1mUmJSSG5OWVlwSklrWkN1SFpWbmh4SDlBcTU3SXpjbm0xMmRjRkphbkpVeGhGcTdrdzlrWGpGVWZQSWdzPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNTkyOTE1MDU3CWZpbGU6L1VzZXJzL3J1bm5lci9ydW5uZXJzLzIuMjYzLjAvd29yay90YXVyaS90YXVyaS90YXVyaS9leGFtcGxlcy9jb21tdW5pY2F0aW9uL3NyYy10YXVyaS90YXJnZXQvZGVidWcvYnVuZGxlL29zeC9hcHAuYXBwLnRhci5negp4ZHFlUkJTVnpGUXdDdEhydTE5TGgvRlVPeVhjTnM5RHdmaGx3c0ZPWjZXWnFwVDRNWEFSbUJTZ1ZkU1IwckJGdmlwSzJPd00zZEZFN2hJOFUvL1FDZz09Cg==", | |
"url":"https://github.com/subspace/subspace-desktop/releases/download/0.6.8/subspace-desktop_0.6.8_amd64.deb" | |
}, | |
"linux": { |
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
const { ApiPromise, WsProvider } = require("@polkadot/api"); | |
async function main() { | |
const provider = new WsProvider('wss://kusama-rpc.polkadot.io'); | |
const api = await ApiPromise.create({ provider }); | |
const number = 10857954; | |
const hash = await api.rpc.chain.getBlockHash(number); | |
const block = await api.rpc.chain.getBlock.raw(hash); // same with chain.getBlock(hash); | |
console.log(block.justifications); // result is null |
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
import React from 'react'; | |
import Title from './Title'; | |
import Nav from './Nav'; | |
import styles from "./style.css"; | |
var lastScroll = 0;//переменная для scrollHandler | |
class Header extends React.Component { | |
constructor(){ | |
super(); |