-
Notifications
You must be signed in to change notification settings - Fork 43
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
refactor: remove raiden support #1824
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂 🥳 👍
@@ -1,7 +1,6 @@ | |||
/** An enumeration of payment channel network clients that support token swaps. */ | |||
export enum SwapClientType { | |||
Lnd, | |||
Raiden, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this breaks existing xud environments since in the database it's 0, 1, 2, and now 0, 1?
@@ -1,3 +1,3 @@ | |||
// Jest Snapshot v1, https://goo.gl/fbAQLP | |||
|
|||
exports[`NodeKey it should derive a child seed from private key 1`] = `"crouch cause bicycle tomato choice city produce ocean canyon rare laugh sudden close angle cage item special jeans either heavy skill bracket lift butter"`; | |||
exports[`NodeKey it should derive a child seed from private key 1`] = `"chat toward myself element estate miracle merit pudding next net process idle mobile hawk transfer chimney border gate patient artefact square strike worth already"`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious why this snapshot update is necessary? Maybe I'm missing something, but there are no changes to NodeKey.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use the name of the swap client in the entropy used to generate the child seed, so it makes sense that this is changing because it's going from raiden to connext.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, right. It's because the enum changed. Thanks for clearing this up.
Let's leave this one open until @raladev is back for manual testing |
b7ac898
to
5e7b577
Compare
One minor nit. I'm not sure if |
Good point, it should get the BREAKING CHANGE label (which will show up in release notes). |
5e7b577
to
13b1c1d
Compare
@sangaman could you please rebase this so that it's testable via xud-docker setup (the contract address for USDT changed and it will cause infinite requests to the faucet if running the old version). |
Closes #1516. BREAKING CHANGE: removes raiden support & p2p packet fields
13b1c1d
to
4a5e18f
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was a bit complicated to test because of the breaking changes on p2p layer, but looking good. Tested new environment and upgrading an existing environment with this branch.
Closes #1516.
BREAKING CHANGE: removes raiden support & p2p packet fields