Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
655dc45
Initial commit
cecton May 6, 2020
9a47c09
Added subcommand to run polkadot
cecton May 6, 2020
32e81cf
Add command validation-worker
cecton May 6, 2020
df0f832
Add storage_append to runtime
cecton May 6, 2020
892d057
WIP
cecton May 7, 2020
41f50ee
WIP
cecton May 8, 2020
214e50d
WIP
cecton May 8, 2020
cd131ff
WIP
cecton May 11, 2020
3212554
clean exit if possible
cecton May 11, 2020
0286a88
wip
cecton May 11, 2020
d38edea
WIP
cecton May 11, 2020
3d162e0
WIP
cecton May 11, 2020
62b544e
WIP
cecton May 11, 2020
17887fc
.editorconfig
cecton May 12, 2020
a0eb356
register working
cecton May 12, 2020
9961be4
WIP
cecton May 12, 2020
baa4357
clean-up
cecton May 13, 2020
fc408e4
Rename ProcessCleanUp to ChildHelper
cecton May 13, 2020
22b64de
More clean-up
cecton May 13, 2020
a978970
Runs integration test separately
cecton May 13, 2020
ee3832a
Merge commit 3acb6d0d835c3589f50bf0911729baaea41981fc (no conflict)
cecton May 13, 2020
1267f80
Merge commit c163d8702b27e542caebd0df585d45ec761edc2a (conflicts)
cecton May 13, 2020
368a582
Simplify toml
cecton May 13, 2020
de2b666
Merge commit e810cf3b5ba4b6b1a2848bc57a6302146fc54d78 (conflicts)
cecton May 13, 2020
a17dd34
Merge commit d6ab13c00f555674212b0c86620fdb504d8cf505 (no conflict)
cecton May 13, 2020
31768ce
Initial commit
cecton May 13, 2020
68b0dcf
Update substrate & polkadot branch
cecton May 13, 2020
e2f3fdc
Update test/parachain/tests/integration_test.rs
cecton May 13, 2020
0361e14
Split polkadot service creation from service building/running
cecton May 13, 2020
cde8935
Applied suggestions
cecton May 13, 2020
145ec00
Renamed _child to _helper
cecton May 13, 2020
0d21e75
Use JustifiedBlockAnnounceValidator
cecton May 13, 2020
671d5f9
Update test/parachain/tests/integration_test.rs
cecton May 14, 2020
a5c89b0
Make a function for generate_genesis_state
cecton May 14, 2020
9697b62
Move std::io::Read import
cecton May 14, 2020
a300ea9
wait_for_tcp indefinitely + remove 10s wait for relay blocks
cecton May 14, 2020
87489c5
Implement max time allowed for the test
cecton May 14, 2020
6f0075a
rpc call to monitor new blocks
cecton May 14, 2020
9c7af42
Removed unused helpers
cecton May 14, 2020
19b7942
Update test/parachain/tests/integration_test.rs
cecton May 14, 2020
6eca4f0
Not sure why I made a helper for this in the first place...
cecton May 15, 2020
6e43fd4
WIP
cecton May 15, 2020
2564cce
cleanup
cecton May 15, 2020
542eb35
CLEANUP
cecton May 15, 2020
ddb111f
Merge branch 'cecton-int-test' into cecton-use-custom-block-announce-…
cecton May 15, 2020
d985af8
WIP
cecton May 15, 2020
e4fb6aa
Apply suggestions
cecton May 15, 2020
bf68f24
Fix p2p ports
cecton May 15, 2020
8c24090
Merge branch 'cecton-int-test' into cecton-use-custom-block-announce-…
cecton May 18, 2020
a633fdd
Add test in int test scenario
cecton May 18, 2020
865542d
CLEANUP
cecton May 18, 2020
56929d6
CLEANUP
cecton May 18, 2020
0b1f21b
Merge commit e183d8bd30514d941586bb9bb6decce322572fca (no conflict)
cecton May 18, 2020
c9f95a3
Merge commit 0a7cde66102efe59f4041e5fe5603eace6443328 (conflicts)
cecton May 18, 2020
526a029
Switch branch
cecton May 19, 2020
8179b9f
WIP
cecton May 19, 2020
e7fe457
Refactor
cecton May 19, 2020
bb89a33
Removes some unwrap & introduce parking_lot
cecton May 19, 2020
9cc6f21
Replace match by expect
cecton May 19, 2020
5a257d6
Update network/src/lib.rs
cecton May 19, 2020
934fd5c
Add doc
cecton May 19, 2020
0e0a464
WIP
cecton May 19, 2020
8495691
WIP
cecton May 19, 2020
21dba8c
Reduce comment
cecton May 19, 2020
82317fb
Merge branch 'cecton-use-custom-block-announce-validator' into cecton…
cecton May 19, 2020
a728c9b
Merge commit 23e963d4319fa025c22fbbd88ddd42524e5eaa24 (conflicts)
cecton May 19, 2020
21a491e
Merge commit adc88bf1676488e6914b9d85839c71d084a67748 (no conflict)
cecton May 19, 2020
6d86594
CLEANUP
cecton May 19, 2020
0b6b980
Change implementation
cecton May 20, 2020
0be5da4
Revert "WIP"
cecton May 20, 2020
87ab4bd
Revert "WIP"
cecton May 20, 2020
35268cd
Revert "Switch branch"
cecton May 20, 2020
27bccd0
CLEANUP
cecton May 20, 2020
53830f0
Revert "Revert "WIP""
cecton May 20, 2020
d82cc2c
WIP
cecton May 20, 2020
299f802
Revert "Revert "Switch branch""
cecton May 20, 2020
afa1c7b
CLEANUP
cecton May 20, 2020
ce6b721
CLEANUP
cecton May 20, 2020
568d53c
Attempt to make a test for the validator
cecton May 25, 2020
38a96c3
WIP
cecton May 26, 2020
b5397bc
WIP
cecton May 26, 2020
f3e61ab
WIP
cecton May 26, 2020
d86fe57
WIP
cecton May 26, 2020
44eb276
CLEANUP
cecton May 26, 2020
4c0510d
format
cecton May 26, 2020
787fbd1
WIP
cecton May 26, 2020
b05b90e
WIP
cecton May 26, 2020
a4489e6
WIP
cecton May 26, 2020
870092a
fix missing authorities
cecton May 27, 2020
4f867db
CLEANUP
cecton May 27, 2020
0aae773
revert branch switch
cecton May 27, 2020
6db1f90
revert accidental removal
cecton May 27, 2020
176cc43
Actually this part of the test is not useful
cecton May 27, 2020
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
Prev Previous commit
Next Next commit
WIP
Forked at: 032595d
Parent branch: origin/master
  • Loading branch information
