-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Static Metadata Validation #478
Commits on Mar 14, 2022
-
metadata: Implement MetadataHashable for deterministic hashing
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12313d7 - Browse repository at this point
Copy the full SHA 12313d7View commit details -
metadata: Hash
scale_info::Field
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 707a5e5 - Browse repository at this point
Copy the full SHA 707a5e5View commit details -
metadata: Hash
scale_info::Variant
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3353583 - Browse repository at this point
Copy the full SHA 3353583View commit details -
metadata: Hash
scale_info::TypeDef
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ebc588a - Browse repository at this point
Copy the full SHA ebc588aView commit details -
metadata: Hash pallet metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc727fc - Browse repository at this point
Copy the full SHA dc727fcView commit details -
metadata: Avoid data representation collision via unique identifiers
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4690ac0 - Browse repository at this point
Copy the full SHA 4690ac0View commit details -
metadata: Finalize hashing on recursive types
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8178351 - Browse repository at this point
Copy the full SHA 8178351View commit details -
metadata: Cache recursive calls
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b60ebdf - Browse repository at this point
Copy the full SHA b60ebdfView commit details
Commits on Mar 16, 2022
-
metadata: Move
MetadataHashable
to codegen to avoid cyclic dependencySigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9b1447 - Browse repository at this point
Copy the full SHA a9b1447View commit details -
codegen: Add pallet unique hash
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ece9e3 - Browse repository at this point
Copy the full SHA 3ece9e3View commit details -
metadata: Wrap metadata as owned
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c64cc60 - Browse repository at this point
Copy the full SHA c64cc60View commit details -
subxt: Use MetadataHashable wrapper for clients
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a24da9a - Browse repository at this point
Copy the full SHA a24da9aView commit details -
subxt: Generate runtime pallet uid from metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05f1bc8 - Browse repository at this point
Copy the full SHA 05f1bc8View commit details -
Validate metadata compatibility at the pallet level
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b98a93c - Browse repository at this point
Copy the full SHA b98a93cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73befba - Browse repository at this point
Copy the full SHA 73befbaView commit details -
Modify examples and tests for the new API
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e576ab2 - Browse repository at this point
Copy the full SHA e576ab2View commit details
Commits on Mar 17, 2022
-
codegen: Implement metadata uid
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76f2c9c - Browse repository at this point
Copy the full SHA 76f2c9cView commit details -
Update polkadot with TryFrom implementation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58f743c - Browse repository at this point
Copy the full SHA 58f743cView commit details -
client: Change
to_runtime_api
to reflect TryFrom changesSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea9e233 - Browse repository at this point
Copy the full SHA ea9e233View commit details -
client: Skip full metadata validation option
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9d9956 - Browse repository at this point
Copy the full SHA f9d9956View commit details -
codegen: Add option to skip pallet validation for TransactionApi
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ed1f43 - Browse repository at this point
Copy the full SHA 0ed1f43View commit details -
codegen: Add option to skip pallet validation for StorageApi
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5665f7 - Browse repository at this point
Copy the full SHA f5665f7View commit details -
Update polkadot.rs with ability to skip pallet validation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b36555f - Browse repository at this point
Copy the full SHA b36555fView commit details -
codegen: Change
MetadataHashable
to per function implementationSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8e8792 - Browse repository at this point
Copy the full SHA e8e8792View commit details -
codegen: Use metadata hashes functions
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86b1c7e - Browse repository at this point
Copy the full SHA 86b1c7eView commit details -
subxt: Use metadata hashes functions
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0ecf32 - Browse repository at this point
Copy the full SHA c0ecf32View commit details -
codegen: Make
get_type_uid
privateSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4431c22 - Browse repository at this point
Copy the full SHA 4431c22View commit details -
codegen, subxt: Rename metadata functions
*_uid
to*_hash
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fa9db4 - Browse repository at this point
Copy the full SHA 1fa9db4View commit details -
codegen: Update
get_field_hash
to usecodec::Encode
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d6e906 - Browse repository at this point
Copy the full SHA 2d6e906View commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4da2e0e - Browse repository at this point
Copy the full SHA 4da2e0eView commit details
Commits on Mar 18, 2022
-
codegen, subxt: Move metadata check from client to subxt::Metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce7a6d7 - Browse repository at this point
Copy the full SHA ce7a6d7View commit details -
codegen, subxt: Rename metadata check functions to follow
*_hash
na……ming Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7033233 - Browse repository at this point
Copy the full SHA 7033233View commit details -
codegen: Update polkadot.rs to reflect naming changes
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed51cd8 - Browse repository at this point
Copy the full SHA ed51cd8View commit details -
codegen: Use
encode_to
for metadata generationSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d500eb - Browse repository at this point
Copy the full SHA 0d500ebView commit details -
codegen: Update polkadot.rs to reflect
encode_to
changesSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c2f986 - Browse repository at this point
Copy the full SHA 1c2f986View commit details -
codegen: Specific name for visited set
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02bb231 - Browse repository at this point
Copy the full SHA 02bb231View commit details -
metadata: Provide cache to hashing functions
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13e6112 - Browse repository at this point
Copy the full SHA 13e6112View commit details
Commits on Mar 21, 2022
-
metadata: Compute metadata hash by sorted pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d388598 - Browse repository at this point
Copy the full SHA d388598View commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5e6a21d - Browse repository at this point
Copy the full SHA 5e6a21dView commit details -
metadata: Extend metadata hash with extrinsic and metadata type
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45c6453 - Browse repository at this point
Copy the full SHA 45c6453View commit details -
metadata: Add cache as metadata parameter
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5eb41c9 - Browse repository at this point
Copy the full SHA 5eb41c9View commit details -
codegen, subxt: Update metadata hash to use cache
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e33f33a - Browse repository at this point
Copy the full SHA e33f33aView commit details -
metadata: Implement Default trait for MetadataHasherCache
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5d89a3 - Browse repository at this point
Copy the full SHA c5d89a3View commit details -
metadata: Add cache for pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7af28f - Browse repository at this point
Copy the full SHA e7af28fView commit details -
metadata: Move functionality to metadata crate
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0779bd - Browse repository at this point
Copy the full SHA e0779bdView commit details -
codegen, subxt: Use subxt-metadata crate
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 953c031 - Browse repository at this point
Copy the full SHA 953c031View commit details -
codegen: Remove metdata hashing functionality
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b865f18 - Browse repository at this point
Copy the full SHA b865f18View commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 26216fa - Browse repository at this point
Copy the full SHA 26216faView commit details -
metadata: Fix vector capacity to include extrinisc and type hash
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aad7d2d - Browse repository at this point
Copy the full SHA aad7d2dView commit details
Commits on Mar 22, 2022
-
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5de8e83 - Browse repository at this point
Copy the full SHA 5de8e83View commit details -
metadata-cli: Fetch metadata from substrate nodes
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3877505 - Browse repository at this point
Copy the full SHA 3877505View commit details -
metadata-cli: Log metadata hashes of provided nodes
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1809cc7 - Browse repository at this point
Copy the full SHA 1809cc7View commit details -
metadata-cli: Group compatible nodes by metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1957e56 - Browse repository at this point
Copy the full SHA 1957e56View commit details -
metadata-cli: Simplify hash map insertion
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e32361 - Browse repository at this point
Copy the full SHA 9e32361View commit details -
metadata-cli: Move full metadata check to function
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70aa7c1 - Browse repository at this point
Copy the full SHA 70aa7c1View commit details -
metadata-cli: Group metadata validation at the pallet level
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfa9c8f - Browse repository at this point
Copy the full SHA bfa9c8fView commit details
Commits on Mar 23, 2022
-
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7a1e27 - Browse repository at this point
Copy the full SHA c7a1e27View commit details -
metadata: Move compatibility cli from subxt-metadata to subxt-cli
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca8c22c - Browse repository at this point
Copy the full SHA ca8c22cView commit details -
metadata: Remove cli from subxt-metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 776250e - Browse repository at this point
Copy the full SHA 776250eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c600ee - Browse repository at this point
Copy the full SHA 1c600eeView commit details -
Merge remote-tracking branch 'origin/master' into 398_static_md_check
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 95a6134 - Browse repository at this point
Copy the full SHA 95a6134View commit details -
metadata: Fix compatible metadata when pallets are registered in diff…
…erent order Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for beee3f1 - Browse repository at this point
Copy the full SHA beee3f1View commit details
Commits on Mar 24, 2022
-
tests: Handle result of pallet hashing
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84e049e - Browse repository at this point
Copy the full SHA 84e049eView commit details -
metadata: Remove type cache for deterministic hashing
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6635423 - Browse repository at this point
Copy the full SHA 6635423View commit details -
metadata: Add test assets from
substrate-node-template
tag `polkado……t-v0.9.17` Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fe787d - Browse repository at this point
Copy the full SHA 1fe787dView commit details -
metadata-tests: Check cache hashing for Balances pallet
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 20055e5 - Browse repository at this point
Copy the full SHA 20055e5View commit details -
metadata: Fix
get_type_hash
clippy issueSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a9b8e5 - Browse repository at this point
Copy the full SHA 7a9b8e5View commit details -
metadata-tests: Compare one time cache with persistent cache
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 931fcdb - Browse repository at this point
Copy the full SHA 931fcdbView commit details -
metadata-test: Check metadata hash populates cache for pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c9ed131 - Browse repository at this point
Copy the full SHA c9ed131View commit details -
metadata-tests: Simplify
cache_deterministic_hash
testSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43ae4db - Browse repository at this point
Copy the full SHA 43ae4dbView commit details -
metadata-tests: Check deterministic metadata for different order pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f9ca06d - Browse repository at this point
Copy the full SHA f9ca06dView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09e74d2 - Browse repository at this point
Copy the full SHA 09e74d2View commit details -
codegen: Implement TransactionApiUnchecked for skipping pallet valida…
…tion Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57771e8 - Browse repository at this point
Copy the full SHA 57771e8View commit details
Commits on Mar 25, 2022
-
codegen: Implement StorageApiUnchecked for skipping pallet validation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3f4d72 - Browse repository at this point
Copy the full SHA f3f4d72View commit details -
codegen: Remove skip_pallet_validation boolean
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e4c62c - Browse repository at this point
Copy the full SHA 9e4c62cView commit details -
subxt: Implement ClientUnchecked for skipping metadata validation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f92383c - Browse repository at this point
Copy the full SHA f92383cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07cf5f2 - Browse repository at this point
Copy the full SHA 07cf5f2View commit details -
Update examples of rpc_call to skip metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6baa8e8 - Browse repository at this point
Copy the full SHA 6baa8e8View commit details
Commits on Mar 28, 2022
-
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8378086 - Browse repository at this point
Copy the full SHA 8378086View commit details -
codegen: Add pallet name as an identifier for pallet hashing
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fa5df8 - Browse repository at this point
Copy the full SHA 5fa5df8View commit details -
metadata: Implement MetadataHashDetails
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8da1497 - Browse repository at this point
Copy the full SHA 8da1497View commit details -
metadata: Adjust testing to
MetadataHashDetails
interfaceSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62a7eec - Browse repository at this point
Copy the full SHA 62a7eecView commit details -
codegen: Remove extra
pallet_name
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f026078 - Browse repository at this point
Copy the full SHA f026078View commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31c016c - Browse repository at this point
Copy the full SHA 31c016cView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8fcf824 - Browse repository at this point
Copy the full SHA 8fcf824View commit details
Commits on Mar 29, 2022
-
codegen: Change StorageApi to support
_unchecked
methodsSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 816e916 - Browse repository at this point
Copy the full SHA 816e916View commit details -
codegen: Change TransactionApi to support
_unchecked
methodsSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58fd3e3 - Browse repository at this point
Copy the full SHA 58fd3e3View commit details -
subxt: Switch back from
TryFrom
toFrom
forsubxt::Client
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0ef532 - Browse repository at this point
Copy the full SHA e0ef532View commit details -
codegen, subxt: Remove
ClientUnchecked
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0061e4 - Browse repository at this point
Copy the full SHA b0061e4View commit details -
codegen: Expose
validate_metadata
as validation of compatibility me……thod Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ecf7b7 - Browse repository at this point
Copy the full SHA 5ecf7b7View commit details
Commits on Mar 30, 2022
-
examples: Update to the new interface
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 392da6d - Browse repository at this point
Copy the full SHA 392da6dView commit details -
subxt: Update test integration to latest interface
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2e8dfc - Browse repository at this point
Copy the full SHA f2e8dfcView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8df12a - Browse repository at this point
Copy the full SHA f8df12aView commit details
Commits on Mar 31, 2022
-
metadata/tests: Check different pallet index order
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 467d707 - Browse repository at this point
Copy the full SHA 467d707View commit details -
metadata/tests: Check recursive type hashing
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d20bcd0 - Browse repository at this point
Copy the full SHA d20bcd0View commit details -
metadata/tests: Check recursive types registered in different order
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e042c05 - Browse repository at this point
Copy the full SHA e042c05View commit details -
metadata/tests: Fix recursive types warning
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3c4029 - Browse repository at this point
Copy the full SHA b3c4029View commit details -
metadata/tests: Remove test assets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1900091 - Browse repository at this point
Copy the full SHA 1900091View commit details -
metadata/tests: Extend tests to verify cached pallet values
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 252c4d1 - Browse repository at this point
Copy the full SHA 252c4d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 964f92c - Browse repository at this point
Copy the full SHA 964f92cView commit details
Commits on Apr 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9278811 - Browse repository at this point
Copy the full SHA 9278811View commit details -
Configuration menu - View commit details
-
Copy full SHA for 551c595 - Browse repository at this point
Copy the full SHA 551c595View commit details -
examples: Add metadata compatiblity example
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db8fdfb - Browse repository at this point
Copy the full SHA db8fdfbView commit details -
examples: Revert balance_transfer to initial form
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d25c912 - Browse repository at this point
Copy the full SHA d25c912View commit details -
codegen: Add ConstantsApi metadata check
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fb0cdd - Browse repository at this point
Copy the full SHA 5fb0cddView commit details -
tests: Modify tests to accomodate ConstantsApi changes
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7293531 - Browse repository at this point
Copy the full SHA 7293531View commit details -
examples: Modify verified version
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a5415b8 - Browse repository at this point
Copy the full SHA a5415b8View commit details -
subxt: Generate polkadot.rs from
0.9.18-4542a603cc-aarch64-macos
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce05435 - Browse repository at this point
Copy the full SHA ce05435View commit details -
examples: Update polkadot_metadata.scale from `0.9.18-4542a603cc-aarc…
…h64-macos` Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba95ac8 - Browse repository at this point
Copy the full SHA ba95ac8View commit details -
metadata: Update documentation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1efd776 - Browse repository at this point
Copy the full SHA 1efd776View commit details -
tests: Modify default pallet usage
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc3b106 - Browse repository at this point
Copy the full SHA dc3b106View commit details -
metadata/tests: Remove hex dependency
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb0b838 - Browse repository at this point
Copy the full SHA bb0b838View commit details -
metadata/tests: Add MetadataTestType to capture complex types
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a2d695 - Browse repository at this point
Copy the full SHA 3a2d695View commit details -
metadata/tests: Update tests to use complex types
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 853ba6f - Browse repository at this point
Copy the full SHA 853ba6fView commit details -
metadata/tests: Check metadata correctness via extending pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f0a2b75 - Browse repository at this point
Copy the full SHA f0a2b75View commit details -
metadata/tests: Extend pallet hash with Events
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 545dfd0 - Browse repository at this point
Copy the full SHA 545dfd0View commit details -
metadata/tests: Extend pallet hash with constants
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63b32bc - Browse repository at this point
Copy the full SHA 63b32bcView commit details -
metadata/tests: Extend pallet hash with error
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d55527 - Browse repository at this point
Copy the full SHA 7d55527View commit details -
examples: Extend metadata compatibiliy with StorageApi and ConstantsApi
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e30b52 - Browse repository at this point
Copy the full SHA 4e30b52View commit details
Commits on Apr 5, 2022
-
Modify comments and documentation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dab2beb - Browse repository at this point
Copy the full SHA dab2bebView commit details
Commits on Apr 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a152c6b - Browse repository at this point
Copy the full SHA a152c6bView commit details -
metadata: Benchmarks for full validation and pallet validation
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4af15fe - Browse repository at this point
Copy the full SHA 4af15feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74d3bc8 - Browse repository at this point
Copy the full SHA 74d3bc8View commit details
Commits on Apr 7, 2022
-
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58cbc3f - Browse repository at this point
Copy the full SHA 58cbc3fView commit details -
metadata: Hash metadata just by inspecting the provided pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for efa5df1 - Browse repository at this point
Copy the full SHA efa5df1View commit details -
metadata: Make pallets generic over T for
AsRef<str>
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 414dee6 - Browse repository at this point
Copy the full SHA 414dee6View commit details -
codegen: Expose the name of the pallets composing the metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7396595 - Browse repository at this point
Copy the full SHA 7396595View commit details -
subxt/tests: Update polkadot.rs with pallets name
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d1adc3 - Browse repository at this point
Copy the full SHA 7d1adc3View commit details -
codegen: Obtain metadata hash only by inspecting pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1f5c5f4 - Browse repository at this point
Copy the full SHA 1f5c5f4View commit details -
codegen,subxt: Extend the metadata hash to utilize just pallets
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbc3727 - Browse repository at this point
Copy the full SHA cbc3727View commit details -
subxt/tests: Update polkadot.rs with client metadata has per pallet
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a82fad2 - Browse repository at this point
Copy the full SHA a82fad2View commit details -
metadata/tests: Test
get_metadata_per_pallet_hash
correctnessSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c96606a - Browse repository at this point
Copy the full SHA c96606aView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c558df4 - Browse repository at this point
Copy the full SHA c558df4View commit details -
metadata/benches: Fix decode of metadata
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6f5650 - Browse repository at this point
Copy the full SHA a6f5650View commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f57e20 - Browse repository at this point
Copy the full SHA 8f57e20View commit details
Commits on Apr 8, 2022
-
[static metadata] validate storage, calls and constants per call (#507)
* validate storage, calls and constants per call * fix typo * cache per-thing hashing, move an Arc, remove some unused bits * create hash_cache to simplify metadata call/constant/storage caching * simplify/robustify the caching logic to help prevent mismatch between get and set * cargo fmt
Configuration menu - View commit details
-
Copy full SHA for 23b382f - Browse repository at this point
Copy the full SHA 23b382fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a08a84 - Browse repository at this point
Copy the full SHA 9a08a84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cbebc9 - Browse repository at this point
Copy the full SHA 6cbebc9View commit details -
metadata: Add test for
node_template_runtime_variant
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd4d425 - Browse repository at this point
Copy the full SHA fd4d425View commit details -
Configuration menu - View commit details
-
Copy full SHA for 640b052 - Browse repository at this point
Copy the full SHA 640b052View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1323696 - Browse repository at this point
Copy the full SHA 1323696View commit details -
metadata: Check template runtime for handling the pallet swap order case
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a7bbbc - Browse repository at this point
Copy the full SHA 9a7bbbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5548b5a - Browse repository at this point
Copy the full SHA 5548b5aView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd00319 - Browse repository at this point
Copy the full SHA fd00319View commit details -
metadata: Optimise by removing field's name and type_name and type's …
…path Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0e3b6c - Browse repository at this point
Copy the full SHA a0e3b6cView commit details -
metadata: Refactor
get_type_hash
to break recursion earlierSigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ce19bb - Browse repository at this point
Copy the full SHA 0ce19bbView commit details -
subxt: Add tests for
hash_cache
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb051a9 - Browse repository at this point
Copy the full SHA eb051a9View commit details -
subxt: Add tests for checking Metadata Inner cache
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb2de4a - Browse repository at this point
Copy the full SHA cb2de4aView commit details
Commits on Apr 11, 2022
-
metadata: Check semantic changes inside enum and struct fields
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4e2866 - Browse repository at this point
Copy the full SHA e4e2866View commit details -
metadata: Add enums named differently with compatible semantic meaning
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f65dabc - Browse repository at this point
Copy the full SHA f65dabcView commit details -
metadata: Guard testing of release versions for
node_template_runtime
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c776eb - Browse repository at this point
Copy the full SHA 6c776ebView commit details -
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c46526 - Browse repository at this point
Copy the full SHA 9c46526View commit details -
Configuration menu - View commit details
-
Copy full SHA for b713993 - Browse repository at this point
Copy the full SHA b713993View commit details -
metadata/tests: Manually construct type of `node_template_runtimeL::C…
…all` Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d55752 - Browse repository at this point
Copy the full SHA 2d55752View commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 79ea3fe - Browse repository at this point
Copy the full SHA 79ea3feView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1f9038 - Browse repository at this point
Copy the full SHA a1f9038View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9691f51 - Browse repository at this point
Copy the full SHA 9691f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd7aa62 - Browse repository at this point
Copy the full SHA fd7aa62View commit details -
Configuration menu - View commit details
-
Copy full SHA for a658d6f - Browse repository at this point
Copy the full SHA a658d6fView commit details
Commits on Apr 26, 2022
-
Merge remote-tracking branch 'origin/master' into 398_static_md_check
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06241f4 - Browse repository at this point
Copy the full SHA 06241f4View commit details -
subxt: Remove codegen dependency
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c4aca6 - Browse repository at this point
Copy the full SHA 8c4aca6View commit details -
subxt: Replace std RwLock with parking_lot
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f7a770 - Browse repository at this point
Copy the full SHA 0f7a770View commit details -
subxt/tests: Add ws address to
TestNodeProcess
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e355ec6 - Browse repository at this point
Copy the full SHA e355ec6View commit details -
subxt/tests: Add metadata validation integration test
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73be46c - Browse repository at this point
Copy the full SHA 73be46cView commit details -
subxt: Allow setting metadata on the ClientBuilder
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4c0185 - Browse repository at this point
Copy the full SHA b4c0185View commit details -
subxt/tests: Check incompatible metadatas
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a625a9 - Browse repository at this point
Copy the full SHA 2a625a9View commit details -
metadata: Fix constant hashing for deterministic output
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 633c3f0 - Browse repository at this point
Copy the full SHA 633c3f0View commit details -
subxt/tests: Check metadata validation for constants
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 542dec6 - Browse repository at this point
Copy the full SHA 542dec6View commit details
Commits on Apr 27, 2022
-
subxt/tests: Test validation for calls
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74be005 - Browse repository at this point
Copy the full SHA 74be005View commit details -
subxt/tests: Test validation for storage
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 83f0ba4 - Browse repository at this point
Copy the full SHA 83f0ba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1abd3ca - Browse repository at this point
Copy the full SHA 1abd3caView commit details -
subxt: Expose
set_metadata
for testing onlySigned-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b0e8b4c - Browse repository at this point
Copy the full SHA b0e8b4cView commit details
Commits on Apr 28, 2022
-
subxt: Guard metadata tests under integration-tests
Signed-off-by: Alexandru Vasile <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 460c18c - Browse repository at this point
Copy the full SHA 460c18cView commit details