Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: basic DIP structure #489

Merged
merged 71 commits into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
afe92fd
Update dependencies
ntn-x2 Feb 24, 2023
2538942
Update node side
ntn-x2 Feb 24, 2023
c585f30
Peregrine runtime compiling
ntn-x2 Feb 24, 2023
bc1da7a
Spiritnet runtime compiling
ntn-x2 Feb 24, 2023
b427a6d
Everything compiling
ntn-x2 Feb 24, 2023
d865e0f
All fixes
ntn-x2 Feb 24, 2023
0cd10f7
Compiles
ntn-x2 Feb 24, 2023
8a43ba1
Last fixes
ntn-x2 Feb 24, 2023
23ac524
More
ntn-x2 Feb 24, 2023
71732cc
fmt
ntn-x2 Feb 24, 2023
bb58447
Add pallet-xcm to runtime bench script
ntn-x2 Feb 24, 2023
f5bc271
Clippy
ntn-x2 Feb 27, 2023
a266edc
New pallet skeleton
ntn-x2 Feb 27, 2023
12b4fc9
First iteration
ntn-x2 Feb 27, 2023
39f5696
Test setup
ntn-x2 Feb 28, 2023
fb69836
Before switching to the Parity example
ntn-x2 Feb 28, 2023
6e6c59a
Integrate Parity example
ntn-x2 Feb 28, 2023
11d6fcf
Parity example refactoring in progress
ntn-x2 Feb 28, 2023
a3b9236
Test setup refactoring complete
ntn-x2 Mar 1, 2023
ff76493
Test environment compiling successfully
ntn-x2 Mar 1, 2023
7fc85c6
Messages going from parachain A to parachain B
ntn-x2 Mar 1, 2023
873c2d9
Transact works! Must add WithdrawAsset instruction first
ntn-x2 Mar 2, 2023
708f249
E2e flow works
ntn-x2 Mar 3, 2023
e0fe62a
More progress on the receiver side
ntn-x2 Mar 3, 2023
7760d02
Compiling
ntn-x2 Mar 3, 2023
53c04b7
IT WORKS
ntn-x2 Mar 3, 2023
10faad2
Working again
ntn-x2 Mar 3, 2023
6c0518b
Add support for additional details
ntn-x2 Mar 3, 2023
8646bbc
Add error handling
ntn-x2 Mar 3, 2023
b2b0d72
Change Transact origin to be the parachain itself
ntn-x2 Mar 6, 2023
b7bd163
Refactoring complete
ntn-x2 Mar 6, 2023
77e7b61
All working again
ntn-x2 Mar 6, 2023
c0bf753
Better refactoring
ntn-x2 Mar 6, 2023
845cf6b
Fix some features
ntn-x2 Mar 6, 2023
e8591b3
Merge commit '4eb94ef8e66343af651942653f25b939cfbf044e' into aa/dip-t…
ntn-x2 Mar 6, 2023
bef19d9
Fix compilation mess
ntn-x2 Mar 6, 2023
3c08a7d
Fix dip-receiver feature
ntn-x2 Mar 6, 2023
b3bf93f
Template node compiling
ntn-x2 Mar 8, 2023
cc4e907
Setup for local rococo 0.9.38
ntn-x2 Mar 8, 2023
17e5517
Minor runtime fixes WIP
ntn-x2 Mar 10, 2023
2bdd304
Add Parity feature flag fix
ntn-x2 Mar 10, 2023
fdc3981
Merge commit '2bdd304e09a3fe3ec1bb92e1d7b99cbe516232bb' into aa/dip-t…
ntn-x2 Mar 10, 2023
f31c2fc
Temporary fixes
ntn-x2 Mar 10, 2023
f825b95
More demo fixes
ntn-x2 Mar 10, 2023
a32f292
Fixes pt. 2
ntn-x2 Mar 10, 2023
b5fd68f
More fixess
ntn-x2 Mar 10, 2023
a7a022d
WORKING
ntn-x2 Mar 13, 2023
9609da4
Remove debug prints
ntn-x2 Mar 13, 2023
831c874
Revert test change
ntn-x2 Mar 13, 2023
4d2385c
Clean up dip-sender pallet
ntn-x2 Mar 14, 2023
6695380
Refactor dip-receiver
ntn-x2 Mar 14, 2023
97f8289
Rename dip pallets
ntn-x2 Mar 14, 2023
12ab8ee
Refactor dip-support
ntn-x2 Mar 14, 2023
09c0f5f
Refactor dip-sender and dip-receiver pallets
ntn-x2 Mar 14, 2023
89c6e0a
Merge commit '3f67a3192e75e181e1bf366748eb1b3e22bde18e' into aa/dip-t…
ntn-x2 Mar 14, 2023
6b44010
More refactoring
ntn-x2 Mar 14, 2023
fd2e1e9
Mid refactoring dip-sender template runtime
ntn-x2 Mar 14, 2023
9c83152
Complete refactor for dip-sender runtime template
ntn-x2 Mar 14, 2023
d02475b
receiver runtime template refactor
ntn-x2 Mar 15, 2023
9be02a9
One more refactoring complete
ntn-x2 Mar 15, 2023
9606829
XCM integration tests refactored
ntn-x2 Mar 15, 2023
4e704be
Almost there
ntn-x2 Mar 15, 2023
d45ed6f
Template nodes compiling
ntn-x2 Mar 15, 2023
c40af4d
Remove unused deps
ntn-x2 Mar 15, 2023
e9b49c4
Last fixes
ntn-x2 Mar 15, 2023
3fc04ce
Merge commit 'c6d5e7e9a08cef8697dfe37dd96dd5633a639c1d' into aa/dip-t…
ntn-x2 Mar 15, 2023
dd03b0c
Feature fixed
ntn-x2 Mar 15, 2023
2097d27
Add XCM pallet to template runtimes
ntn-x2 Mar 16, 2023
22ffcc9
Merge commit '7234aee203bc488b7e4bef7cc9cf69bfb1ba3ea4' into aa/dip-t…
ntn-x2 Mar 28, 2023
41d5538
Merge commit 'df9cef8e473a0512c17954baa6e2363ce8c65231' into aa/dip-t…
ntn-x2 Mar 28, 2023
4d8f14d
Remove unnecessary code duplication
ntn-x2 Mar 30, 2023
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
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,4 @@
# ignore vscode settings
.vscode

