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

PoC light client #609

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
99c97aa
PoC light client
ermalkaleci Dec 29, 2023
26830b6
request retries
ermalkaleci Dec 29, 2023
dae0a5a
keep retry same peer
ermalkaleci Dec 29, 2023
d233f1b
Merge branch 'master' of github.com:AcalaNetwork/chopsticks into ligh…
ermalkaleci Dec 29, 2023
82d8aa3
fix retry
ermalkaleci Dec 29, 2023
9049d52
fix index
ermalkaleci Jan 2, 2024
ee79d66
fix
ermalkaleci Jan 2, 2024
0519919
fix
ermalkaleci Jan 3, 2024
9dea638
update smoldot
ermalkaleci Jan 3, 2024
ba3fc5b
update smoldot
ermalkaleci Jan 3, 2024
f7c04e0
support multiple chains
ermalkaleci Jan 4, 2024
5ead869
Merge branch 'master' of github.com:AcalaNetwork/chopsticks into ligh…
ermalkaleci Jan 4, 2024
7dffd24
update config
ermalkaleci Jan 4, 2024
6d042c0
rename
ermalkaleci Jan 5, 2024
f74099c
browser support
ermalkaleci Jan 5, 2024
24544b1
rename
ermalkaleci Jan 5, 2024
7d8a6c7
fix ws
ermalkaleci Jan 5, 2024
870a934
Merge branch 'master' of github.com:AcalaNetwork/chopsticks into ligh…
ermalkaleci Jan 9, 2024
843436f
update
ermalkaleci Jan 9, 2024
9ad8acf
update peer list
ermalkaleci Jan 10, 2024
14182a2
lint
ermalkaleci Jan 10, 2024
c441a6c
refactor
ermalkaleci Jan 11, 2024
f106758
Merge branch 'master' of github.com:AcalaNetwork/chopsticks into ligh…
ermalkaleci Apr 18, 2024
f3fb9e4
fix after merge
ermalkaleci Apr 18, 2024
d9adc98
update smoldot
ermalkaleci Apr 18, 2024
bc6dd54
refactor
ermalkaleci Apr 22, 2024
629cecd
Merge branch 'master' of github.com:AcalaNetwork/chopsticks into ligh…
ermalkaleci Apr 22, 2024
2773bd2
cleanup
ermalkaleci Apr 22, 2024
50391a5
cleanup
ermalkaleci Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "vendor/smoldot"]
path = vendor/smoldot
url = https://github.com/ermalkaleci/smoldot.git
url = https://github.com/smol-dot/smoldot.git
9 changes: 9 additions & 0 deletions configs/acala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ mock-signature-host: true
block: ${env.ACALA_BLOCK_NUMBER}
db: ./db.sqlite

p2p:
genesisBlockHash: '0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c'
bootnodes:
- /dns/acala-bootnode-4.aca-api.network/tcp/30334/ws/p2p/12D3KooWBLwm4oKY5fsbkdSdipHzYJJHSHhuoyb1eTrH31cidrnY
- /dns/acala-bootnode-5.aca-api.network/tcp/443/wss/p2p/12D3KooWN6ZZ2LFSJo2vDci3hqmmcvqMcKJAbREvuYCdvoBvV2D4
- /dns/acala-bootnode-6.aca-api.network/tcp/80/ws/p2p/12D3KooWEBniruZHpoVj8RUtAFPahaN8UaGP6UtQb5Bdp4MVYbLc
- /dns/acala-bootnode-6.aca-api.network/tcp/443/wss/p2p/12D3KooWEBniruZHpoVj8RUtAFPahaN8UaGP6UtQb5Bdp4MVYbLc
- /dns/acala-bootnode-7.aca-api.network/tcp/80/ws/p2p/12D3KooWMq7AtHFx3ZboMT92HQw8BvhZFzJh8UrPCZeMB3yFLe1V

import-storage:
Sudo:
Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
Expand Down
9 changes: 9 additions & 0 deletions configs/polkadot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ block: ${env.POLKADOT_BLOCK_NUMBER}
db: ./db.sqlite
# wasm-override: polkadot_runtime.compact.compressed.wasm

p2p:
genesisBlockHash: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3'
bootnodes:
- /dns/polkadot-boot.dwellir.com/tcp/30334/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ
- /dns/polkadot-bootnode-0.polkadot.io/tcp/30334/ws/p2p/12D3KooWSz8r2WyCdsfWHgPyvD8GKQdJ1UAiRmrcrs8sQB3fe2KU
- /dns/polkadot-bootnode-0.polkadot.io/tcp/443/wss/p2p/12D3KooWSz8r2WyCdsfWHgPyvD8GKQdJ1UAiRmrcrs8sQB3fe2KU
- /dns/polkadot-bootnode-1.polkadot.io/tcp/30334/ws/p2p/12D3KooWFN2mhgpkJsDBuNuE5427AcDrsib8EoqGMZmkxWwx3Md4
- /dns/polkadot-bootnode-1.polkadot.io/tcp/443/wss/p2p/12D3KooWFN2mhgpkJsDBuNuE5427AcDrsib8EoqGMZmkxWwx3Md4

import-storage:
System:
Account:
Expand Down
Loading
Loading