Skip to content
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

Feature/generic signed extensions #62

Merged
merged 13 commits into from
Oct 2, 2023

Conversation

valentunn
Copy link
Member

  • Make both Extrinsic and ExtrinsicPayloadExtras determine types solely based on runtime metadata
  • For v14 runtimes, use types specified in RuntimeMetadata
  • For v13 runtimes, use the default signed extension
  • Clients no longer need to pass types for custom signed extensions

companion object {
fun default(): SiTypeMapping {
return ReplaceTypesSiTypeMapping(
"sp_runtime.generic.era.Era" to EraType
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We no longer hard-code EraType in SignedExtensions so we need to replace it at type parsing stage to use our own EraType instead of metadata v14 version

@valentunn valentunn changed the base branch from master to develop September 29, 2023 14:43
stepanLav and others added 5 commits September 29, 2023 17:46
fix spelling

push cargo toml

change location

fix syntax

remove fmt

remove semicolon from expression

remove directory switching

adding ndk

change installation action and add crago-c

fix syntax

remove cargo-c

return toolchain back

try to install libgcc

fix syntx

adding sudo

update version of image

remove toolchain

update version

return installation through action

decrease version

try to install target separatelly

fix shell

add gcc-multilib

fix syntax

change to macos

install all libraries

fix syntax

E: Unable to locate package lib32ncurses5

try to fix libgcc problem

change to stable version

adding aarch64-linux-android
@stepanLav stepanLav force-pushed the feature/generic_signed_extensions branch from 6191387 to 092c4ac Compare October 1, 2023 18:09
@valentunn valentunn merged commit fdf049c into develop Oct 2, 2023
1 check passed
@valentunn valentunn deleted the feature/generic_signed_extensions branch October 2, 2023 05:36
@valentunn valentunn mentioned this pull request Oct 2, 2023
stepanLav added a commit that referenced this pull request Oct 15, 2023
* Rework signed extensions

* Code style

* Bump versions

* Comments

* Handle nonce as struct

* Handle nonce as struct

* update image link

* change to using install workflow

* Force older version of log

* change install dep

fix spelling

push cargo toml

change location

fix syntax

remove fmt

remove semicolon from expression

remove directory switching

adding ndk

change installation action and add crago-c

fix syntax

remove cargo-c

return toolchain back

try to install libgcc

fix syntx

adding sudo

update version of image

remove toolchain

update version

return installation through action

decrease version

try to install target separatelly

fix shell

add gcc-multilib

fix syntax

change to macos

install all libraries

fix syntax

E: Unable to locate package lib32ncurses5

try to fix libgcc problem

change to stable version

adding aarch64-linux-android

* update other actions

* remove debug info

* remove additional libraries

---------

Co-authored-by: Stepan Lavrentev <lawrentievsv@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants