Skip to content

Commit

Permalink
Merge pull request #15 from ZeroDAO/dev
Browse files Browse the repository at this point in the history
feat: add molodot runtime
  • Loading branch information
DarkingLee authored Aug 30, 2023
2 parents e60ddd2 + b2f6e26 commit 6d2cfd8
Show file tree
Hide file tree
Showing 15 changed files with 149 additions and 498 deletions.
149 changes: 66 additions & 83 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ members = [
"crates/melo-erasure-coding",
"crates/network-das",
"crates/pallet-melo-store",
"pallets/template",
"runtime",
]

Expand Down
1 change: 1 addition & 0 deletions crates/pallet-melo-store/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ pub mod pallet {
/// The maximum number of keys that can be added.
type MaxKeys: Get<u32>;

#[pallet::constant]
type MaxBlobNum: Get<u32>;

#[pallet::constant]
Expand Down
6 changes: 3 additions & 3 deletions node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/parityte
frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }

# Local Dependencies
node-template-runtime = { version = "4.0.0-dev", path = "../runtime" }
melodot-runtime = { version = "0.0.1", path = "../runtime" }

# CLI-specific dependencies
try-runtime-cli = { version = "0.10.0-dev", optional = true, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v0.9.42" }
Expand All @@ -71,10 +71,10 @@ substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/pa
default = []
# Dependencies that are only required if runtime benchmarking should be build.
runtime-benchmarks = [
"node-template-runtime/runtime-benchmarks",
"melodot-runtime/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-benchmarking-cli/runtime-benchmarks",
]
# Enable features that allow the runtime to be tried and debugged. Name might be subject to change
# in the near future.
try-runtime = ["node-template-runtime/try-runtime", "try-runtime-cli/try-runtime"]
try-runtime = ["melodot-runtime/try-runtime", "try-runtime-cli/try-runtime"]
39 changes: 0 additions & 39 deletions pallets/template/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion pallets/template/README.md

This file was deleted.

35 changes: 0 additions & 35 deletions pallets/template/src/benchmarking.rs

This file was deleted.

Loading

0 comments on commit 6d2cfd8

Please sign in to comment.