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

feat: state chain upgraded to substrate 2022-05 #1650

Merged
merged 34 commits into from
May 13, 2022
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
b8df7b8
feat: state chain upgraded to substrate 2022-05
dandanlen May 9, 2022
83b28a2
feat: merge monthly-2022-05 changes into Cfe
dandanlen May 9, 2022
bc8e541
feat: remove subxt
dandanlen May 9, 2022
017cf37
chore: update benchmarks template
dandanlen May 9, 2022
34e333b
fix: benchmarking and try-runtime compiles
dandanlen May 9, 2022
ee9a482
chore: updatre state chain mocks and tests
dandanlen May 9, 2022
dd0d713
chore: update more tests
dandanlen May 9, 2022
0bca1af
fix call
dandanlen May 10, 2022
2917f33
fix: dependency conflict in signing
dandanlen May 9, 2022
9f3070f
fix: validator tests session keys
dandanlen May 9, 2022
80fc06f
chore: clippy
dandanlen May 9, 2022
f179874
feat: grandpa rpcs
dandanlen May 10, 2022
bb4185f
chore: remove types.json 💥
dandanlen May 10, 2022
2d3d545
feat: new construct_runtime syntax for mocks
dandanlen May 10, 2022
ed4b02d
fix: remove unused dependencies.
dandanlen May 10, 2022
650dd1c
fix: no expected authorship slot at genesis
dandanlen May 10, 2022
8d3d8d5
fix: spelling
dandanlen May 10, 2022
361dc2d
fix: panic if no author is provided.
dandanlen May 10, 2022
207b9db
feat: add a test for SigData MaxEncodedLen impl.
dandanlen May 10, 2022
727083a
fix: integration tests
dandanlen May 11, 2022
e8a0b2f
fix: remove pointless assertion context.
dandanlen May 11, 2022
7608433
fix: unsigned extrinsic submission logs pallet call
dandanlen May 11, 2022
9850c3b
fix: test all MaxEncodedLen impls
dandanlen May 11, 2022
c8f6e66
fix: revert weight template
dandanlen May 11, 2022
7de785c
fix: correctly formatted hbs template
dandanlen May 11, 2022
fcabb06
fix: update benchmark.sh
dandanlen May 11, 2022
47b9c2f
Merge branch 'develop' into feat/integrate-substrate-monthly-2022-05
dandanlen May 11, 2022
762810b
fix: expected_hash encoding
dandanlen May 11, 2022
e74f005
fix: integration tests
dandanlen May 11, 2022
0566f6e
fix: missed authorship slot tests.
dandanlen May 11, 2022
7b78c96
feat: additional cfe logging on failed signing attempt.
dandanlen May 12, 2022
e8692a9
feat: extra loggin on keygen failures.
dandanlen May 12, 2022
675ad51
chore: add comment re. tx fee tip
dandanlen May 12, 2022
7a5f938
chore: add TODO for issue #1657
dandanlen May 12, 2022
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
fix call
dandanlen committed May 10, 2022
commit 0bca1af4a7a5f95a9477de124854d6344c5c9000
22 changes: 11 additions & 11 deletions state-chain/cf-integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -209,12 +209,12 @@ mod tests {
state_chain_runtime::Witnesser::witness_at_epoch(
Origin::signed(self.node_id.clone()),
Box::new(
pallet_cf_staking::Call::staked(
validator_id.clone(),
*amount,
ETH_ZERO_ADDRESS,
TX_HASH,
)
pallet_cf_staking::Call::staked {
account_id: validator_id.clone(),
amount: *amount,
withdrawal_address: ETH_ZERO_ADDRESS,
tx_hash: TX_HASH,
}
.into(),
),
*epoch,
@@ -265,11 +265,11 @@ mod tests {
// If we rotating let's witness the keys being rotated on the contract
state_chain_runtime::Witnesser::witness(
Origin::signed(self.node_id.clone()),
Box::new(pallet_cf_vaults::Call::vault_key_rotated(
(&*self.threshold_signer).borrow_mut().proposed_public_key(),
100,
[1u8; 32].into(),
).into()),
Box::new(pallet_cf_vaults::Call::vault_key_rotated {
new_public_key: (&*self.threshold_signer).borrow_mut().proposed_public_key(),
block_number: 100,
tx_hash: [1u8; 32].into(),
}.into()),
).expect("should be able to vault key rotation for node");
}
},