Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Conversation

@bkchr
Copy link
Member

@bkchr bkchr commented Oct 18, 2018

Fixes: #928

@arkpar arkpar added the A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label Oct 18, 2018
@bkchr bkchr merged commit be8eab2 into master Oct 18, 2018
@bkchr bkchr deleted the bkchr-fix-master branch October 18, 2018 11:37
lamafab pushed a commit to lamafab/substrate that referenced this pull request Jun 16, 2020
helin6 pushed a commit to boolnetwork/substrate that referenced this pull request Jul 25, 2023
* Update polkadot.scale

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Add extrinsics client

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Decode extrinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Add extrinsic error

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Expose extrinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Fetch and decode block extrinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* Fix clippy

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Fetch pallet and variant index

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Move extrinsics on the subxt::blocks

Signed-off-by: Alexandru Vasile <[email protected]>

* example: Adjust example

Signed-off-by: Alexandru Vasile <[email protected]>

* metadata: Collect ExtrinsicMetadata

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Implement StaticExtrinsic for the calls

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust examples

Signed-off-by: Alexandru Vasile <[email protected]>

* codegen: Add root level Call enum

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust testing

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Add new decode interface

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Merge ExtrinsicError with BlockError

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Find first extrinsic

Signed-off-by: Alexandru Vasile <[email protected]>

* Move code to extrinsic_types

Signed-off-by: Alexandru Vasile <[email protected]>

* Add Extrinsic struct

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust examples

Signed-off-by: Alexandru Vasile <[email protected]>

* test: Decode extinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Add fake metadata for static decoding

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Decode from insufficient bytes

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Check unsupported versions

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Statically decode to root and pallet enums

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/tests: Remove clones

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Fetch block body inline

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Rename ExtrinsicIds to ExtrinsicPartTypeIds

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Check decode as_extrinsic

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Remove InsufficientData error

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Return error from extrinsic_metadata

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Postpone decoding of call bytes

Signed-off-by: Alexandru Vasile <[email protected]>

* metadata_type: Rename variables

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust calls path for example and tests

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Remove traces

Signed-off-by: Alexandru Vasile <[email protected]>

* book: Add extrinsics documentation

Signed-off-by: Alexandru Vasile <[email protected]>

* book: Improve extrinsics docs

Signed-off-by: Alexandru Vasile <[email protected]>

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: James Wilson <[email protected]>
helin6 pushed a commit to boolnetwork/substrate that referenced this pull request Jul 25, 2023
* add cli command to explore metadata

* fmt and clippy

* Bump serde from 1.0.160 to 1.0.162 (paritytech#948)

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.160 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.160...1.0.162)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* extrinsics: Decode extrinsics from blocks (paritytech#929)

* Update polkadot.scale

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Add extrinsics client

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Decode extrinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Add extrinsic error

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Expose extrinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Fetch and decode block extrinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* Fix clippy

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Fetch pallet and variant index

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Move extrinsics on the subxt::blocks

Signed-off-by: Alexandru Vasile <[email protected]>

* example: Adjust example

Signed-off-by: Alexandru Vasile <[email protected]>

* metadata: Collect ExtrinsicMetadata

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Implement StaticExtrinsic for the calls

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust examples

Signed-off-by: Alexandru Vasile <[email protected]>

* codegen: Add root level Call enum

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust testing

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Add new decode interface

Signed-off-by: Alexandru Vasile <[email protected]>

* subxt: Merge ExtrinsicError with BlockError

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Find first extrinsic

Signed-off-by: Alexandru Vasile <[email protected]>

* Move code to extrinsic_types

Signed-off-by: Alexandru Vasile <[email protected]>

* Add Extrinsic struct

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust examples

Signed-off-by: Alexandru Vasile <[email protected]>

* test: Decode extinsics

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Add fake metadata for static decoding

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Decode from insufficient bytes

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Check unsupported versions

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Statically decode to root and pallet enums

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/tests: Remove clones

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Fetch block body inline

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Rename ExtrinsicIds to ExtrinsicPartTypeIds

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics/test: Check decode as_extrinsic

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Remove InsufficientData error

Signed-off-by: Alexandru Vasile <[email protected]>

* blocks: Return error from extrinsic_metadata

Signed-off-by: Alexandru Vasile <[email protected]>

* extrinsics: Postpone decoding of call bytes

Signed-off-by: Alexandru Vasile <[email protected]>

* metadata_type: Rename variables

Signed-off-by: Alexandru Vasile <[email protected]>

* Adjust calls path for example and tests

Signed-off-by: Alexandru Vasile <[email protected]>

* examples: Remove traces

Signed-off-by: Alexandru Vasile <[email protected]>

* book: Add extrinsics documentation

Signed-off-by: Alexandru Vasile <[email protected]>

* book: Improve extrinsics docs

Signed-off-by: Alexandru Vasile <[email protected]>

---------

Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: James Wilson <[email protected]>

* change doc comments

* add constants exploration

* add storage access interface but not done yet

* add storage exploration

* formatting

* remove dbg

* some small tweaks

* fix formatting and scale value for storage

* split up files, sort entries, change formatting

* fmt and clippy fix

* fix minor formatting issue

* implement suggestions

* implement other suggestion, fix bug

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandru Vasile <[email protected]>
Co-authored-by: James Wilson <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants