Skip to content

Commit b8a03fe

Browse files
authored
Remove collab-ai pallets and integration (#3842)
* int * clean up * try to fix ci * fix compile
1 parent 305767d commit b8a03fe

File tree

73 files changed

+1528
-12571
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1528
-12571
lines changed

parachain/Cargo.lock

Lines changed: 1464 additions & 2577 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parachain/Cargo.toml

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ members = [
88
'pallets/bridge/chain-bridge',
99
'pallets/bridge/bridge-transfer',
1010
'pallets/bridge/common',
11-
'pallets/collab-ai/aiusd-convertor',
12-
'pallets/collab-ai/common',
13-
'pallets/collab-ai/curator',
14-
'pallets/collab-ai/guardian',
15-
'pallets/collab-ai/halving-mint',
16-
'pallets/collab-ai/pool-proposal',
17-
'pallets/collab-ai/investing-pool',
1811
'pallets/extrinsic-filter',
1912
'pallets/evm-assertions',
2013
'pallets/identity-management',
@@ -28,11 +21,6 @@ members = [
2821
'pallets/omni-bridge',
2922
'precompiles/assets-erc20',
3023
'precompiles/bridge-transfer',
31-
'precompiles/collab-ai/aiusd-convertor',
32-
'precompiles/collab-ai/curator',
33-
'precompiles/collab-ai/guardian',
34-
'precompiles/collab-ai/pool-proposal',
35-
'precompiles/collab-ai/investing-pool',
3624
'precompiles/omni-bridge',
3725
'precompiles/parachain-staking',
3826
'precompiles/score-staking',
@@ -248,7 +236,7 @@ cumulus-primitives-aura = { git = "https://github.com/paritytech/polkadot-sdk",
248236
cumulus-primitives-core = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
249237
cumulus-primitives-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
250238
cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
251-
cumulus-primitives-parachain-inherent = { git = 'https://github.com/paritytech/polkadot-sdk', branch = "stable2412", default-features = false }
239+
cumulus-primitives-parachain-inherent = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
252240
pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
253241
parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
254242
parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
@@ -260,7 +248,7 @@ substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", defaul
260248
frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
261249
frame-system-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
262250
frame-benchmarking-cli = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6" }
263-
cumulus-pallet-session-benchmarking = { git = 'https://github.com/paritytech/polkadot-sdk', branch = "stable2412", default-features = false }
251+
cumulus-pallet-session-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", default-features = false }
264252
substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", tag = "polkadot-stable2412-6", features = ["metadata-hash"] }
265253

266254
# local
@@ -293,19 +281,5 @@ pallet-evm-precompile-parachain-staking = { path = "precompiles/parachain-stakin
293281
pallet-evm-precompile-score-staking = { path = "precompiles/score-staking", default-features = false }
294282
pallet-evm-precompile-vesting = { path = "precompiles/vesting", default-features = false }
295283

296-
pallet-evm-precompile-aiusd-convertor = { path = "precompiles/collab-ai/aiusd-convertor", default-features = false }
297-
pallet-evm-precompile-curator = { path = "precompiles/collab-ai/curator", default-features = false }
298-
pallet-evm-precompile-guardian = { path = "precompiles/collab-ai/guardian", default-features = false }
299-
pallet-evm-precompile-pool-proposal = { path = "precompiles/collab-ai/pool-proposal", default-features = false }
300-
pallet-evm-precompile-investing-pool = { path = "precompiles/collab-ai/investing-pool", default-features = false }
301284

302285
pallet-evm-assertions = { path = "pallets/evm-assertions", default-features = false }
303-
304-
# CollabAI local - TODO: will remove unused deps later
305-
pallet-aiusd-convertor = { path = "pallets/collab-ai/aiusd-convertor", default-features = false }
306-
pallet-collab-ai-common = { path = "pallets/collab-ai/common", default-features = false }
307-
pallet-curator = { path = "pallets/collab-ai/curator", default-features = false }
308-
pallet-guardian = { path = "pallets/collab-ai/guardian", default-features = false }
309-
pallet-halving-mint = { path = "pallets/collab-ai/halving-mint", default-features = false }
310-
pallet-pool-proposal = { path = "pallets/collab-ai/pool-proposal", default-features = false }
311-
pallet-investing-pool = { path = "pallets/collab-ai/investing-pool", default-features = false }

parachain/node/Cargo.toml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,16 @@ targets = ['x86_64-unknown-linux-gnu']
1818
[dependencies]
1919
async-trait = { workspace = true }
2020
clap = { workspace = true }
21+
frame-support = { workspace = true, features = ["std"] }
2122
futures = { workspace = true }
2223
jsonrpsee = { workspace = true }
2324
log = { workspace = true }
24-
parity-scale-codec = { workspace = true }
25-
serde = { workspace = true }
26-
serde_json = { workspace = true }
27-
tokio = { workspace = true }
28-
29-
frame-support = { workspace = true, features = ["std"] }
3025
pallet-ethereum = { workspace = true, features = ["std"] }
3126
pallet-evm = { workspace = true, features = ["std"] }
3227
pallet-transaction-payment = { workspace = true, features = ["std"] }
3328
pallet-transaction-payment-rpc = { workspace = true }
3429
pallet-transaction-payment-rpc-runtime-api = { workspace = true, features = ["std"] }
30+
parity-scale-codec = { workspace = true }
3531
sc-basic-authorship = { workspace = true }
3632
sc-chain-spec = { workspace = true }
3733
sc-cli = { workspace = true }
@@ -48,14 +44,15 @@ sc-telemetry = { workspace = true }
4844
sc-tracing = { workspace = true }
4945
sc-transaction-pool = { workspace = true }
5046
sc-transaction-pool-api = { workspace = true }
47+
serde = { workspace = true }
48+
serde_json = { workspace = true }
5149
sp-api = { workspace = true, features = ["std"] }
5250
sp-block-builder = { workspace = true, features = ["std"] }
5351
sp-blockchain = { workspace = true }
5452
sp-consensus-aura = { workspace = true, features = ["std"] }
5553
sp-core = { workspace = true, features = ["std"] }
5654
sp-genesis-builder = { workspace = true, features = ["std"] }
5755
sp-inherents = { workspace = true, features = ["std"] }
58-
sp-io = { workspace = true, features = ["std"] }
5956
sp-keystore = { workspace = true, features = ["std"] }
6057
sp-offchain = { workspace = true, features = ["std"] }
6158
sp-runtime = { workspace = true, features = ["std"] }
@@ -86,24 +83,19 @@ cumulus-client-parachain-inherent = { workspace = true }
8683
cumulus-client-service = { workspace = true }
8784
cumulus-primitives-aura = { workspace = true, features = ["std"] }
8885
cumulus-primitives-core = { workspace = true, features = ["std"] }
89-
cumulus-primitives-parachain-inherent = { workspace = true, features = ["std"] }
9086
cumulus-relay-chain-interface = { workspace = true }
91-
cumulus-test-relay-sproof-builder = { workspace = true, features = ["std"] }
9287

9388
polkadot-cli = { workspace = true }
9489
polkadot-primitives = { workspace = true, features = ["std"] }
95-
polkadot-service = { workspace = true }
9690
xcm = { workspace = true }
9791

9892
frame-benchmarking = { workspace = true }
9993
frame-benchmarking-cli = { workspace = true }
100-
frame-metadata-hash-extension = { workspace = true }
10194
frame-system-rpc-runtime-api = { workspace = true }
10295
frame-try-runtime = { workspace = true, optional = true }
10396

10497
heima-primitives = { workspace = true, features = ["std"] }
10598
heima-runtime = { workspace = true, features = ["std"] }
106-
pallet-omni-account-runtime-api = { workspace = true, features = ["std"] }
10799
paseo-runtime = { workspace = true, features = ["std"] }
108100
runtime-common = { workspace = true, features = ["std"] }
109101

@@ -127,7 +119,6 @@ runtime-benchmarks = [
127119
"paseo-runtime/runtime-benchmarks",
128120
"polkadot-cli/runtime-benchmarks",
129121
"polkadot-primitives/runtime-benchmarks",
130-
"polkadot-service/runtime-benchmarks",
131122
"runtime-common/runtime-benchmarks",
132123
"sc-service/runtime-benchmarks",
133124
"sp-runtime/runtime-benchmarks",
@@ -140,7 +131,6 @@ try-runtime = [
140131
"pallet-transaction-payment/try-runtime",
141132
"paseo-runtime/try-runtime",
142133
"polkadot-cli/try-runtime",
143-
"polkadot-service/try-runtime",
144134
"runtime-common/try-runtime",
145135
"sp-runtime/try-runtime",
146136
"frame-try-runtime",

parachain/pallets/account-fix/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ version = '0.1.0'
1111
[dependencies]
1212
parity-scale-codec = { workspace = true }
1313
scale-info = { workspace = true }
14+
sp-runtime = { workspace = true }
1415

1516
frame-support = { workspace = true }
1617
frame-system = { workspace = true }
1718
pallet-balances = { workspace = true }
18-
sp-runtime = { workspace = true }
1919
sp-std = { workspace = true }
2020

2121
[features]
@@ -25,11 +25,11 @@ runtime-benchmarks = [
2525
"frame-system/runtime-benchmarks",
2626
]
2727
std = [
28+
"parity-scale-codec/std",
29+
"scale-info/std",
2830
"frame-support/std",
2931
"frame-system/std",
3032
"pallet-balances/std",
31-
"parity-scale-codec/std",
32-
"scale-info/std",
3333
"sp-runtime/std",
3434
"sp-std/std",
3535
]

parachain/pallets/bitacross/Cargo.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ version = '0.1.0'
1010
parity-scale-codec = { workspace = true }
1111
scale-info = { workspace = true }
1212

13-
frame-benchmarking = { workspace = true, optional = true }
1413
frame-support = { workspace = true }
1514
frame-system = { workspace = true }
16-
sp-runtime = { workspace = true }
1715

1816
heima-primitives = { workspace = true }
1917

@@ -25,21 +23,18 @@ sp-io = { workspace = true, features = ["std"] }
2523
[features]
2624
default = ["std"]
2725
runtime-benchmarks = [
28-
"frame-benchmarking/runtime-benchmarks",
2926
"frame-support/runtime-benchmarks",
3027
"frame-system/runtime-benchmarks",
3128
"pallet-timestamp/runtime-benchmarks",
3229
]
3330
std = [
31+
"parity-scale-codec/std",
32+
"scale-info/std",
3433
"heima-primitives/std",
35-
"frame-benchmarking?/std",
3634
"frame-support/std",
3735
"frame-system/std",
3836
"pallet-balances/std",
3937
"pallet-timestamp/std",
40-
"parity-scale-codec/std",
41-
"scale-info/std",
4238
"sp-io/std",
43-
"sp-runtime/std",
4439
]
4540
try-runtime = ["frame-support/try-runtime"]

parachain/pallets/bridge/assets-handler/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ version = '0.1.0'
1212
hex-literal = { workspace = true }
1313
parity-scale-codec = { workspace = true }
1414
scale-info = { workspace = true }
15+
sp-core = { workspace = true }
1516

1617
frame-support = { workspace = true }
1718
frame-system = { workspace = true }
@@ -20,7 +21,6 @@ pallet-balances = { workspace = true }
2021
pallet-bridge-common = { workspace = true }
2122
pallet-chain-bridge = { workspace = true }
2223
pallet-parachain-staking = { workspace = true }
23-
sp-core = { workspace = true }
2424
sp-io = { workspace = true }
2525
sp-runtime = { workspace = true }
2626
sp-std = { workspace = true }
@@ -39,6 +39,9 @@ runtime-benchmarks = [
3939
"pallet-parachain-staking/runtime-benchmarks",
4040
]
4141
std = [
42+
"sp-core/std",
43+
"parity-scale-codec/std",
44+
"scale-info/std",
4245
"frame-support/std",
4346
"frame-system/std",
4447
"pallet-assets/std",
@@ -47,9 +50,6 @@ std = [
4750
"pallet-bridge-transfer/std",
4851
"pallet-chain-bridge/std",
4952
"pallet-parachain-staking/std",
50-
"parity-scale-codec/std",
51-
"scale-info/std",
52-
"sp-core/std",
5353
"sp-io/std",
5454
"sp-runtime/std",
5555
"sp-std/std",

parachain/pallets/bridge/bridge-transfer/Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ hex-literal = { workspace = true }
1111
parity-scale-codec = { workspace = true }
1212
scale-info = { workspace = true }
1313

14-
sp-arithmetic = { workspace = true }
15-
sp-core = { workspace = true }
1614
sp-io = { workspace = true }
1715
sp-runtime = { workspace = true }
1816
sp-std = { workspace = true }
@@ -41,6 +39,8 @@ runtime-benchmarks = [
4139
"pallet-chain-bridge/runtime-benchmarks",
4240
]
4341
std = [
42+
"parity-scale-codec/std",
43+
"scale-info/std",
4444
"frame-benchmarking?/std",
4545
"frame-support/std",
4646
"frame-system/std",
@@ -50,10 +50,6 @@ std = [
5050
"pallet-bridge-common/std",
5151
"pallet-chain-bridge/std",
5252
"pallet-timestamp/std",
53-
"parity-scale-codec/std",
54-
"scale-info/std",
55-
"sp-arithmetic/std",
56-
"sp-core/std",
5753
"sp-io/std",
5854
"sp-runtime/std",
5955
"sp-std/std",

parachain/pallets/bridge/chain-bridge/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ version = '0.1.0'
99
[dependencies]
1010
parity-scale-codec = { workspace = true }
1111
scale-info = { workspace = true }
12-
1312
sp-core = { workspace = true }
14-
sp-io = { workspace = true }
1513
sp-runtime = { workspace = true }
14+
15+
sp-io = { workspace = true }
1616
sp-std = { workspace = true }
1717

1818
frame-benchmarking = { workspace = true, optional = true }
@@ -28,13 +28,13 @@ runtime-benchmarks = [
2828
"frame-system/runtime-benchmarks",
2929
]
3030
std = [
31+
"sp-core/std",
32+
"parity-scale-codec/std",
33+
"scale-info/std",
3134
"frame-benchmarking?/std",
3235
"frame-support/std",
3336
"frame-system/std",
3437
"pallet-balances/std",
35-
"parity-scale-codec/std",
36-
"scale-info/std",
37-
"sp-core/std",
3838
"sp-io/std",
3939
"sp-runtime/std",
4040
"sp-std/std",

parachain/pallets/collab-ai/aiusd-convertor/Cargo.toml

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)