Skip to content

Commit

Permalink
Prepare release 3.4.2 (#1076)
Browse files Browse the repository at this point in the history
* Prepare release 3.4.2

* Increase runtime version
  • Loading branch information
vovac12 authored Jun 6, 2024
1 parent c8780e1 commit 2432a40
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framenode"
version = "3.4.1"
version = "3.4.2"
authors = ["Parity Technologies <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion node/chain_spec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "framenode-chain-spec"
version = "3.4.1"
version = "3.4.2"
authors = ["Parity Technologies <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = "BSD-4-Clause"
homepage = "https://sora.org"
repository = "https://github.com/sora-xor/sora2-network"
name = "framenode-runtime"
version = "3.4.1"
version = "3.4.2"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Expand Down
9 changes: 2 additions & 7 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("sora-substrate"),
impl_name: create_runtime_str!("sora-substrate"),
authoring_version: 1,
spec_version: 85,
spec_version: 86,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 85,
transaction_version: 86,
state_version: 0,
};

Expand Down Expand Up @@ -1997,14 +1997,12 @@ impl kensetsu::Config for Runtime {
type WeightInfo = kensetsu::weights::SubstrateWeight<Runtime>;
}

#[cfg(feature = "ready-to-test")] // Apollo
parameter_types! {
pub ApolloOffchainWorkerTxPriority: TransactionPriority =
Perbill::from_percent(10) * TransactionPriority::max_value();
pub ApolloOffchainWorkerTxLongevity: TransactionLongevity = 5; // set 100 for release
}

#[cfg(feature = "ready-to-test")] // Apollo
impl apollo_platform::Config for Runtime {
const BLOCKS_PER_FIFTEEN_MINUTES: BlockNumber = 15 * MINUTES;
type RuntimeEvent = RuntimeEvent;
Expand Down Expand Up @@ -2521,7 +2519,6 @@ construct_runtime! {
#[cfg(feature = "private-net")]
QaTools: qa_tools::{Pallet, Call, Event<T>} = 112,

#[cfg(feature = "ready-to-test")] // Apollo
ApolloPlatform: apollo_platform::{Pallet, Call, Storage, Event<T>, ValidateUnsigned} = 114,
#[cfg(feature = "wip")] // DEFI-R
RegulatedAssets: regulated_assets::{Pallet, Call, Storage, Event<T>} = 115,
Expand Down Expand Up @@ -3265,7 +3262,6 @@ impl_runtime_apis! {
list_benchmark!(list, extra, band, Band);
list_benchmark!(list, extra, xst, XSTPoolBench::<Runtime>);
list_benchmark!(list, extra, oracle_proxy, OracleProxy);
#[cfg(feature = "ready-to-test")] // Apollo
list_benchmark!(list, extra, apollo_platform, ApolloPlatform);
list_benchmark!(list, extra, order_book, OrderBookBench::<Runtime>);

Expand Down Expand Up @@ -3363,7 +3359,6 @@ impl_runtime_apis! {
add_benchmark!(params, batches, xst, XSTPoolBench::<Runtime>);
add_benchmark!(params, batches, hermes_governance_platform, HermesGovernancePlatform);
add_benchmark!(params, batches, oracle_proxy, OracleProxy);
#[cfg(feature = "ready-to-test")] // Apollo
add_benchmark!(params, batches, apollo_platform, ApolloPlatform);
add_benchmark!(params, batches, order_book, OrderBookBench::<Runtime>);

Expand Down
8 changes: 1 addition & 7 deletions runtime/src/migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,4 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
// USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

use crate::*;

pub type Migrations = (
kensetsu::migrations::init::RegisterTreasuryTechAccount<Runtime>,
kensetsu::migrations::init::GrantPermissionsTreasuryTechAccount<Runtime>,
multicollateral_bonding_curve_pool::migrations::v4::MigrateToV4<Runtime>,
);
pub type Migrations = ();

0 comments on commit 2432a40

Please sign in to comment.