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

CollabAI implementation #3030

Open
wants to merge 209 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
209 commits
Select commit Hold shift + click to select a range
df5d1d9
temp: temporary stash submit
wangminqi Aug 29, 2024
d3f0129
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Aug 29, 2024
6cea2e6
temp: stash submit
wangminqi Aug 30, 2024
3da51db
feat: aiusd-convertor impl
wangminqi Sep 2, 2024
155161e
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Sep 2, 2024
65e4f7a
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Sep 2, 2024
702d4e6
feat: half stash commit of pallet curator impl
wangminqi Sep 2, 2024
03899ae
temp: stash commit of curator impl
wangminqi Sep 3, 2024
158fc7a
feat: pallet curator rough impl
wangminqi Sep 4, 2024
24bbe4f
temp: stash commit
wangminqi Sep 5, 2024
af406cc
temp: stash commit of pool proposal
wangminqi Sep 8, 2024
cc9d6b9
tmp: rough commit for pre-staking
wangminqi Sep 23, 2024
dedac28
tmp: rough commit for guardian
wangminqi Sep 25, 2024
e9f3fab
feat: rough impl
wangminqi Sep 29, 2024
dcf08cd
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Sep 29, 2024
2f7974e
debug: reloaction merge
wangminqi Sep 29, 2024
992d7e8
chore: taple fmt
wangminqi Sep 29, 2024
1a6ae41
chore: Cargo.toml
wangminqi Sep 29, 2024
10e63e1
chore: fmt
wangminqi Sep 29, 2024
26821f3
chore: lock file
wangminqi Sep 29, 2024
1a52f74
chore: fix
wangminqi Sep 29, 2024
3eb6951
chore: lock file
wangminqi Sep 29, 2024
c7ce96c
chore: fix
wangminqi Sep 29, 2024
86fc225
chore: fix
wangminqi Sep 29, 2024
a99dcb0
chore: fix
wangminqi Sep 29, 2024
556545c
chore: fix
wangminqi Sep 29, 2024
7c04342
chore: fix
wangminqi Sep 29, 2024
1e6c70b
chore: fix
wangminqi Sep 29, 2024
08b9db7
chore: fix
wangminqi Sep 30, 2024
937f552
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Sep 30, 2024
9b68302
chore: fix
wangminqi Sep 30, 2024
243659f
Merge branch 'p-1020-collab-ai-curator' of https://github.com/litentr…
wangminqi Sep 30, 2024
0390219
chore: fix
wangminqi Sep 30, 2024
1404fa1
chore: fix
wangminqi Sep 30, 2024
3c80dea
chore: fix
wangminqi Sep 30, 2024
005f371
chore: fix
wangminqi Sep 30, 2024
b446284
chore: fix
wangminqi Sep 30, 2024
3da8a12
chore: taplo fmt
wangminqi Sep 30, 2024
f5b475a
chore: fix
wangminqi Oct 2, 2024
8cd1211
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 2, 2024
e3c7145
chore: fix
wangminqi Oct 2, 2024
05b7bb4
chore: fix
wangminqi Oct 2, 2024
ee8e71e
chore: fix
wangminqi Oct 2, 2024
503fba9
chore: fix
wangminqi Oct 2, 2024
35d5102
chore: fix
wangminqi Oct 2, 2024
99506a5
chore: fix
wangminqi Oct 3, 2024
ec2c668
chore: fix
wangminqi Oct 3, 2024
04807b2
chore: fix
wangminqi Oct 3, 2024
9ab1899
chore: fix
wangminqi Oct 3, 2024
db47094
chore: fix
wangminqi Oct 3, 2024
25c492e
chore: revert type info
wangminqi Oct 3, 2024
ef18b20
chore: fix
wangminqi Oct 3, 2024
0f1bfec
chore: fix
wangminqi Oct 3, 2024
ccf804b
chore: fix
wangminqi Oct 3, 2024
8e247e0
chore: fix
wangminqi Oct 3, 2024
d6f81e5
chore: fix
wangminqi Oct 3, 2024
1171799
chore: fix
wangminqi Oct 3, 2024
19b2a43
chore: fix
wangminqi Oct 3, 2024
dbf33f0
chore: fix
wangminqi Oct 3, 2024
0bbff98
chore: fix
wangminqi Oct 3, 2024
9d7386a
chore: fix
wangminqi Oct 3, 2024
fe7df1b
chore: fix
wangminqi Oct 3, 2024
3b5f7a5
chore: fix
wangminqi Oct 3, 2024
7eff2d1
chore: fix
wangminqi Oct 3, 2024
4a9c639
chore: fix clippy
wangminqi Oct 3, 2024
15714dd
chore: fix
wangminqi Oct 3, 2024
686a6d5
chore: fix
wangminqi Oct 4, 2024
57823e3
chore: fix
wangminqi Oct 4, 2024
1c9ccbb
feat: add precompile
wangminqi Oct 7, 2024
1e76d7a
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 7, 2024
e7f00bd
chore: lock file
wangminqi Oct 7, 2024
bae6453
chore: fix
wangminqi Oct 7, 2024
00576f3
chore: fix
wangminqi Oct 7, 2024
71b5a0c
chore: fix
wangminqi Oct 7, 2024
95c3037
chore: fix
wangminqi Oct 7, 2024
510e499
chore: fix
wangminqi Oct 7, 2024
89a5991
chore: fix
wangminqi Oct 7, 2024
7e74d05
chore: fix
wangminqi Oct 7, 2024
c741f24
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 7, 2024
df33cbc
chore: fix
wangminqi Oct 7, 2024
ef765ed
chore: fix
wangminqi Oct 7, 2024
2725e7e
chore: fix
wangminqi Oct 8, 2024
b77b491
chore: small adjust
wangminqi Oct 8, 2024
989b148
feat: add view method for precompile
wangminqi Oct 9, 2024
ebe91ec
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 9, 2024
9d5535a
chore: fix
wangminqi Oct 9, 2024
2d91493
chore: fix
wangminqi Oct 9, 2024
4378698
chore: fix
wangminqi Oct 9, 2024
d07cab6
chore: fix
wangminqi Oct 9, 2024
7d643f5
chore: fix
wangminqi Oct 9, 2024
e80e9d5
chore: fix
wangminqi Oct 9, 2024
611d8f8
chore: fix clippy
wangminqi Oct 9, 2024
c1fa463
chore: add pool proposal precompile view
wangminqi Oct 10, 2024
f09328d
chore: fix
wangminqi Oct 10, 2024
77c20a4
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 10, 2024
7ce6264
Merge branch 'p-1020-collab-ai-curator' of https://github.com/litentr…
wangminqi Oct 10, 2024
ece0294
chore: fix
wangminqi Oct 10, 2024
7112efc
chore: fix
wangminqi Oct 10, 2024
aac3561
chore: fix
wangminqi Oct 10, 2024
7d4d8d4
feat: p-1020 add unit test for collab-ai aiusd-convertor pallet and p…
higherordertech Oct 14, 2024
76c6fb2
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 14, 2024
83bbc98
add test for pallet guardian (#3130)
BillyWooo Oct 16, 2024
5316836
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 16, 2024
fe5b345
fix clippy
BillyWooo Oct 16, 2024
6df3a50
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 17, 2024
432f775
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 21, 2024
1fa19fc
feat: add unit tests for curator (#3142)
felixfaisal Oct 23, 2024
cc7ccb1
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 23, 2024
601cde9
chore: fix lock file
wangminqi Oct 23, 2024
b07ba23
chore: add extra method - curator
wangminqi Oct 23, 2024
d442c3d
chore: fix
wangminqi Oct 24, 2024
2c90712
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 24, 2024
0aff376
chore: fix
wangminqi Oct 24, 2024
b16e426
Merge branch 'p-1020-collab-ai-curator' of https://github.com/litentr…
wangminqi Oct 24, 2024
893a42e
chore: fix
wangminqi Oct 24, 2024
762a36a
chore: fix
wangminqi Oct 24, 2024
0d5d836
chore: fix
wangminqi Oct 24, 2024
edf39aa
chore: fix
wangminqi Oct 24, 2024
c3d5779
chore: fix
wangminqi Oct 24, 2024
9a09d70
chore: fix
wangminqi Oct 24, 2024
6ef8256
chore: fix
wangminqi Oct 24, 2024
0b3148c
chore: fix
wangminqi Oct 24, 2024
d754350
chore: fix
wangminqi Oct 24, 2024
705f58c
chore: fix
wangminqi Oct 24, 2024
278b34a
chore: fix
wangminqi Oct 24, 2024
d3bd999
chore: add guardian batch method
wangminqi Oct 24, 2024
1a4af9e
chore: add batch method for pool proposal
wangminqi Oct 24, 2024
96b74b8
chore: fix
wangminqi Oct 24, 2024
a68eb4a
chore: fix
wangminqi Oct 24, 2024
f51249a
chore: fix
wangminqi Oct 24, 2024
e28d29b
chore: fix
wangminqi Oct 24, 2024
dbb483b
chore: temp submit
wangminqi Oct 28, 2024
65ff430
chore: fix
wangminqi Oct 28, 2024
afc3570
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 29, 2024
9080a77
chore: add investing pool / test not fix
wangminqi Oct 31, 2024
09a8919
Merge branch 'p-1020-collab-ai-curator' of https://github.com/litentr…
wangminqi Oct 31, 2024
9e801f0
chore: remove invalid test
wangminqi Oct 31, 2024
ef4e661
chore: temp update
wangminqi Oct 31, 2024
0460ca4
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Oct 31, 2024
fed020b
chore: fix
wangminqi Oct 31, 2024
2b7b7d0
chore: fix
wangminqi Oct 31, 2024
1974e72
chore: temp remove mock and test
wangminqi Oct 31, 2024
9a6a9af
chore: fix
wangminqi Oct 31, 2024
39d514c
chore: fix
wangminqi Oct 31, 2024
e0082c5
chore: fix
wangminqi Oct 31, 2024
1b8ea38
chore: fix
wangminqi Oct 31, 2024
caa6eb7
chore: fix
wangminqi Oct 31, 2024
8b66aee
chore: fix
wangminqi Oct 31, 2024
34eba61
chore: fix
wangminqi Oct 31, 2024
2984dfe
chore: fix
wangminqi Nov 1, 2024
94b302c
chore: fix
wangminqi Nov 1, 2024
6c4d6ed
chore: fix
wangminqi Nov 1, 2024
0962656
chore: fix
wangminqi Nov 1, 2024
3ac018b
chore: fix
wangminqi Nov 1, 2024
cc393e8
chore: fix
wangminqi Nov 1, 2024
08111e1
chore: add first pool proposal test case
wangminqi Nov 1, 2024
40a2187
chore: fix
wangminqi Nov 1, 2024
ca3fa0e
chore: fix lock
wangminqi Nov 1, 2024
8b036ad
chore: fix
wangminqi Nov 1, 2024
4b79a98
chore: fix
wangminqi Nov 1, 2024
55ff32c
Merge branch 'dev' into p-1020-collab-ai-curator
wangminqi Nov 1, 2024
d42414c
chore: fix
wangminqi Nov 1, 2024
e853fdb
chore: fix
wangminqi Nov 1, 2024
711ad3e
chore: fix
wangminqi Nov 1, 2024
795c205
chore: fix
wangminqi Nov 1, 2024
bebce1a
chore: fix
wangminqi Nov 1, 2024
cbc4157
chore: fix
wangminqi Nov 1, 2024
f804b22
chore: fix
wangminqi Nov 2, 2024
bfc786c
chore: fix
wangminqi Nov 2, 2024
85bef01
chore: fix
wangminqi Nov 2, 2024
0707667
chore: fix test
wangminqi Nov 2, 2024
44ce078
chore: fix
wangminqi Nov 2, 2024
bd9401d
feat: add test and baking proposal logic
wangminqi Nov 2, 2024
27e0ad8
chore: rename ConvertingFeeAccount
wangminqi Nov 2, 2024
e3fcb3c
feat: add baking logic
wangminqi Nov 3, 2024
803c519
chore: fix lock
wangminqi Nov 3, 2024
33a111b
chore: fix
wangminqi Nov 3, 2024
a08506c
chore: fix
wangminqi Nov 3, 2024
6fd49ba
chore: fix
wangminqi Nov 3, 2024
48409ef
chore: fix
wangminqi Nov 3, 2024
0acc622
chore: fix
wangminqi Nov 3, 2024
23b96a9
chore: fix
wangminqi Nov 3, 2024
642d225
chore: fix
wangminqi Nov 3, 2024
293a50b
chore: fix
wangminqi Nov 3, 2024
908b740
chore: fix
wangminqi Nov 3, 2024
bacf948
chore: fix
wangminqi Nov 3, 2024
6c4d01b
chore: fix
wangminqi Nov 3, 2024
3281a1a
chore: fix
wangminqi Nov 3, 2024
6bccc64
chore: fix
wangminqi Nov 3, 2024
3df0bd6
chore: fix
wangminqi Nov 3, 2024
a19eb91
chore: fix
wangminqi Nov 3, 2024
e43b5fa
chore: fix
wangminqi Nov 3, 2024
3629ac4
chore: fix
wangminqi Nov 3, 2024
a1dfc8b
chore: fix
wangminqi Nov 3, 2024
7bd7f4a
chore: fix
wangminqi Nov 3, 2024
ed15672
feat: update into paseo
wangminqi Nov 3, 2024
51c0bf8
chore: fix
wangminqi Nov 3, 2024
9b522ff
chore: fix
wangminqi Nov 3, 2024
4e9caee
chore: fix clippy
wangminqi Nov 3, 2024
aebd86f
chore: fix
wangminqi Nov 3, 2024
ec4f101
chore: fix
wangminqi Nov 3, 2024
37997dc
chore: fix
wangminqi Nov 3, 2024
39f54b9
chore: fix
wangminqi Nov 3, 2024
3748ab3
chore: fix
wangminqi Nov 3, 2024
c7c31c2
chore: fix
wangminqi Nov 3, 2024
dd8db69
chore: fix
wangminqi Nov 3, 2024
8be88b4
chore: fix
wangminqi Nov 3, 2024
9aeacd1
chore: fix
wangminqi Nov 3, 2024
66f40ee
bump paseo versions
Kailai-Wang Nov 4, 2024
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
213 changes: 213 additions & 0 deletions parachain/Cargo.lock

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

31 changes: 30 additions & 1 deletion parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ members = [
'pallets/bridge/chain-bridge',
'pallets/bridge/bridge-transfer',
'pallets/bridge/common',
'pallets/collab-ai/aiusd-convertor',
'pallets/collab-ai/common',
'pallets/collab-ai/curator',
'pallets/collab-ai/guardian',
'pallets/collab-ai/pool-proposal',
'pallets/collab-ai/investing-pool',
'pallets/extrinsic-filter',
'pallets/evm-address',
'pallets/evm-assertions',
Expand All @@ -20,7 +26,14 @@ members = [
'pallets/xcm-asset-manager',
'pallets/omni-account',
'pallets/omni-account/runtime-api',
'precompiles/*',
'precompiles/assets-erc20',
'precompiles/bridge-transfer',
'precompiles/collab-ai/aiusd-convertor',
'precompiles/collab-ai/curator',
'precompiles/collab-ai/guardian',
'precompiles/collab-ai/pool-proposal',
'precompiles/parachain-staking',
'precompiles/score-staking',
'runtime/litentry',
'runtime/rococo',
'runtime/paseo',
Expand Down Expand Up @@ -52,6 +65,7 @@ assert_matches = { version = "1.3.0" }
blake2-rfc = { version = "0.2.18", default-features = false }
base58 = { version = "0.2", default-features = false }
base64 = { version = "0.13", default-features = false, features = ["alloc"] }
bitflags = { version = "1.3.2" }
chrono = { version = "0.4", default-features = false, features = ["serde"] }
clap = { version = "4.4", features = ["derive"] }
der = { version = "0.6.0", default-features = false }
Expand Down Expand Up @@ -230,6 +244,7 @@ parachain-info = { git = "https://github.com/paritytech/polkadot-sdk", branch =

substrate-fixed = { git = "https://github.com/encointer/substrate-fixed", default-features = false }
orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false }
orml-utilities = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false }
orml-xtokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v1.1.0", default-features = false }

# benchmarking
Expand Down Expand Up @@ -269,8 +284,22 @@ pallet-evm-precompile-assets-erc20 = { path = "precompiles/assets-erc20", defaul
pallet-evm-precompile-bridge-transfer = { path = "precompiles/bridge-transfer", default-features = false }
pallet-evm-precompile-parachain-staking = { path = "precompiles/parachain-staking", default-features = false }
pallet-evm-precompile-score-staking = { path = "precompiles/score-staking", default-features = false }

pallet-evm-precompile-aiusd-convertor = { path = "precompiles/collab-ai/aiusd-convertor", default-features = false }
pallet-evm-precompile-curator = { path = "precompiles/collab-ai/curator", default-features = false }
pallet-evm-precompile-guardian = { path = "precompiles/collab-ai/guardian", default-features = false }
pallet-evm-precompile-pool-proposal = { path = "precompiles/collab-ai/pool-proposal", default-features = false }

pallet-evm-assertions = { path = "pallets/evm-assertions", default-features = false }

# CollabAI local
pallet-aiusd-convertor = { path = "pallets/collab-ai/aiusd-convertor", default-features = false }
pallet-collab-ai-common = { path = "pallets/collab-ai/common", default-features = false }
pallet-curator = { path = "pallets/collab-ai/curator", default-features = false }
pallet-guardian = { path = "pallets/collab-ai/guardian", default-features = false }
pallet-pool-proposal = { path = "pallets/collab-ai/pool-proposal", default-features = false }
pallet-investing-pool = { path = "pallets/collab-ai/investing-pool", default-features = false }

[patch.crates-io]
ring = { git = "https://github.com/betrusted-io/ring-xous", branch = "0.16.20-cleanup" }

Expand Down
Loading