Amar Singh

Results 60 comments of Amar Singh

@nbaztec feel free to revert that change https://github.com/PureStake/moonbeam/commit/1006872a256db7f181054f973c0064eb09cd2bd0#diff-2f6ef4e0b0dc5ffddf56d32b16ce67a6d3d64ced12d0a9eb00ec7d57189b4a16L127 to get the tests passing again so this PR can be merged I'll fix it in a follow up. I don't see...

Closing in favor of the other PR linked

- [x] update benchmarks post #1750

The motivation behind this is that, even with the recipes in mdbook form, the code is difficult to understand upon initially reading it. An example is [storage-cache](https://github.com/substrate-developer-hub/recipes/tree/master/kitchen/modules/storage-cache) which has the...

I chose mdbook because it is the same interface as the [Rust book](https://doc.rust-lang.org/stable/book/), which is nice when someone is learning Rust and Substrate at the same time (like I was)....

I came across [this great overview](https://github.com/paritytech/substrate/pull/3861) of the three levels to account crypto: - `Pair` (for creating transactions) - `Public` (always derivable from `Pair` through the associated type `Verify::Signer`, and...

`w3f/research-internal` is not public, is this issue internal? I'd like to read the algorithm 2 explanation.

The 0 nominations in AtStake were introduced in https://github.com/PureStake/moonbeam/pull/1408 to NOT count the pending bond_less and revoke delegations. So the AtStake doesn't always match CandidateState because the CandidateState counts all...

@avtishin The map is `CandidateInfo`, this is what I meant to say instead of `CandidateState`: https://github.com/PureStake/moonbeam/blob/master/pallets/parachain-staking/src/lib.rs#L488-L492 There are two maps below it which contains the `TopDelegations` and `BottomDelegations` per candidate....