This repository has been 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.6k
BlockId
removal: runtime-api
refactor
#13255
Merged
Merged
Commits on Feb 15, 2023
-
BlockId removal: refactor of runtime API
It changes the arguments of: - `ApiExt` methods: `has_api`, `has_api_with`, `api_version` - `CallApiAt` method: `runtime_version_at` from: `BlockId<Block>` to: `Block::Hash` It also changes the first argument of all generated runtime API calls from: `BlockId<Block>` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292)
Configuration menu - View commit details
-
Copy full SHA for a3ec707 - Browse repository at this point
Copy the full SHA a3ec707View commit details -
BlockId removal: refactor of runtime API - tests
- tests adjusted to new runtime API, - some tests migrated from block number to block hash
Configuration menu - View commit details
-
Copy full SHA for 480857b - Browse repository at this point
Copy the full SHA 480857bView commit details -
benchmarking-cli: BlockId(0) migrated to info().genesis_hash
`runtime_api.call()` now requires the block hash instead of BlockId::Number. To access the genesis hash widely used in benchmarking engine the Client was constrained to satisfy `sp_blockchain::HeaderBackend<Block>` trait which provides `info().genesis_hash`.
Configuration menu - View commit details
-
Copy full SHA for 2ff8645 - Browse repository at this point
Copy the full SHA 2ff8645View commit details -
trivial: api.call(BlockId) -> api.call(Hash)
- Migrated all `runtime_api.calls` to use Hash - Noteworthy (?): -- `validate_transaction_blocking` in transaction pool,
Configuration menu - View commit details
-
Copy full SHA for 0c151ec - Browse repository at this point
Copy the full SHA 0c151ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab70a23 - Browse repository at this point
Copy the full SHA ab70a23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b1c2ac - Browse repository at this point
Copy the full SHA 1b1c2acView commit details -
Configuration menu - View commit details
-
Copy full SHA for a809327 - Browse repository at this point
Copy the full SHA a809327View commit details -
Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de>
Configuration menu - View commit details
-
Copy full SHA for 431de9a - Browse repository at this point
Copy the full SHA 431de9aView commit details
Commits on Feb 16, 2023
-
".git/.scripts/commands/fmt/fmt.sh"
command-bot committedFeb 16, 2023 Configuration menu - View commit details
-
Copy full SHA for afc2d49 - Browse repository at this point
Copy the full SHA afc2d49View commit details -
BlockId removal: Benchmark::consumed_weight
Little refactor around `Benchmark::consumed_weight`: `BlockId` removed.
Configuration menu - View commit details
-
Copy full SHA for 939aa9e - Browse repository at this point
Copy the full SHA 939aa9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d4d6e4 - Browse repository at this point
Copy the full SHA 3d4d6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 291d162 - Browse repository at this point
Copy the full SHA 291d162View commit details -
Configuration menu - View commit details
-
Copy full SHA for 708c8e0 - Browse repository at this point
Copy the full SHA 708c8e0View commit details
Commits on Feb 20, 2023
-
Merge remote-tracking branch 'origin/master' into mku-blockid-runtimeapi
parity-processbot committedFeb 20, 2023 Configuration menu - View commit details
-
Copy full SHA for a0aed2d - Browse repository at this point
Copy the full SHA a0aed2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29dcaa6 - Browse repository at this point
Copy the full SHA 29dcaa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35583b9 - Browse repository at this point
Copy the full SHA 35583b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53578d3 - Browse repository at this point
Copy the full SHA 53578d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b8da43 - Browse repository at this point
Copy the full SHA 4b8da43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d41fb8 - Browse repository at this point
Copy the full SHA 4d41fb8View commit details
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.