cecton committed May 11, 2020
commit 3d162e0418380e2f407de96754dbcc5da82d42f2
5 changes: 3 additions & 2 deletions test/parachain/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ use polkadot_primitives::parachain::{Info, Scheduling};
use polkadot_primitives::Hash as PHash;
use polkadot_runtime_common::{registrar, parachains, BlockHashCount};
use polkadot_runtime::{Runtime, OnlyStakingAndClaims, SignedExtra, SignedPayload, System};
use polkadot_service::chain_spec::polkadot_local_testnet_config;
use polkadot_service::chain_spec::{polkadot_local_testnet_config, PolkadotChainSpec};
use polkadot_service::ChainSpec;
use codec::Encode;
use substrate_test_runtime_client::AccountKeyring::Alice;
Expand Down Expand Up @@ -212,7 +212,8 @@ fn integration_test() {
registrar::LimitParathreadCommits::<Runtime>::new(),
parachains::ValidateDoubleVoteReports::<Runtime>::new(),
);
let genesis_config = polkadot_local_testnet_config();
//let genesis_config = polkadot_local_testnet_config();
let genesis_config = PolkadotChainSpec::from_json_bytes(&include_bytes!("../res/polkadot_chainspec.json")[..]).unwrap();
let storage = genesis_config.as_storage_builder().build_storage().unwrap();
let mut basic_ext = BasicExternalities::new(storage);
let raw_payload = basic_ext.execute_with(|| {
Expand Down