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

add test for pallet guardian #3130

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

BillyWooo
Copy link
Collaborator

Need further changes. Already DM @wangminqi .

@BillyWooo BillyWooo requested a review from wangminqi October 15, 2024 19:41
Copy link

linear bot commented Oct 15, 2024

voter,
H160::from_low_u64_be(1000),
PCall::<Test>::vote {
guardian: guardian.into(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this TruncatedAddressMapping::into_account_id(guardian)

@BillyWooo BillyWooo self-assigned this Oct 16, 2024
@wangminqi wangminqi merged commit 83bbc98 into p-1020-collab-ai-curator Oct 16, 2024
@wangminqi wangminqi deleted the p-1099-collabai-pallet-guardian branch October 16, 2024 08:48
wangminqi added a commit that referenced this pull request Dec 4, 2024
* temp: temporary stash submit

* temp: stash submit

* feat: aiusd-convertor impl

* feat: half stash commit of pallet curator impl

* temp:  stash commit of curator impl

* feat:  pallet curator rough impl

* temp: stash commit

* temp: stash commit of pool proposal

* tmp: rough commit for pre-staking

* tmp: rough commit for guardian

* feat: rough impl

* debug: reloaction merge

* chore: taple fmt

* chore: Cargo.toml

* chore: fmt

* chore: lock file

* chore: fix

* chore: lock file

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: taplo fmt

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: revert type info

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix clippy

* chore: fix

* chore: fix

* chore: fix

* feat: add precompile

* chore: lock file

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: small adjust

* feat: add view method for precompile

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix clippy

* chore: add pool proposal precompile view

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* feat: p-1020 add unit test for collab-ai aiusd-convertor pallet and precompile (#3125)

Co-authored-by: higherordertech <higherordertech>

* add test for pallet guardian (#3130)

* add test for pallet guardian

* fix test

* add more tests

* fix clippy

* feat: add unit tests for curator (#3142)

* feat: add unit tests for curator pallet

* feat: add unit tests for pre-compile curator

* chore: fix lock file

* chore: add extra method - curator

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: add guardian batch method

* chore: add batch method for pool proposal

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: temp submit

* chore: fix

* chore: add investing pool / test not fix

* chore: remove invalid test

* chore: temp update

* chore: fix

* chore: fix

* chore: temp remove mock and test

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: add first pool proposal test case

* chore: fix

* chore: fix lock

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix test

* chore: fix

* feat: add test and baking proposal logic

* chore: rename ConvertingFeeAccount

* feat: add baking logic

* chore: fix lock

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* feat: update into paseo

* chore: fix

* chore: fix

* chore: fix clippy

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* bump paseo versions

* feat: add pool proposal query method

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: impl tests

* chore: fix

* chore: fix

* chore: add tests

* chore: add tests

* chore: fix

* chore: fix

* chore: fix

* chore: temp commit; precompile

* chore: fix

* chore: add tests

* chore: fmt

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* chore: fix

---------

Signed-off-by: WMQ <[email protected]>
Co-authored-by: will.li <[email protected]>
Co-authored-by: BillyWooo <[email protected]>
Co-authored-by: Faisal Ahmed <[email protected]>
Co-authored-by: Kailai Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants