Skip to content
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

Reasons why next, please help #883

Open
goodengineer opened this issue Jan 12, 2022 · 0 comments
Open

Reasons why next, please help #883

goodengineer opened this issue Jan 12, 2022 · 0 comments

Comments

@goodengineer
Copy link

goodengineer commented Jan 12, 2022

Dear friends,

Quite good, great system it is. Polkadot and Kusama are incredible ideas and projects need more investment and doing, to increase it utility and benevolent impacts.

I try to contribute my electric and computation power to increase value and quality of crypto assets.
This is indeed objective, as crypto assets may help to support needy in times of no income, no jobs, no salary when working/studying them from individual place and let it continue and improve.

Polkadot and Kusama full nodes need to be made, such that one who runs it from wide range/spectrum of computers, contribute as much to more value(substance, price) of cryptographic asset.

Please let me know how can I do so.

1)
Can you please explain in few sentences/paragraphs how the underlying Polkadot/Kusama database works and what happens when one runs full node?

2)
Next bug appeared, than upon subsequent run disappears:

Can you please explain why this bug and how to repair it:

std::panicking::rust_panic_with_hook
at /rustc/59eed8a2aac0230a8b53e89d4e99d55912ba6b35/library/std/src/panicking.rs:628:17

....

Screenshot from 2022-01-11 23-32-25
Screenshot from 2022-01-12 06-49-42
Screenshot from 2022-01-12 06-50-31
Screenshot from 2022-01-12 06-50-39
Screenshot from 2022-01-12 06-52-49

3) Please explain in few words how can I attain / achieve full synchronization faster and what will happen after my node is synced?

Kind Regards,
Engineer: Paul E. Mazniker

@Sophia-Gold Sophia-Gold transferred this issue from paritytech/polkadot Aug 24, 2023
claravanstaden pushed a commit to Snowfork/polkadot-sdk that referenced this issue Dec 8, 2023
* Halting & resuming bridge pallets

* Ignore .env

* Remove .env

* Some polish

* Set owner of bridge pallets

* Update cumulus

* Relax RANDAO_COMMIT_DELAY for local setup

* Update cumulus

* Update cumulus

* Fix test
claravanstaden added a commit to Snowfork/polkadot-sdk that referenced this issue Dec 8, 2023
* Improve contracts

* More improvements to contracts

* Fix parachain build in proxy-contracts branch (paritytech#889)

* Upgrade ssz_rs crate. (paritytech#880)

* Upgrade ssz_rs crate.

* Upgrade ssz_rs crate.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Bump nixpkgs to use its geth package (paritytech#885)

* Bump nixpkgs to use its geth package

* Use source config in PolkadotListener

* Match field order in struct def

* Move info log to relay creation

* Remove unused channel

* Whitespace

* Add context to errors

* Add logs

* Bump node & pnpm in workflow

* Rename locals

* Remove unused variable

* Add Troubleshooting README section

* Fix up .envrc-example files

* Add note about pure shells

* Update cumulus submodule (paritytech#886)

* Inbound queue benchmarks (paritytech#876)

* Start with inbound channel benchmarks.

* Add method to set execution header storage for benchmark test.

* Working on benchmarks

* Basic working version

* Cleanup

* Removes cleanup.

* Adds some comments for Alistair.

* Adds branch name.

* Makes note

* Test transactions

* Cleaning up beacon client deps.

* Clean up comments.

* Tests cleanup.

* Fixes non-benchmark test runs.

* Cleanup.

* Update fixtures and generates benchmarks.

* Revert relayer logs.

* Cleanup BenchmarkHelper impl and inbound queue dependencies.

* fmt

* Cleanup imports.

* Cleanup imports.

* Touch

* Adds weights in inbound queue pallet.

* Fix tests.

* Update cumulus.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Fix parachain build

* Move BalanceOf outside of pallet

* remove benchmark for non existing method

* downgrade cargo.lock to match cumulus

* fix benchmarks

---------

Co-authored-by: Clara van Staden <[email protected]>
Co-authored-by: Alistair Singh <[email protected]>

* forge install: openzeppelin-contracts

v4.9.2

* sno-472 rebased (paritytech#890)

* Halting & resuming bridge pallets

* Ignore .env

* Remove .env

* Some polish

* Set owner of bridge pallets

* Upgrade ssz_rs crate. (paritytech#880)

* Upgrade ssz_rs crate.

* Upgrade ssz_rs crate.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Update cumulus

* Bump nixpkgs to use its geth package (paritytech#885)

* Bump nixpkgs to use its geth package

* Use source config in PolkadotListener

* Match field order in struct def

* Move info log to relay creation

* Remove unused channel

* Whitespace

* Add context to errors

* Add logs

* Bump node & pnpm in workflow

* Rename locals

* Remove unused variable

* Add Troubleshooting README section

* Fix up .envrc-example files

* Add note about pure shells

* Relax RANDAO_COMMIT_DELAY for local setup

* Update cumulus

* Update cumulus submodule (paritytech#886)

* Update cumulus

* Inbound queue benchmarks (paritytech#876)

* Start with inbound channel benchmarks.

* Add method to set execution header storage for benchmark test.

* Working on benchmarks

* Basic working version

* Cleanup

* Removes cleanup.

* Adds some comments for Alistair.

* Adds branch name.

* Makes note

* Test transactions

* Cleaning up beacon client deps.

* Clean up comments.

* Tests cleanup.

* Fixes non-benchmark test runs.

* Cleanup.

* Update fixtures and generates benchmarks.

* Revert relayer logs.

* Cleanup BenchmarkHelper impl and inbound queue dependencies.

* fmt

* Cleanup imports.

* Cleanup imports.

* Touch

* Adds weights in inbound queue pallet.

* Fix tests.

* Update cumulus.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Fix test

* Fix parachain build

* Move BalanceOf outside of pallet

* remove benchmark for non existing method

* downgrade cargo.lock to match cumulus

* fix benchmarks

* Clara/sno 552 (paritytech#887)

* Spacing

* Spacing

* Undo typo.

* Minor updates.

* Adds comment about IrrelevantUpdate.

* One more comment.

* Update error name.

---------

Co-authored-by: claravanstaden <Cats 4 life!>

* Halting & resuming bridge pallets (paritytech#883)

* Halting & resuming bridge pallets

* Ignore .env

* Remove .env

* Some polish

* Set owner of bridge pallets

* Update cumulus

* Relax RANDAO_COMMIT_DELAY for local setup

* Update cumulus

* Update cumulus

* Fix test

* Fix Warnings

* Fix test

* Fix build & format

* Fix benchmark test

* Check for duplicate versions of substrate and polkadot (paritytech#891)

* modified pre-commit

* fixes

* testing

* testing

* testing

* fixed tests

* Format

* Some fix

* Update cumulus

* Update cumulus

---------

Co-authored-by: Clara van Staden <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: Alistair Singh <[email protected]>

* Proxy contracts Tests fixes (paritytech#892)

* fixed tests

* warnings and imports

* rustfmt

* updated cumulus

* Revert rustfmt (paritytech#896)

* Revert "rustfmt"

This reverts commit b83cec7929cdcc6ac972a2b1cad3a0e1fde81870.

* reverted xcm-builder

* Create agent (paritytech#895)

* base

* removed location conversion

* completed implementation

* remove xcm-builder

* update cumulus

* update cumulus

* use contains_key

* Fix openzeppelin-contracts submodule

---------

Co-authored-by: David Dunn <[email protected]>

* improve API for sending tokens

* Messy working version.

* Cleanup.

* More cleanup.

* Rollback unnecessary changes.

* Cleanup whitespace.

* Fix tests.

* Fuzz the submit method.

* Revert rebase oopsies.

* More fuzzing.

* More fuzzing.

* Last extrinsic.

* Remove unnecessary dependency.

* Revert readme.

* Fix tests and feature issues.

* Cleanup types.

* More cleanup.

* Call extrinsics directly. Adds readme.

* Adds CI.

* cd to correct dir

* Update CI.

* Correct nightly param.

* Remove runs.

* Own impl for SyncCommittee.

* Remove rng.
Cleans up workflow.

* Last cleanup.

* Update parachain/pallets/ethereum-beacon-client/fuzz/Cargo.toml

Co-authored-by: David Dunn <[email protected]>

* Adds cargo-fuzz to init script.

* PR comment changes.

* Update parachain/pallets/ethereum-beacon-client/fuzz/src/impls.rs

Co-authored-by: David Dunn <[email protected]>

* Update rust-toolchain.toml

Co-authored-by: David Dunn <[email protected]>

* Update .github/workflows/parachain.yml

Co-authored-by: David Dunn <[email protected]>

* Less runs for shorter Github actions.

---------

Co-authored-by: Vincent Geddes <[email protected]>
Co-authored-by: David Dunn <[email protected]>
Co-authored-by: Alistair Singh <[email protected]>
Co-authored-by: Ron <[email protected]>
Co-authored-by: claravanstaden <Cats 4 life!>
helin6 pushed a commit to boolnetwork/polkadot-sdk that referenced this issue Feb 5, 2024
* Receipt log sql indexer

* Wip unify worker and backend

* Wip lay out service

* Remove old crate

* mapping sync works (wip genesis)

* Genesis block indexing

* General rpc update to async

* WIP filter logs sql

* Fix mapping-sync tests

* WIP filter logs sql

* Test filter_logs

* Fix tests

* Make it build and pass tests again

* Use sql backend in rpc

* Run ts tests with sql + ci

* Fix key-value

* editorconfig

* taplo

* clippy

* Always fire interval first

* Try move indexing

* Always fire interval first

* await on logs task

* wal journal mode

* Additional logging

* Add pragmas + optimize vec insert

* More logs

* More logs

* Move block metadata state read to blocking thread

# Conflicts:
#	client/db/src/sql/mod.rs

* Tweak filter_logs query

* Update indexes

* Additional metadata logging

* Fix trailing wildcard bug + add more tests

# Conflicts:
#	client/db/src/sql/mod.rs

* Improve topic input sanitization

* Move `block_number` column from `logs` to `blocks`

# Conflicts:
#	client/db/src/sql/mod.rs

* Add and handle `is_canon` column

# Conflicts:
#	client/db/src/sql/mod.rs

* Use ethereum digest in sync worker tests

# Conflicts:
#	client/mapping-sync/Cargo.toml

* Proper way of handling canonicalization + tests

# Conflicts:
#	client/db/src/sql/mod.rs

* Add progress handler timeout for sqlx queries

# Conflicts:
#	template/node/src/cli.rs

* improve query building

* add cli params to tweak sql, fixes non canon import bug and sql query

# Conflicts:
#	client/db/src/sql/mod.rs
#	client/mapping-sync/src/sql/mod.rs
#	template/node/src/cli.rs

* add tests, fix redundant cloning

# Conflicts:
#	Cargo.lock
#	client/db/Cargo.toml

* improve docs and tests

* fix gaps in sync

# Conflicts:
#	client/mapping-sync/src/sql/mod.rs

* Fix tests

* formatting

* editorconfig

* fmt

* add sql backend pool size config

* Tmp disable threads pragma

* Revert "Tmp disable threads pragma"

This reverts commit abaeb11c3defd65b240dd1eda689a5c18fd2eb61.

* Try CI fix, low cache, pool size and greater timeout

* revert timeout param

* add support for purge, move db in sql directory

* bump

* fix resume indexing, create indices at start, use spawn_blocking

* simplify num_ops_timeout type, add docs

* use channles for indexing operations

* fix bugs, loop for check missing blocks, set canon query

* cleanup, add docs

* fix filter query

* insert null for missing topics, check unindexed blocks

* fix tests, add worker config

* merge with v0.9.38

* fmt

* fmt

* fmt

* clippy

* clippy

* cleanup

* use upstream sqlx

* lint

* remove nightly feature

* apply code suggestions

* rebase

* disallow SyncStrategy::Normal for the time being

* emit notifications from sql backend

* update tests

---------

Co-authored-by: Nisheeth Barthwal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant