Draft: [SDAO-297] morley-client: Extend NodeMethods so specific blocks can be queried
Problem: For SDAO-297, we need to query big maps and contract storage at specific blocks.
NodeMethodsis extended with new methods
BlockIdtype is added that represents different types of block IDs.
TODOs (please discuss)
For consistency, the
getHeadBlockOperationsare changed to
To avoid confusion,
getHeadBlockOperationsis renamed to
For consistency, the remaining methods that are currently specialized to query the
headblock are generalized to take a
To avoid unnecessary growth in
NodeMethods, turn "non-primitive" methods like
getBigMapValueinto top-level definitions
✅ 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.