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

Allow parachain to renew lease without actually run another parachain #720

Closed
xlc opened this issue Feb 8, 2023 · 6 comments
Closed

Allow parachain to renew lease without actually run another parachain #720

xlc opened this issue Feb 8, 2023 · 6 comments

Comments

@xlc
Copy link
Contributor

xlc commented Feb 8, 2023

One way to renew lease of a parachain is by perform lease swap with another parachain with an active lease. Many parachain teams are using this strategy to bid parachain slots before lease ends to secure future leases.

However, to in order to swap lease, it requires a XCM from both parachain to call swap. This means parachain team will have to build, run, and operate one more parachain just to renew the lease.

IMO this is unnecessary work for everyone. The parachain owner should be able to call swap without actually run the parachain.

@Tomen
Copy link

Tomen commented Feb 8, 2023

related to paritytech/polkadot#6592

@Tomen
Copy link

Tomen commented Feb 10, 2023

As far as I understand, this issue only applies to crowd loans as a means to extend slots. The main issue for this is #877

Self-bidding on auctions is possible without the mentioned problem.

@xlc
Copy link
Contributor Author

xlc commented Feb 11, 2023

We have self-bidding para and have exactly this issue.

@SBalaguer
Copy link
Contributor

There are two things clashing here:

  • If you opened a crowdloan to win a slot and you wish to open a new crowdloan with the same paraID to extend your lease without the original slot ending (which will always be the case, as the crowdloan dissolves once your slot ends), then you can't do it. This is what happened to Mangata.
  • If you win a slot (self-bid or crowdloan) that has overlapping LPs with your current slot, you will need to register a new parachain and swap. This is currently Karura's issue. A possible solution for this is instead of bidding for all LPs on an auction, bid for those that are not overlapping yours with your current paraID. This could only be achieved with self-bidding, as if not it will be the same issue as explained on the previous point.

@kianenigma
Copy link
Contributor

related: #877

@Sophia-Gold Sophia-Gold transferred this issue from paritytech/polkadot Aug 24, 2023
@xlc
Copy link
Contributor Author

xlc commented Oct 27, 2023

closed by #1290

@xlc xlc closed this as completed Oct 27, 2023
claravanstaden pushed a commit to Snowfork/polkadot-sdk that referenced this issue Dec 8, 2023
* Update parachain test commands

* Shorten pnpm commands

* Whitespace

* Remove unused imports & constants

* Use struct shorthand

* Simplify benchmark commands

* Enable linting for api

* Include ts scripts in test package

* Install missing dependencies for test scripts

* Ignore XCM transfer script & remove types package
helin6 pushed a commit to boolnetwork/polkadot-sdk that referenced this issue Feb 5, 2024
* primitives: unify Cargo.toml format

Signed-off-by: koushiro <[email protected]>

* frame: unify Cargo.toml format

Signed-off-by: koushiro <[email protected]>

* client: unify Cargo.toml format

Signed-off-by: koushiro <[email protected]>

* template: unify Cargo.toml format

Signed-off-by: koushiro <[email protected]>

* Use evm 01bcbd2205a212c34451d3b4fabc962793b057d3

Signed-off-by: koushiro <[email protected]>

* Add taplo.toml config for checking Cargo.toml format

Signed-off-by: koushiro <[email protected]>
bkchr pushed a commit that referenced this issue Apr 10, 2024
* Add simple rate limiting mechanism

* Add tests

* Small test cleanup

* Hook MaxRequests into runtimes
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

No branches or pull requests

4 participants