Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
cdb93bc
Create writer helpers
tsenovilla Apr 7, 2025
ee2ad02
Merge branch 'main' into feat/pop-add-pallet
tsenovilla Apr 7, 2025
97c3135
Bring pop add pallet to the branch
tsenovilla Apr 7, 2025
2b23afa
Finishing pop add pallet command + tests
tsenovilla Apr 12, 2025
047f6ba
Merge conflicts
tsenovilla Apr 12, 2025
46877a4
Merge dependencies
tsenovilla Apr 12, 2025
12578da
Add use statements to test
tsenovilla Apr 12, 2025
1c0e66f
Fix clippy
tsenovilla Apr 12, 2025
9c53e83
fmt
tsenovilla Apr 12, 2025
edbb1ba
Fix test
tsenovilla Apr 12, 2025
149f21d
Fix test
tsenovilla Apr 12, 2025
515b2e9
Fix parachain test
tsenovilla Apr 12, 2025
76f624d
Fix test
tsenovilla Apr 12, 2025
1104a2c
fix test parachain
tsenovilla Apr 12, 2025
5b020dd
Parachain test compiles pallet contracts version 39.0.0
tsenovilla Apr 12, 2025
7bc09e2
pop add pallet adds pallet features to runtime manifest
tsenovilla Apr 13, 2025
d1d8588
Adding missing imports
tsenovilla Apr 13, 2025
54b0a5e
Fix typo
tsenovilla Apr 13, 2025
1be64fa
fmt
tsenovilla Apr 13, 2025
f1eb03d
Fmt
tsenovilla Apr 13, 2025
995435c
Fix test
tsenovilla Apr 13, 2025
a2c36d9
Fix test
tsenovilla Apr 13, 2025
63661ec
Fix tests
tsenovilla Apr 13, 2025
0c89448
Fixing version issue compatibility in parachain test
tsenovilla Apr 13, 2025
a9bbec1
Update crates/pop-cli/tests/parachain.rs
tsenovilla Apr 29, 2025
be74757
Update crates/pop-common/src/manifest.rs
tsenovilla Apr 29, 2025
2656010
Update crates/pop-cli/src/commands/add/pallet/common_pallets.rs
tsenovilla Apr 29, 2025
8228181
Update crates/pop-cli/src/commands/add/pallet/common_pallets.rs
tsenovilla Apr 29, 2025
ec83aaf
Update crates/pop-cli/src/commands/add/pallet/common_pallets.rs
tsenovilla Apr 29, 2025
3f002e9
Addressing Alex's suggestions
tsenovilla Apr 29, 2025
f5ba569
writer compiles only in parachain feature
tsenovilla Apr 29, 2025
037bb0b
chore: add assets pallet
AlexD10S May 14, 2025
ec5399d
feat: add revive config
AlexD10S May 20, 2025
ec1c27e
feat: add utility pallet
AlexD10S May 20, 2025
3a4b95d
feat: add sudo pallet
AlexD10S May 20, 2025
4ae66e0
Merge pull request #4 from tsenovilla/feat/new-pallets
tsenovilla Jun 4, 2025
8cc5bd8
merge main branch
tsenovilla Jun 4, 2025
97c41c4
Remove pending HEAD line
tsenovilla Jun 4, 2025
2700680
fmt
tsenovilla Jun 4, 2025
7fc818d
Using directly release tags from the polkadot sdk rather than pallet …
tsenovilla Jun 4, 2025
0cbf56f
Adding experimental flag
tsenovilla Jun 4, 2025
d0b0620
Address test bug
tsenovilla Jun 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,4 @@ jobs:
- name: Run integration tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cargo test --no-default-features --features parachain --test parachain
run: cargo test --no-default-features --features parachain,experimental --test parachain
71 changes: 70 additions & 1 deletion Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,16 @@ dirs = { version = "5.0", default-features = false }
duct = { version = "0.13", default-features = false }
env_logger = { version = "0.11.7", default-features = false }
flate2 = "1.0.30"
fs_rollback = "3.0.1"
git2 = { version = "0.18", default-features = true, features = ["vendored-openssl"] }
glob = { version = "0.3.1", default-features = false }
log = { version = "0.4.20", default-features = false }
mockito = { version = "1.4.0", default-features = false }
proc-macro2 = "1.0.86"
rustilities = "2.2.1"
rust_writer = "1.0.4"
similar = "2.7.0"
syn = "2.0.100"
tar = { version = "0.4.40", default-features = false }
tempfile = { version = "3.10", default-features = false }
thiserror = { version = "1.0.58", default-features = false }
Expand Down
11 changes: 9 additions & 2 deletions crates/pop-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@ console.workspace = true
dirs.workspace = true
duct.workspace = true
env_logger.workspace = true
fs_rollback = { workspace = true, optional = true }
os_info.workspace = true
proc-macro2 = { workspace = true, optional = true}
reqwest.workspace = true
rustilities = { workspace = true, features = ["fmt", "manifest"], optional = true }
rust_writer = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
syn = { workspace = true, features = ["parsing"], optional = true }
strum.workspace = true
strum_macros.workspace = true
tempfile.workspace = true
Expand Down Expand Up @@ -57,19 +62,21 @@ tower-http = { workspace = true, features = ["fs", "cors"], optional = true }
assert_cmd.workspace = true
contract-extrinsics.workspace = true
mockito.workspace = true
rustilities = { workspace = true, features = ["fmt", "manifest", "parsing"]}
subxt.workspace = true
subxt-signer.workspace = true
similar.workspace = true

[features]
default = ["parachain", "telemetry", "wasm-contracts"]
contract = ["wasm-contracts"]
contracts = ["polkavm-contracts"]
experimental = ["hashing"]
experimental = ["hashing", "syn", "rust_writer", "rustilities", "proc-macro2", "fs_rollback"]
hashing = ["dep:sp-core"]
parachain = ["dep:pop-parachains", "dep:git2", "dep:regex", "dep:sp-core", "dep:tracing-subscriber", "wallet-integration"]
v6 = []
polkavm-contracts = ["pop-contracts/v6", "dep:pop-contracts", "dep:sp-core", "dep:sp-weights", "wallet-integration"]
telemetry = ["dep:pop-telemetry"]
v5 = []
wasm-contracts = ["pop-contracts/v5", "dep:pop-contracts", "dep:sp-core", "dep:sp-weights", "wallet-integration", "v5"]
wallet-integration = ["dep:axum", "dep:open", "dep:tower-http"]
wallet-integration = ["dep:axum", "dep:open", "dep:tower-http"]
20 changes: 20 additions & 0 deletions crates/pop-cli/src/commands/add/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// SPDX-License-Identifier: GPL-3.0

use clap::{Args, Subcommand};

pub mod pallet;

/// Arguments for adding a new feature to existing code
#[derive(Args)]
#[command(args_conflicts_with_subcommands = true)]
pub struct AddArgs {
#[command(subcommand)]
pub command: Command,
}

#[derive(Subcommand, Debug)]
pub enum Command {
/// Add a new pallet to an existing runtime
#[clap(alias = "P")]
Pallet(pallet::AddPalletCommand),
}
Loading
Loading