Support passing a specific block in morley-client along with some additional improvements
Description
Problem: we need to access some data at specific blocks, but currently morley-client
always assumes head
block.
Solution:
- Add
BlockId
type. - Generalize some methods to have
BlockId
argument. - Keep versions that pass
head
with their existing names to avoid breaking something.
Also I added a couple of other things (see commit messages) and removed an old workaround.
Related issue(s)
None, I need it for another project.
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Ivan Gromakovskii