Skip to content

Commit

Permalink
Update Runtime version
Browse files Browse the repository at this point in the history
Signed-off-by: Shreevatsa N <[email protected]>
  • Loading branch information
vatsa287 committed Oct 19, 2024
1 parent 391701c commit a6d1f5c
Show file tree
Hide file tree
Showing 9 changed files with 158 additions and 132 deletions.
71 changes: 36 additions & 35 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

[workspace.package]
version = "0.9.3-1"
version = "0.9.4"
authors = ['Dhiway Networks <[email protected]>']
edition = "2021"
homepage = "https://cord.network"
Expand Down
4 changes: 4 additions & 0 deletions pallets/entries/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@ serde_json = { workspace = true }

frame-benchmarking = { optional = true, workspace = true }
pallet-registries = { workspace = true }
pallet-schema-accounts = { workspace = true }

[dev-dependencies]
sp-core = { workspace = true }
cord-utilities = { workspace = true }
sp-keystore = { workspace = true }
serde_json = { workspace = true }
pallet-registries = { workspace = true }
pallet-schema-accounts = { workspace = true }

cord-primitives = { workspace = true }
identifier = { workspace = true }
Expand All @@ -65,6 +67,7 @@ std = [
"identifier/std",
"cord-utilities/std",
"pallet-registries/std",
"pallet-schema-accounts/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
Expand All @@ -73,6 +76,7 @@ runtime-benchmarks = [
"sp-runtime/runtime-benchmarks",
"cord-utilities/runtime-benchmarks",
"pallet-registries/runtime-benchmarks",
"pallet-schema-accounts/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
Expand Down
11 changes: 11 additions & 0 deletions pallets/entries/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ frame_support::construct_runtime!(
System: frame_system,
Identifier: identifier,
MockOrigin: mock_origin,
SchemaAccounts: pallet_schema_accounts,
Registries: pallet_registries,
Entries: pallet_entries,
}
Expand All @@ -62,6 +63,16 @@ impl mock_origin::Config for Test {
type SubjectId = SubjectId;
}

parameter_types! {
pub const MaxEncodedSchemaLength: u32 = 15_360;
}

impl pallet_schema_accounts::Config for Test {
type RuntimeEvent = RuntimeEvent;
type MaxEncodedSchemaLength = MaxEncodedSchemaLength;
type WeightInfo = ();
}

parameter_types! {
pub const MaxRegistryBlobSize: u32 = 4 * 1024;
pub const MaxRegistryDelegates: u32 = 5;
Expand Down
Loading

0 comments on commit a6d1f5c

Please sign in to comment.