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

Latest cleanings pre audit #1974

Merged
merged 12 commits into from
Aug 18, 2024
Merged

Latest cleanings pre audit #1974

merged 12 commits into from
Aug 18, 2024

Conversation

lemunozm
Copy link
Contributor

@lemunozm lemunozm commented Aug 17, 2024

Description

PR with some cleanings to be merged just before the audit, after:

  1. lp-gateway: Add extrinsics for initiating and disputing message recovery #1970
  2. feat: LP V2 message forwarding #1971

Changes:

  • pallet-liquidity-pools-queue moved to pallets/
  • extract trait queue methods from traits/liquidity_pools.rs (they are generic enough)
  • renamed to pallet-queue or pallet-idle-queue
  • Fix docs
  • RuntimeEnv with support for idle events
  • queue ITs now do not need to use fudge.
  • cases/liquidity_pools.rs renamed to cases/foreign_investments.rs
  • extract domain from router ID - discussion
  • change message recovery arg type - discussion

@lemunozm lemunozm requested review from cdamian and wischli August 17, 2024 09:07
@lemunozm lemunozm self-assigned this Aug 17, 2024
@lemunozm lemunozm force-pushed the cleanings-pre-audit branch from d902431 to bfe3777 Compare August 17, 2024 10:06
@@ -235,7 +235,7 @@ pallet-investments = { path = "pallets/investments", default-features = false }
pallet-keystore = { path = "pallets/keystore", default-features = false }
pallet-liquidity-pools = { path = "pallets/liquidity-pools", default-features = false }
pallet-liquidity-pools-gateway = { path = "pallets/liquidity-pools-gateway", default-features = false }
pallet-liquidity-pools-gateway-queue = { path = "pallets/liquidity-pools-gateway/queue", default-features = false }
pallet-liquidity-pools-gateway-queue = { path = "pallets/liquidity-pools-gateway-queue", default-features = false }
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can leave this name as it is.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But then it would look weird if the pallet is being used for another kind of queues...

Copy link
Contributor

Choose a reason for hiding this comment

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

That's a problem for future-us :D Plus, I think that eventually we'll drop it and use Tasks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not convinced by the name, but I will leave it as it

@lemunozm lemunozm marked this pull request as ready for review August 18, 2024 07:31
@lemunozm lemunozm force-pushed the cleanings-pre-audit branch from 4644783 to 1101a64 Compare August 18, 2024 07:33
@lemunozm
Copy link
Contributor Author

If passes CI, that it should, we can merge it

cdamian
cdamian previously approved these changes Aug 18, 2024
@lemunozm
Copy link
Contributor Author

I've moved some utility into axelar to be audited as part of the pallet: cd7c3d0

Copy link
Contributor

@wischli wischli left a comment

Choose a reason for hiding this comment

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

Thanks so much for yet another cleanup!

@lemunozm lemunozm enabled auto-merge (squash) August 18, 2024 16:01
@lemunozm lemunozm merged commit f1af973 into main Aug 18, 2024
9 of 10 checks passed
@lemunozm lemunozm deleted the cleanings-pre-audit branch August 18, 2024 16:46
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.

3 participants