# Custom Polkadot-js apps types
pallets/did/src/custom_types.json

**/__pycache__
304 changes: 304 additions & 0 deletions Cargo.lock

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

13 changes: 12 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ version = "1.11.0-dev"

[workspace]
members = [
"crates/*",
"dip-template/nodes/*",
"dip-template/runtimes/*",
"nodes/*",
"pallets/*",
"runtime-api/*",
"runtimes/*",
"support",
"crates/*",
]

[profile.release]
Expand Down Expand Up @@ -49,17 +51,24 @@ attestation = {path = "pallets/attestation", default-features = false}
ctype = {path = "pallets/ctype", default-features = false}
delegation = {path = "pallets/delegation", default-features = false}
did = {path = "pallets/did", default-features = false}
pallet-dip-receiver = {path = "pallets/pallet-dip-receiver", default-features = false}
pallet-dip-sender = {path = "pallets/pallet-dip-sender", default-features = false}
pallet-did-lookup = {path = "pallets/pallet-did-lookup", default-features = false}
pallet-inflation = {path = "pallets/pallet-inflation", default-features = false}
pallet-web3-names = {path = "pallets/pallet-web3-names", default-features = false}
parachain-staking = {path = "pallets/parachain-staking", default-features = false}
public-credentials = {path = "pallets/public-credentials", default-features = false}

# Internal support (with default disabled)
dip-support = {path = "crates/dip", default-features = false}
kilt-asset-dids = {path = "crates/assets", default-features = false}
kilt-support = {path = "support", default-features = false}
runtime-common = {path = "runtimes/common", default-features = false}

# Templates
dip-receiver-runtime-template = {path = "dip-template/runtimes/dip-receiver", default-features = false}
dip-sender-runtime-template = {path = "dip-template/runtimes/dip-sender", default-features = false}

# Internal runtime API (with default disabled)
kilt-runtime-api-did = {path = "runtime-api/did", default-features = false}
kilt-runtime-api-public-credentials = {path = "runtime-api/public-credentials", default-features = false}
Expand Down Expand Up @@ -133,6 +142,8 @@ try-runtime-cli = {git = "https://github.com/paritytech/substrate", default-feat
# Polkadot (with default disabled)
pallet-xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
polkadot-parachain = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
rococo-runtime = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
polkadot-runtime-parachains = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
xcm = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
xcm-builder = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
xcm-executor = {git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.38"}
Expand Down
Loading