Skip to content

Commit

Permalink
Release take 4 (#798)
Browse files Browse the repository at this point in the history
* Add missing std features for custom rpcs and pin gcloud action version (#791)

* fix(runtime): missing std for custom rpcs on dali/picasso

* fix(ci): pin ci devnet gcloud version

* review runtime versions (#792)

* fix composable runtime (#795)

Co-authored-by: Hussein Ait-Lahcen <[email protected]>
  • Loading branch information
seunlanlege and hussein-aitlahcen authored Mar 22, 2022
1 parent c202942 commit c7e4116
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/devnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: google-github-actions/setup-gcloud@master
- uses: google-github-actions/setup-gcloud@v0
with:
service_account_key: ${{ secrets.GCP_CREDENTIALS }}
export_default_credentials: true
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build = "build.rs"
edition = "2018"
homepage = "https://composable.finance"
name = "composable-node"
version = "1.0.0"
version = "1.1.0"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
3 changes: 3 additions & 0 deletions runtime/composable/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,7 @@ std = [
"membership/std",
"system-rpc-runtime-api/std",
"transaction-payment-rpc-runtime-api/std",
"assets-runtime-api/std",
"crowdloan-rewards-runtime-api/std",
"simnode-apis/std",
]
4 changes: 2 additions & 2 deletions runtime/composable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
// `spec_version`, and `authoring_version` are the same between Wasm and native.
spec_version: 1000,
impl_version: 4,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 2,
transaction_version: 1,
state_version: 0,
};

Expand Down
2 changes: 2 additions & 0 deletions runtime/dali/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ std = [
"membership/std",
"system-rpc-runtime-api/std",
"transaction-payment-rpc-runtime-api/std",
"assets-runtime-api/std",
"crowdloan-rewards-runtime-api/std",
"liquidations/std",
"simnode-apis/std",
"uniswap-v2/std",
Expand Down
6 changes: 3 additions & 3 deletions runtime/dali/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 1000,
impl_version: 8,
spec_version: 2000,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
transaction_version: 1,
state_version: 0,
};

Expand Down
2 changes: 2 additions & 0 deletions runtime/picasso/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ std = [
"membership/std",
"system-rpc-runtime-api/std",
"transaction-payment-rpc-runtime-api/std",
"assets-runtime-api/std",
"crowdloan-rewards-runtime-api/std",
"simnode-apis/std",
]
wasm-builder = []
Expand Down
4 changes: 2 additions & 2 deletions runtime/picasso/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
// `spec_version`, and `authoring_version` are the same between Wasm and native.
spec_version: 1000,
impl_version: 8,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 3,
transaction_version: 1,
state_version: 0,
};

Expand Down

0 comments on commit c7e4116

Please sign in to comment.