Skip to content

Commit

Permalink
Merge branch 'develop' into ag_chopsticks_design_switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ad96el authored Feb 10, 2025
2 parents f05f814 + d7995da commit f3bb203
Show file tree
Hide file tree
Showing 554 changed files with 1,656 additions and 1,660 deletions.
Binary file removed .maintain/media/kilt.png
Binary file not shown.
6 changes: 3 additions & 3 deletions HEADER-GPL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,4 +14,4 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# KILT-node &middot; [![Check Code](https://github.com/KILTprotocol/kilt-node/actions/workflows/check-code.yml/badge.svg)](https://github.com/KILTprotocol/kilt-node/actions/workflows/check-code.yml?query=branch%3Adevelop) &middot; [![Publish Docs](https://github.com/KILTprotocol/kilt-node/actions/workflows/publish-rustdocs.yml/badge.svg)](https://github.com/KILTprotocol/kilt-node/actions/workflows/publish-rustdocs.yml?query=branch%3Adevelop) &middot; [![Build Artifacts](https://gitlab.com/kiltprotocol/kilt-node/badges/develop/pipeline.svg?key_text=Build+Artifacts&key_width=100)](https://gitlab.com/kiltprotocol/kilt-node/-/pipelines?page=1&scope=all&ref=develop)


<p align="center">
<img src="/.maintain/media/kilt.png">
</p>

The KILT blockchain is the heart and soul behind KILT Protocol.
It provides the immutable transaction ledger for the various KILT processes in the network.

Expand Down
6 changes: 3 additions & 3 deletions crates/assets/src/asset.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

// Exported types. This will always only re-export the latest version by
// default.
Expand Down
6 changes: 3 additions & 3 deletions crates/assets/src/chain.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

// Exported types. This will always only re-export the latest version by
// default.
Expand Down
6 changes: 3 additions & 3 deletions crates/assets/src/errors.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use frame_support::sp_runtime::RuntimeDebug;

Expand Down
6 changes: 3 additions & 3 deletions crates/assets/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

//! Library to parse the raw byte vectors into supported Asset DIDs, according
//! to the spec.
Expand Down
6 changes: 3 additions & 3 deletions crates/assets/src/v1.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>
use hex_literal::hex;
use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

//! Collection of support traits, types, and functions for integrating KILT as
//! an identity provider following the Decentralized Identity Provider (DIP)
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/merkle_proofs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

pub mod v0;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use did::{
did_details::{DidPublicKey, DidPublicKeyDetails},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

mod dip_revealed_details_and_unverified_did_signature {
use frame_support::{assert_err, assert_ok};
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/merkle_proofs/v0/error.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use scale_info::TypeInfo;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use did::DidSignature;
use parity_scale_codec::{Decode, Encode};
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/merkle_proofs/v0/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

//! Module to deal with cross-chain Merkle proof as generated by the KILT chain.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use did::{did_details::DidPublicKeyDetails, DidVerificationKeyRelationship};
use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use frame_support::ensure;
use pallet_dip_provider::IdentityCommitmentOf;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

// These test cases are, for now, the same as the ones in
// [`super::relay_state::relay_dip_did_proof_with_verified_relay_state_root`],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use parity_scale_codec::{Codec, Decode, Encode};
use scale_info::TypeInfo;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

mod relay_did_dip_proof {
use frame_support::assert_err;
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/state_proofs/error.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use scale_info::TypeInfo;

Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/state_proofs/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use parity_scale_codec::Decode;
use sp_runtime::traits::Hash;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use hash_db::EMPTY_PREFIX;
use parity_scale_codec::Codec;
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/traits.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

use sp_core::H256;
use sp_runtime::traits::{CheckedAdd, One, Zero};
Expand Down
6 changes: 3 additions & 3 deletions crates/kilt-dip-primitives/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// KILT Blockchain – https://botlabs.org
// Copyright (C) 2019-2024 BOTLabs GmbH
// KILT Blockchain – <https://kilt.io>
// Copyright (C) 2025, KILT Foundation

// The KILT Blockchain is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

// If you feel like getting in touch with us, you can do so at info@botlabs.org
// If you feel like getting in touch with us, you can do so at <hello@kilt.org>

/// The output of a type implementing the [`sp_runtime::traits::Hash`] trait.
pub type OutputOf<Hasher> = <Hasher as sp_runtime::traits::Hash>::Output;
Expand Down
Loading

0 comments on commit f3bb203

Please sign in to comment.