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

[r2r] Deactivate tokens with platform coin #1525

Merged
merged 62 commits into from
Dec 5, 2022

Conversation

borngraced
Copy link
Member

@borngraced borngraced commented Nov 1, 2022

fixes: #1493

@borngraced borngraced changed the title [wip] Deactivate tokens with platform coin [r2r] Deactivate tokens with platform coin Nov 1, 2022
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Just a few questions to start :)

mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
@borngraced borngraced assigned borngraced and unassigned borngraced Nov 2, 2022
@borngraced borngraced changed the title [r2r] Deactivate tokens with platform coin [wip] Deactivate tokens with platform coin Nov 2, 2022
@borngraced
Copy link
Member Author

@sergeyboyko0791 This is now ready for a review.
@shamardy I re implemented this feature in a more viable way so I'll need a fresh review from your side too. also added the unit test you suggested earlier!

@borngraced borngraced changed the title [wip] Deactivate tokens with platform coin [r2r] Deactivate tokens with platform coin Nov 11, 2022
…_platform_coin

# Conflicts:
#	mm2src/coins/eth.rs
#	mm2src/coins/lightning.rs
#	mm2src/coins/qrc20.rs
#	mm2src/coins/solana.rs
#	mm2src/coins/solana/spl.rs
#	mm2src/coins/tendermint/tendermint_coin.rs
#	mm2src/coins/test_coin.rs
#	mm2src/coins/utxo/bch.rs
#	mm2src/coins/utxo/qtum.rs
#	mm2src/coins/utxo/slp.rs
#	mm2src/coins/utxo/utxo_standard.rs
#	mm2src/coins/z_coin.rs
#	mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs
#	mm2src/mm2_main/tests/docker_tests/slp_tests.rs
Signed-off-by: borngraced <samuelonoja970@gmail.com>
@borngraced borngraced changed the title [wip] Deactivate tokens with platform coin [r2r] Deactivate tokens with platform coin Nov 30, 2022
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

Next review iteration

mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/coins_activation/src/lightning_activation.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/lp_ordermatch.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/lp_ordermatch.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/lp_swap.rs Outdated Show resolved Hide resolved
Signed-off-by: borngraced <samuelonoja970@gmail.com>
Signed-off-by: borngraced <samuelonoja970@gmail.com>

Signed-off-by: borngraced <samuelonoja970@gmail.com>
Signed-off-by: borngraced <samuelonoja970@gmail.com>
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

I think the last review iteration from me

mm2src/mm2_main/src/lp_ordermatch.rs Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
Signed-off-by: borngraced <samuelonoja970@gmail.com>
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Next review iteration

mm2src/coins_activation/src/l2/init_l2.rs Outdated Show resolved Hide resolved
mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/tests/mm2_tests/bch_and_slp_tests.rs Outdated Show resolved Hide resolved
Signed-off-by: borngraced <samuelonoja970@gmail.com>
@borngraced borngraced changed the title [r2r] Deactivate tokens with platform coin [wip] Deactivate tokens with platform coin Dec 4, 2022
Signed-off-by: borngraced <samuelonoja970@gmail.com>
Signed-off-by: borngraced <samuelonoja970@gmail.com>
…_platform_coin

# Conflicts:
#	mm2src/coins_activation/src/token.rs
#	mm2src/mm2_main/tests/mm2_tests/mod.rs
#	mm2src/mm2_main/tests/mm2_tests/tendermint_tests.rs
Signed-off-by: borngraced <samuelonoja970@gmail.com>

Signed-off-by: borngraced <samuelonoja970@gmail.com>
@borngraced borngraced changed the title [wip] Deactivate tokens with platform coin [r2r] Deactivate tokens with platform coin Dec 5, 2022
Signed-off-by: borngraced <samuelonoja970@gmail.com>

Signed-off-by: borngraced <samuelonoja970@gmail.com>
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

Great, almost done!
A few minor changes please :)

mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/tests/mm2_tests/eth_tests.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/tests/mm2_tests/eth_tests.rs Outdated Show resolved Hide resolved
mm2src/mm2_main/tests/mm2_tests/eth_tests.rs Outdated Show resolved Hide resolved
Signed-off-by: borngraced <samuelonoja970@gmail.com>
Signed-off-by: borngraced <samuelonoja970@gmail.com>
sergeyboyko0791
sergeyboyko0791 previously approved these changes Dec 5, 2022
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

shamardy
shamardy previously approved these changes Dec 5, 2022
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thanks for the huge work 🔥 ! A few non-blockers.

mm2src/mm2_main/src/rpc/lp_commands/lp_commands_legacy.rs Outdated Show resolved Hide resolved
mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
Signed-off-by: borngraced <samuelonoja970@gmail.com>
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Re-approve

@sergeyboyko0791 sergeyboyko0791 merged commit a6046fd into dev Dec 5, 2022
@sergeyboyko0791 sergeyboyko0791 deleted the deactivate_tokens_with_platform_coin branch December 5, 2022 16:33
@borngraced borngraced mentioned this pull request Feb 17, 2023
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