forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
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
ETF Milestone 2: Add ACSS Recovery Capability #2
Closed
Closed
Changes from 6 commits
Commits
Show all changes
1544 commits
Select commit
Hold shift + click to select a range
d96a975
Convert chainspec to raw (#4057)
BulatSaif 92e1425
Removed `pallet::getter` usage from Polkadot Runtime pallets (#3660)
muraca 0d71753
Contracts: Only exec parsed code in benchmarks (#3915)
pgherveou cd01092
net/strategy: Log bad peerId from on_validated_block_announce (#4051)
lexnv 1da8d12
Contracts: Reuse module when validating (#3789)
pgherveou d21a41f
Amend chainspecs for `people-westend` and add IBP bootnodes (#4072)
miloskriz 643aa2b
Contracts: Remove ED from base deposit (#3536)
pgherveou 69cc7f2
Fix ClaimQueue case of nothing scheduled on session boundary (#4065)
sandreim 9ede415
collation-generation: Avoid using `para_backing_state` if runtime is …
sandreim 8325705
Fix link check (#4074)
ggwpez f13408d
Enable mainnet system parachains to use async backing-enabled collato…
s0me0ne-unkn0wn 6ebf491
[ci] Divide subsystem-regression-tests into 2 jobs (#4076)
alvicsam 25f038a
Run subsystem-benchmark without network latency (#4068)
AndreiEres 39b1f50
Remove deprecated `TryRuntime` subcommand (#4017)
liamaharon 033484c
Use defaultConfig for pallet_contracts (#1817)
pgherveou 13ca339
Adjust zombienet test resources and logic (#4032)
sandreim b1db5f3
establish_channel_with_system (#3721)
xlc a64009a
Improve docs of broker pallet (#3980)
eskimor a1cb2a5
Move bridge extensions to a separate folder (#4096)
svyatonik 2dfe5f7
Runtime API: introduce `candidates_pending_availability` (#4027)
sandreim 1e971b8
pallet-xcm: add new extrinsic for asset transfers using explicit XCM …
acatangiu 480d5d0
chore: fix some typos (#4095)
wersfeds c963dc2
Synchronize templates (#4040)
rzadp b28ba4a
Remove redundent logging code (#4059)
gilescope 5601f28
Remove `xcm::v3` from `assets-common` nits (#4037)
bkontur 5b513cc
define block hash provider and default impl using frame_system (#4080)
vedhavyas 8220c98
Fix zombienet-bridges-0001-asset-transfer-works (#4069)
serban300 7c69850
sc_network_test: Announce only the highest block (#4111)
bkchr aa43797
Use Github Issue Sync to automate issues in Parachain board (#3694)
rzadp 1bca825
Use `master` environment in the synchronize templates workflow (#4114)
rzadp 30c58fa
Deploy `pallet-parameters` to rococo and fix dynamic_params name expa…
ggwpez 6688eac
Adding Dwellir bootnodes for Coretime Westend, People Westend and Pas…
jonathanudd 88fe945
rococo_contracts: Adds missing migration (#4112)
bkchr 2bc4ed1
Prevent accidental change of network-key for active authorities (#3852)
alexggh 6acf478
Bridge: slash destination may be an explicit account (#4106)
svyatonik d1b0ef7
sp-api: Use macro to detect if `frame-metadata` is enabled (#4117)
bkchr 6f73b74
pallet_broker: Support renewing leases expired in a previous period (…
bkchr 8b4cfda
added script to require a review post push (#3431)
Bullrich d1f9fe0
logging(fix): Use the proper log target for logging (#4124)
lexnv 0c9ad53
[pallet-broker] add tests for renewing leases (#4099)
seadanda a8f4f4f
pallet assets: Fix errors (#4118)
gui1117 4b5c3fd
move fragment_tree module to its own folder (#4148)
alindima 8891b70
[pallet-broker] Use saturating math in input validation (#4151)
ggwpez dd5dbf3
added check to ensure there are approvals (#4152)
Bullrich 61d45ed
Update review-trigger.yml (#4137)
mordamax 753bf2d
[prdoc] Update docs (#3998)
ggwpez 6f3d890
FRAME: Unity Balance Conversion for Different IDs of Native Asset (#3…
muharem e81322b
Contracts verify benchmark block (#4130)
pgherveou 8fd839d
grandpa: Send neighbor packet to lightclients with every finalized he…
lexnv 4be9f93
Adjust `xcm-bridge-hub-router`'s `SendXcm::validate` behavior for `No…
bkontur e6f3106
XCM coretime region transfers (#3455)
Szegoo 4e10d3b
Asset Conversion: Pool Account ID derivation with additional Pallet I…
muharem ca7c01c
Improve doc for pallet macro and config macro (#4146)
gui1117 bfbf7f5
chainHead: Report unique hashes for pruned blocks (#3667)
lexnv 7a2c9d4
Fix nostd build of several crates (#4060)
ggwpez aa78fe2
Contracts: Refactor test builder (#4158)
pgherveou 305d311
Asset Conversion: Pool Touch Call (#3251)
muharem d591b16
Remove NotConcrete error (#3867)
chungquantin b6fab80
[ci] Run `test-linux-stable-int` on self-hosted GitHub Runners (#4178)
alvicsam 76719da
[ci] Update ci image with rust 1.77 and 2024-04-10 (#4077)
alvicsam ff90612
Improve changelog in the release notes (#4179)
EgorPopelyaev 4ddeda1
[ci] Use ci-unified reference (#4196)
alvicsam 91d4a20
chain-selection: allow reverting current block (#4103)
ordian 9f12d21
[ci] Use native git cli in cargo (#4200)
alvicsam 0e55289
Fix next_retry busy waiting on first retry (#4192)
alexggh 37e338f
approval-voting: Make sure we always mark approved candidates approve…
alexggh c891fda
tx: Remove tx_broadcast transaction from the pool (#4050)
lexnv 88a2f36
chainHead: Stabilize chainHead to version 1 (#4168)
lexnv 98a364f
rpc-v2: Limit transactionBroadcast calls to 16 (#3772)
lexnv 4f125d1
Update subsystem-benchmark params (#4201)
AndreiEres 04a9071
Use higher priority for PVF preparation in dispute/approval context (…
sandreim 21308d8
Fixed GrandpaConsensusLogReader::find_scheduled_change (#4208)
svyatonik 69f4373
Provide WSS bootnodes for Rococo and Westend parachains (#4161)
BulatSaif 148d942
txBroadcast: Stabilize to version 1 (#4169)
lexnv eba3dec
txWatch: Stabilize txWatch to version 1 (#4171)
lexnv 4eabe5e
Pvf refactor execute worker errors follow up (#4071)
maksimryndin e504c41
Allow privileged virtual bond in Staking pallet (#3889)
Ank4n f3c3ebb
Fix case in type in macro generation (#4223)
gui1117 253778c
ci: disallow westend migration failure (#4205)
liamaharon e0202ec
[xcm] Assets: sort after `prepend_with` (#4235)
bkontur ff7e2c8
Sanitize `UniversalLocation` witth `GlobalConsensus` + XCM small nits…
bkontur 921265c
Added prdoc for 4208 (#4239)
svyatonik a2a049d
[subsystem-benchmark] Add approval-voting benchmark to CI (#4216)
AndreiEres fb8b64e
[subsystem-benchmark] Fix results filename for approval-voting benche…
AndreiEres 3380e21
Use default branch of `psvm` when synchronizing templates (#4240)
rzadp bd9287f
wasm-builder: Make it easier to build a WASM binary (#4177)
bkchr 84c294c
[testnets] remove XCM SafeCallFilter for chains using Weights::v3 (#4…
acatangiu 157294b
Add metric for time spent waiting in the execution queue (#4250)
alexggh 7f1646e
Add `validate_xcm_nesting` to the `ParentAsUmp` and `ChildParachainRo…
bkontur ac4f421
parachains_coretime: Expose `MaxXCMTransactWeight` (#4189)
bkchr f7c1e0c
Add OnFinality polkadot bootnode (#4247)
ZhenAlexWang 5f2e66f
chore: fix some typos (#4253)
sfuhfds 118cd6f
Ensure outbound XCMs are decodable with limits + add `EnsureDecodable…
bkontur eda5e5c
Fix Stuck Collator Funds (#4229)
joepetrowski ffbce2a
pallet_broker: Let `start_sales` calculate and request the correct co…
bkchr 0a56d07
Adds ability to trigger tasks via unsigned transactions (#4075)
codekitz 9a0049d
Plumbing to increase pvf workers configuration based on chain id (#4252)
alexggh e0584a1
pallet-xcm::transfer_assets_using_type() supports custom actions on d…
acatangiu c594b10
Remove unnecessary cloning (#4263)
kalaninja 8dc0b33
[BEEFY] Return valid signatures when verifying commitment (#4259)
serban300 ac473cf
`AllowHrmpNotificationsFromRelayChain` barrier for HRMP notifications…
bkontur d29c363
Updated review-bot to obtain number from event (#4271)
Bullrich 4f3d43a
Revert `execute_blob` and `send_blob` (#4266)
franciscoaguirre a633e95
Bridge: make some headers submissions free (#4102)
svyatonik 7e68b2b
Bridge: added free headers submission support to the substrate-relay …
svyatonik b801d00
Contracts: Stabilize XCM host fns (#4213)
pgherveou 0770417
[XCM] Treat recursion limit error as transient in the MQ (#4202)
ggwpez 239a23d
Fix polkadot parachains not producing blocks until next session (#4269)
alexggh c26cf3f
Do not re-prepare PVFs if not needed (#4211)
s0me0ne-unkn0wn ff2b178
remote-externalities: retry get child keys query (#4280)
liamaharon c9923cd
rename fragment_tree folder to fragment_chain (#4294)
alindima 8f5c8f7
Update approval-voting banchmarks base values (#4283)
AndreiEres dd5b06e
[subsystem-benchmarks] Log standart deviation for subsystem-benchmark…
AndreiEres 8f8c49d
Fix bad links (#4231)
njelich e8f7c81
[balances] Safeguard against consumer ref underflow (#3865)
ggwpez c66d8a8
Bump bridges relay version + uncomment bridges zombeinet tests (#4289)
svyatonik d212fc7
review-bot: reverted #4271 and added `workflow_dispatch` (#4293)
Bullrich 9a48cd7
Bridges: added helper function to relay single GRANDPA proof + header…
svyatonik 97f7425
Try state: log errors instead of loggin the number of error and disca…
gui1117 988e30f
Implementation of the new validator disabling strategy (#2226)
tdimitrov d893cde
Snowbridge: deposit extra fee to beneficiary on Asset Hub (#4175)
yrong 2a497d2
fix(seal): shameless fix on sealing typo (#4304)
antiyro 73b9a83
[Staking] Runtime api if era rewards are pending to be claimed (#4301)
Ank4n 954150f
remove unnessisary use statements due to 2021 core prelude (#4183)
gilescope 92a348f
Bump snow from 0.9.3 to 0.9.6 (#4061)
dependabot[bot] f34d8e3
Remove hard-coded indices from pallet-xcm tests (#4248)
chungquantin 0031d49
[Staking] Not allow reap stash for virtual stakers (#4311)
Ank4n 4875ea1
Refactor XCM Simulator Example (#4220)
shawntabrizi 1fb058b
Assets Events for `Deposited` and `Withdrawn` (#4312)
pandres95 31dc8bb
Improvements in minimal template (#4119)
codekitz b8593cc
BEEFY: Define basic fisherman (#4328)
serban300 c973fe8
Contracts: revert reverted changes from 4266 (#4277)
pgherveou 6d392c7
Statement Distribution Per Peer Rate Limit (#3444)
Overkillus e5a93fb
HRMP - set `DefaultChannelSizeAndCapacityWithSystem` with dynamic val…
bkontur 14c4afc
[Backport] Version bumps and reorg prdocs from 1.11.0 (#4336)
EgorPopelyaev 16d8205
Make parachain template great again (and async backing ready) (#4295)
s0me0ne-unkn0wn 171bedc
Bridge: ignore client errors when calling recently added `*_free_head…
svyatonik 877617c
cargo: Update experimental litep2p to latest version (#4344)
lexnv b85c5a0
Add PoV-reclaim enablement guide to polkadot-sdk-docs (#4244)
skunert 4e0b3ab
deps: update jsonrpsee to v0.22.5 (#4330)
koushiro df84ea7
sc-tracing: enable env-filter feature (#4357)
Morganamilo 30a1972
More `xcm::v4` cleanup and `xcm_fee_payment_runtime_api::XcmPaymentAp…
bkontur 6580101
Deprecate `NativeElseWasmExecutor` (#4329)
bkchr a9aeabe
Allow for 0 existential deposit in benchmarks for `pallet_staking`, `…
krisbitney ad72cd8
[WIP][CI] Add more GHA jobs (#4270)
alvicsam 8712817
Bridge: fix zombienet tests (#4367)
svyatonik 1680977
Bridge: added subcommand to relay single parachain header (#4365)
svyatonik 5198623
Fix: dust unbonded for zero existential deposit (#4364)
krisbitney 4c09a06
State trie migration on asset-hub westend and collectives westend (#4…
cheme f45847b
Add validate field to prdoc (#4368)
Morganamilo c0234be
Publish `polkadot-sdk-frame` crate (#4370)
codekitz 73c89d3
Introduces `TypeWithDefault<T, D: Get<T>>` (#4034)
codekitz 6e3059a
Upgrade a few deps (#4381)
jasl e434176
Improve Create release draft workflow + templates for the free notes …
EgorPopelyaev b709dcc
Add support for versioned notification for HRMP pallet (#4281)
bkontur 29c8130
chore: fix typos (#4395)
jimdssd 930b046
Add Kusama People Chain genesis chainspec (#4394)
seadanda 1c8595a
Code coverage preparations (#4387)
AndWeHaveAPlan b6dcd1b
Update prdoc for 2226 (#4401)
tdimitrov b9ef00f
metaspan boot nodes for coretime-[westend, kusama] (#4234)
dcolley c91c13b
Generate XCM weights for coretimes (#4396)
bkontur 7213e36
XcmDryRunApi - Dry-running extrinsics to get their XCM effects (#3872)
franciscoaguirre c3e57c1
[pallet-balances] `burn_allow_death` extrinsic (#3964)
Dinonard 17b56fa
Bridge: check bridge GRANDPA pallet call limits from signed extension…
svyatonik 37b1544
Adds benchmarking and try-runtime support in frame crate (#4406)
codekitz 6fdb522
Add semver CI check (#4279)
Morganamilo d37719d
rpc: add option to `whitelist ips` in rate limiting (#3701)
niklasad1 657df04
Fixes `frame-support` reference in `try_decode_entire_state` (#4425)
codekitz 2ed0f3e
rustls: Disable logging (#4426)
bkchr 0044077
Disabling Strategy Implementers Guide (#2955)
Overkillus a993513
Add docs to request_core_count (#4423)
seadanda 84d6437
Remove pallet::getter usage from pallet-contracts-mock-network (#4417)
PolkadotDom 32deb60
Remove `pallet::getter` usage from authority-discovery pallet (#4091)
PolkadotDom 9e0e5fc
xcm-emlator: Use `BlockNumberFor` instead of `parachains_common::Bloc…
bkontur 5f31981
`remote-externalities`: store block header in snapshot (#4349)
liamaharon efc2132
migrations: `take()`should consume read and write operation weight (#…
dastansam 0fcbd4e
Remove `substrate-frame-cli` (#4403)
ggwpez 805d54d
Rococo AH: undeploy trie migration (#4414)
ggwpez f4b73bd
Add generate and verify logic for `AncestryProof` (#4430)
serban300 6d3a6d8
`CheckWeight` SE: Check for extrinsic length + proof size combined (#…
skunert 477a120
[ci] Add forklift to GHA ARC (#4372)
alvicsam d36da12
prospective-parachains rework (#4035)
alindima e973ac9
[ci] Run check-runtime-migration in GHA (#4441)
alvicsam fb7362f
Bump `proc-macro-crate` to the latest version (#4409)
tdimitrov 594c3ed
improve MockValidationDataInherentDataProvider to support async back…
librelois d531ccf
add acss recovery to keystore
driemworks 855cb41
mock test for now
driemworks e1bbb15
move acss impl to local
driemworks 115c247
Bridge: use *-uri CLI arguments when starting relayer (#4451)
svyatonik 4cf2cbd
add back acss impl to bls impl
driemworks c84762b
remove commented code
driemworks 05d340d
fix indentation
driemworks cedb1d4
[ci] Cleanup and order GHA workflows (#4449)
alvicsam f642424
update test
driemworks 5ac1874
Bridge: add subcommand to relay messages range (#4383)
svyatonik 712a750
Bump nix from 0.27.1 to 0.28.0 (#4438)
dependabot[bot] 12ab315
make polkadot-parachain chain-spec extension more relaxed (#4452)
kianenigma 9c69bb9
Change forks pruning algorithm. (#3962)
shamil-gadelshin 494f123
Bump fatality crate to 0.1.1 (#4464)
alexggh 005e3a7
Please consider adding RadiumBlock bootnodes for Westend People and W…
radiumb 3fcdada
chore: update zombienet version (#4463)
pepoviola e6d934c
Update BABE README.md (#4138)
drewstone 4d47b44
Introduces: Delegated Staking Pallet (#3904)
Ank4n f2b367e
Add OnFinality kusama bootnode (#4458)
AlexZhenWang 404027e
Fix extrinsics count logging in frame-system (#4461)
liuchengxu 59d7e03
Export all public functions of `sc-service` (#4457)
dastansam e31fcff
Make vscode rustanalyzer fast again (#4470)
alexggh 23c5bbc
[ci] Use default gh runners for small workloads (#4473)
alvicsam 3a20232
Include RUNTIME_METADATA_HASH in cache key (#4476)
AndWeHaveAPlan d237adf
Add IBP bootnodes to `coretime-westend` and `coretime-kusama` and oth…
miloskriz 289f5bb
XCM Cookbook (#2633)
franciscoaguirre 717eb2c
[ci] Fix publish-subsystem-benchmarks (#4479)
alvicsam 76230a1
Deprecate `dmp-queue` pallet (#4475)
ggwpez 6487ac1
Remove pallet::getter usage from the bounties and child-bounties pall…
PolkadotDom 4adfa37
[Runtime] Bound XCMP queue (#3952)
ggwpez 3399bc0
network/discovery: Add to DHT only peers that support genesis-based p…
lexnv 453bb18
Bridge: drop subscriptions when they are no longer required (#4481)
svyatonik 8d29397
Demote per-peer validation slots warning to debug (#4480)
dmitry-markin 04f88f5
Remove pallet::getter usage from the democracy pallet (#4472)
PolkadotDom 943eb46
Snowbridge - Ethereum Client - Reject finalized updates without a syn…
claravanstaden d5fe478
Adds `MaxRank` Config in `pallet-core-fellowship` (#3393)
Doordashcon f86f213
Contracts: remove kitchensink dynamic parameters (#4489)
pgherveou 2c48b9d
Bridge: fixed relayer version metric value (#4492)
svyatonik ca0fb0d
pallet_balances: Add `try_state` for checking `Holds` and `Freezes` (…
bkchr 65c5248
Snowbridge - Ethereum Client - Public storage items (#4501)
claravanstaden 2e36f57
Allow pool to be destroyed with an extra (erroneous) consumer referen…
Ank4n a90d324
Contracts: Remove topics for internal events (#4510)
pgherveou 247358a
chore: fix typos (#4515)
jimwfs e7b6d7d
`remote-externalities`: `rpc_child_get_keys` to use paged scraping (#…
liamaharon 313fe0f
Remove usage of the pallet::getter macro from pallet-fast-unstake (#4…
PolkadotDom 278486f
Remove the prospective-parachains subsystem from collators (#4471)
alindima b00e168
[xcm]: Use latest `Versioned*` instead of `V4` + bridges doc nits (#4…
bkontur d54feeb
Fixed RPC subscriptions leak when subscription stream is finished (#4…
svyatonik e0e1f2d
Bridge: added force_set_pallet_state call to pallet-bridge-grandpa (#…
svyatonik d05786f
Replace `Multiaddr` & related types with substrate-specific types (#4…
dmitry-markin ec46106
chore: bump zombienet version (#4535)
pepoviola e86bb91
Update subsystem benchmark baselines (#4532)
AndreiEres c7cb1f2
Add Extra Check in Primary Username Setter (#4534)
joepetrowski 04161b1
Remove `parameterized-consensus-hook` feature (#4380)
s0me0ne-unkn0wn b06306c
[Backport] Version bumps and prdocs reordering from 1.12.0 (#4538)
EgorPopelyaev ad54bc3
fixed link (#4539)
fasteater 005083d
Merge pull request #4 from paritytech/master
juangirini 15521d4
add acss recovery to keystore
driemworks 1cd1168
mock test for now
driemworks 93a6106
move acss impl to local
driemworks 8d4e460
add back acss impl to bls impl
driemworks d2ca0ca
remove commented code
driemworks 846c675
fix indentation
driemworks aa51688
update test
driemworks 2748096
solve conflicts
juangirini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,13 @@ use w3f_bls::{ | |
SecretKey, SerializableToBytes, TinyBLS381, | ||
}; | ||
|
||
use etf_crypto_primitives::{ | ||
dpss::Keypair as ETFKeypair, | ||
proofs::hashed_el_gamal_sigma::BatchPoK | ||
}; | ||
|
||
use ark_serialize::CanonicalDeserialize; | ||
|
||
/// BLS-377 specialized types | ||
pub mod bls377 { | ||
pub use super::{PUBLIC_KEY_SERIALIZED_SIZE, SIGNATURE_SERIALIZED_SIZE}; | ||
|
@@ -139,7 +146,24 @@ fn derive_hard_junction<T: HardJunctionId>(secret_seed: &Seed, cc: &[u8; 32]) -> | |
(T::ID, secret_seed, cc).using_encoded(sp_crypto_hashing::blake2_256) | ||
} | ||
|
||
impl<T: EngineBLS> Pair<T> {} | ||
impl<T: EngineBLS> Pair<T> { | ||
/// the ACSS Recover algorithm | ||
/// attempt to recover a keypair from the proof of knowledge | ||
pub fn acss_recover(&self, pok_bytes: &[u8], threshold: u8) -> Option<Self> { | ||
let mutable_self = self.clone(); | ||
if let Ok(pok) = BatchPoK::<T::PublicKeyGroup>::deserialize_compressed(&pok_bytes[..]) { | ||
let sk = ETFKeypair(mutable_self.0.into_vartime()); | ||
if let Ok(recovered) = sk.recover(pok, threshold) { | ||
let secret = w3f_bls::SecretKeyVT(recovered.0).into_split_dirty(); | ||
let public = secret.into_public(); | ||
return Some(Pair(w3f_bls::Keypair { | ||
secret, public, | ||
})); | ||
} | ||
} | ||
None | ||
} | ||
Comment on lines
+149
to
+165
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Something similar in here? |
||
} | ||
|
||
impl<T: BlsBound> TraitPair for Pair<T> { | ||
type Seed = Seed; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this code from Substrate?
Does
acss_recover
need to be in Keystore or would it be possible to pass the Keystore as a parameter instead ofself
to achieve that?something like: