diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 854b18f1..e9227f32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ on: jobs: build: name: Build node - runs-on: self-hosted + runs-on: [self-hosted, builder] steps: - uses: actions/checkout@v4 @@ -18,7 +18,7 @@ jobs: release: name: Create GH Release needs: build - runs-on: self-hosted + runs-on: [self-hosted, builder] steps: - name: Build collator artifacts run: just release-artifacts @@ -35,7 +35,7 @@ jobs: container: name: Containerize & Publish needs: build - runs-on: self-hosted + runs-on: [self-hosted, builder] steps: - name: Login to registry run: echo "${{ secrets.GITHUB_TOKEN }}" | podman login ghcr.io -u ${{ github.actor }} --password-stdin diff --git a/Cargo.lock b/Cargo.lock index acf97c66..c1ed5fc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4678,7 +4678,7 @@ checksum = "c33070833c9ee02266356de0c43f723152bd38bd96ddf52c82b3af10c9138b28" [[package]] name = "kreivo-runtime" -version = "0.9.0" +version = "0.9.1" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -13791,7 +13791,7 @@ dependencies = [ [[package]] name = "virto-node" -version = "0.9.0" +version = "0.9.1" dependencies = [ "assert_cmd", "async-trait", diff --git a/node/Cargo.toml b/node/Cargo.toml index 5c452959..c739ab8e 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "virto-node" -version = "0.9.0" +version = "0.9.1" authors = ['Virto Team '] license = "GPL-3.0-only" homepage = 'https://github.com/virto-network/virto-node' diff --git a/runtime/kreivo/Cargo.toml b/runtime/kreivo/Cargo.toml index 3fe12cb9..8658c34d 100644 --- a/runtime/kreivo/Cargo.toml +++ b/runtime/kreivo/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kreivo-runtime" description = "Kreivo Runtime" -version = "0.9.0" +version = "0.9.1" authors = ['Virto Team '] license = "GPL-3.0-only" homepage = 'https://github.com/virto-network/virto-node' diff --git a/runtime/kreivo/src/collective/governance.rs b/runtime/kreivo/src/collective/governance.rs index 91f0ceb2..dcfbc7f8 100644 --- a/runtime/kreivo/src/collective/governance.rs +++ b/runtime/kreivo/src/collective/governance.rs @@ -1,6 +1,7 @@ use super::*; use pallet_communities::origin::AsSignedByCommunity; +use pallet_ranked_collective::{EnsureMember, TallyOf, Votes}; use parachains_common::kusama::currency::QUID; use sp_core::ConstU128; @@ -20,12 +21,13 @@ impl pallet_referenda::Config for Runtime { type Scheduler = Scheduler; type Currency = Balances; // Communities can submit proposals. - type SubmitOrigin = AsEnsureOriginWithArg>; + type SubmitOrigin = + AsEnsureOriginWithArg, AsSignedByCommunity>>; type CancelOrigin = EnsureRoot; type KillOrigin = EnsureRoot; type Slash = (); - type Votes = pallet_ranked_collective::Votes; - type Tally = pallet_ranked_collective::TallyOf; + type Votes = Votes; + type Tally = TallyOf; type SubmissionDeposit = ConstU128<0>; type MaxQueued = ConstU32<10>; type UndecidingTimeout = ConstU32<{ 2 * DAYS }>; diff --git a/runtime/kreivo/src/lib.rs b/runtime/kreivo/src/lib.rs index c198ef72..e9c75e8a 100644 --- a/runtime/kreivo/src/lib.rs +++ b/runtime/kreivo/src/lib.rs @@ -141,7 +141,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kreivo-parachain"), impl_name: create_runtime_str!("kreivo-parachain"), authoring_version: 1, - spec_version: 103, + spec_version: 104, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 4,