This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
pallet-mmr: RPC API and Runtime API work with block numbers #12345
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
1b8a251
pallet-mmr: RPC API works with block_numbers
Szegoo fe3f2f3
fixes
Szegoo f01b68b
update rpc
Szegoo 1b572ad
fmt
Szegoo 2a760ba
final touches in the rpc
Szegoo d7e50ca
temporary fix
Szegoo e37e32a
fix
Szegoo 02b0cfa
fmt
Szegoo f39fc8d
docs
Szegoo fa8155d
Update lib.rs
Szegoo 32bb713
use NumberFor
Szegoo ae03943
validate input
Szegoo 8dc459e
update runtime
Szegoo 78d2ea1
convert block_number to u64
Szegoo 9a3bfe9
small edit
Szegoo 3c8c396
update runtime api
Szegoo 850c782
test fix
Szegoo 098c88b
runtime fix
Szegoo 5e2eb39
update test function
Szegoo 3bd4b72
fmt
Szegoo 6295c51
fix nits
Szegoo 5f909e3
remove block_num_to_leaf_index from runtime api
Szegoo 379021e
Merge branch 'paritytech:master' into mmr-rpc
Szegoo 6b7b4bb
Merge branch 'paritytech:master' into mmr-rpc
Szegoo 97152b6
Update frame/merkle-mountain-range/src/lib.rs
Szegoo 28e4437
fix tests
Szegoo f863814
merge
Szegoo 3da0a90
get the code to compile after merge
Szegoo 245d967
get the tests to compile
Szegoo 3c355a0
fix in tests?
Szegoo f54c3a7
fix test
Szegoo e3d046b
Merge branch 'master' into mmr-rpc
Szegoo 0dba52b
Update frame/merkle-mountain-range/src/tests.rs
Szegoo d68aaae
Update frame/merkle-mountain-range/src/lib.rs
Szegoo a792fc4
Update primitives/merkle-mountain-range/src/lib.rs
Szegoo e3d304a
Merge branch 'master' into mmr-rpc
Szegoo dbd7edb
fix errors & nits
Szegoo 2004425
change block_num_to_leaf_index
Szegoo 2778f7a
don't make any assumptions
Szegoo 0a17093
Update frame/merkle-mountain-range/src/tests.rs
Szegoo e7d2dff
Update frame/merkle-mountain-range/src/tests.rs
Szegoo 701e6d3
Update frame/merkle-mountain-range/src/tests.rs
Szegoo eb32356
fix
Szegoo 900db49
small fix
Szegoo 5232ef9
Merge branch 'paritytech:master' into mmr-rpc
Szegoo d57f6f4
Merge branch 'master' into mmr-rpc
Szegoo 3a6b998
use best_known_block_number
Szegoo 66b8c33
best_known_block_number instead of leaves_count
Szegoo 75088ff
more readable?
Szegoo 3dc7838
remove warning
Szegoo cad6805
Merge branch 'paritytech:master' into mmr-rpc
Szegoo 2ae0e20
Update frame/merkle-mountain-range/src/lib.rs
Szegoo e8c364b
simplify
Szegoo 4538c08
update docs
Szegoo 42ec4d2
nits
Szegoo 9526295
fmt & fix
Szegoo e78e3a4
Merge branch 'paritytech:master' into mmr-rpc
Szegoo ba84f7b
merge fixes
Szegoo 0c01e2a
fix
Szegoo 47dfdfb
small fix
Szegoo 5abad1d
docs & nit fixes
Szegoo 4eb1efe
Nit fixes
Szegoo c736917
remove leaf_indices_to_block_numbers()
Szegoo 876daf2
Merge branch 'paritytech:master' into mmr-rpc
Szegoo ac636bd
fmt
Szegoo 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.