File tree Expand file tree Collapse file tree 6 files changed +154
-45
lines changed
Expand file tree Collapse file tree 6 files changed +154
-45
lines changed Original file line number Diff line number Diff line change 1515local-test
1616
1717* .lock
18- .idea
18+ .idea
19+
20+ * db.sqlite *
Original file line number Diff line number Diff line change @@ -113,3 +113,32 @@ docker run -it -p 30333:30333 -p 9933:9933 -p 9944:9944 -p 9615:9615 -v /data:/d
113113 --no-mdns --execution=wasm --pruning=archive\
114114 -- --execution=wasm --wasm-execution=Compiled --chain=polkadot
115115```
116+ ## Developers
117+ ### Local Fork with Chopsticks
118+ Neuroweb + Relay Chain:
119+ ``` bash
120+ npx @acala-network/chopsticks@latest --config=neuroweb
121+
122+ # For testnet use
123+ npx @acala-network/chopsticks@latest --config=neuroweb-testnet
124+ ```
125+
126+ Neuroweb + Relay Chain + Hydration + Asset Hub:
127+ ```
128+ npx @acala-network/chopsticks@latest xcm -r polkadot -p neuroweb -p hydradx -p polkadot-asset-hub
129+ ```
130+
131+ Neuroweb (local config with WASM override) + Relay Chain:
132+ ```
133+ npx @acala-network/chopsticks@latest --config=launch-configs/chopsticks/neuroweb.yml
134+ ```
135+
136+ ### Local fork with Zombienet
137+ Prerequisites:
138+ * Install [ Zombienet] ( https://github.com/paritytech/zombienet )
139+ * Clone and build the appropriate version of the [ Polkadot runtime] ( https://github.com/paritytech/polkadot-sdk ) in the parent directory
140+ * Build the Neuroweb runtime
141+ ```
142+ cd launch-configs/zombienet
143+ zombienet spawn neuroweb-local.json
144+ ```
Original file line number Diff line number Diff line change 1+ endpoint : wss://parachain-testnet-rpc.origin-trail.network
2+ mock-signature-host : true
3+ block : ${env.NEUROWEB_TESTNET_BLOCK_NUMBER}
4+ db : ./db.sqlite
5+
6+ import-storage :
7+ System :
8+ Account :
9+ -
10+ -
11+ - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
12+ - providers : 1
13+ data :
14+ free : 1000000000000000
15+ Council :
16+ Members : ["5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"]
Original file line number Diff line number Diff line change 1+ endpoint : wss://parachain-rpc.origin-trail.network
2+ mock-signature-host : true
3+ block : ${env.NEUROWEB_BLOCK_NUMBER}
4+ db : ./db.sqlite
5+ wasm-override : target/release/wbuild/neuroweb-runtime/neuroweb_runtime.compact.compressed.wasm
6+
7+ import-storage :
8+ System :
9+ Account :
10+ -
11+ -
12+ - 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice
13+ - providers : 1
14+ data :
15+ free : 1000000000000000
16+ Council :
17+ Members : ["5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"]
Original file line number Diff line number Diff line change 1+ {
2+ "settings" : {
3+ "provider" : " native"
4+ },
5+ "relaychain" : {
6+ "default_command" : " ../../../polkadot-sdk/target/release/polkadot" ,
7+ "chain" : " rococo-local" ,
8+ "default_args" : [
9+ " --no-hardware-benchmarks" ,
10+ " --database=paritydb"
11+ ],
12+ "genesis" : {
13+ "runtimeGenesis" : {
14+ "patch" : {
15+ "configuration" : {
16+ "config" : {
17+ "async_backing_params" : {
18+ "max_candidate_depth" : 3 ,
19+ "allowed_ancestry_len" : 2
20+ }
21+ }
22+ }
23+ }
24+ }
25+ },
26+ "nodes" : [
27+ {
28+ "name" : " alice" ,
29+ "command" : " ../../../polkadot-sdk/target/release/polkadot" ,
30+ "args" : [
31+ " --pruning=archive"
32+ ],
33+ "ws_port" : 9944 ,
34+ "invulnerable" : true
35+ },
36+ {
37+ "name" : " bob" ,
38+ "ws_port" : 9955 ,
39+ "invulnerable" : true
40+ },
41+ {
42+ "name" : " charlie" ,
43+ "ws_port" : 9966 ,
44+ "invulnerable" : true
45+ },
46+ {
47+ "name" : " dave" ,
48+ "ws_port" : 9977 ,
49+ "invulnerable" : true
50+ }
51+ ]
52+ },
53+ "types" : {},
54+ "hrmp_channels" : [],
55+ "parachains" : [
56+ {
57+ "id" : 2043 ,
58+ "cumulus_based" : true ,
59+ "chain" : " local" ,
60+ "collators" : [
61+ {
62+ "name" : " alice" ,
63+ "command" : " ../../target/release/neuroweb" ,
64+ "args" : [
65+ " --no-hardware-benchmarks" ,
66+ " --force-authoring" ,
67+ " --database=paritydb" ,
68+ " --pruning=archive" ,
69+ " --log=info"
70+ ],
71+ "ws_port" : 9988 ,
72+ "rpc_port" : 9999
73+ },
74+ {
75+ "name" : " bob" ,
76+ "command" : " ../../target/release/neuroweb" ,
77+ "args" : [
78+ " --no-hardware-benchmarks" ,
79+ " --force-authoring" ,
80+ " --database=paritydb" ,
81+ " --pruning=archive" ,
82+ " --log=info"
83+ ],
84+ "ws_port" : 9989
85+ }
86+ ]
87+ }
88+ ]
89+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments