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] Group SwapOps method arguments #1529

Merged
merged 18 commits into from
Nov 9, 2022
Merged

Conversation

laruh
Copy link
Member

@laruh laruh commented Nov 3, 2022

Related to issue: Group SwapOps method arguments into new types #1504
There are new three groups for send payment methods and two structures for validate_fee and check_if_my_payment_sent.
validate_fee method didn't have annotation to allow too many arguments, but already had 6 arguments except &self.

…rguments

# Conflicts:
#	mm2src/coins/qrc20.rs
#	mm2src/coins/solana.rs
#	mm2src/coins/solana/spl.rs
#	mm2src/coins/tendermint/tendermint_coin.rs
#	mm2src/coins/tendermint/tendermint_token.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
…rguments

# Conflicts:
#	mm2src/coins/tendermint/tendermint_coin.rs
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.

Awesome! The swap ops looks much better now!
Please consider my suggestions

mm2src/coins/eth.rs Outdated Show resolved Hide resolved
mm2src/coins/eth.rs Outdated Show resolved Hide resolved
mm2src/coins/eth.rs Show resolved Hide resolved
mm2src/coins/eth/eth_tests.rs Outdated Show resolved Hide resolved
mm2src/coins/lp_coins.rs Outdated Show resolved Hide resolved
mm2src/coins/tendermint/tendermint_token.rs Outdated Show resolved Hide resolved
@laruh laruh changed the title [r2r] Group wapOps method arguments [wip] Group wapOps method arguments Nov 4, 2022
@laruh laruh changed the title [wip] Group wapOps method arguments [r2r] Group wapOps method arguments Nov 4, 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.

Awesome! This is huge improvement!

@sergeyboyko0791
Copy link

@artemii235 please take a quick look, then I'll merge the PR

@laruh laruh changed the title [r2r] Group wapOps method arguments [r2r] Group SwapOps method arguments Nov 8, 2022
Copy link
Member

@artemii235 artemii235 left a comment

Choose a reason for hiding this comment

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

Great work!

@artemii235 artemii235 merged commit c30f196 into dev Nov 9, 2022
@artemii235 artemii235 deleted the group_SwapOps_method_arguments branch November 9, 2022 09:41
@laruh laruh mentioned this pull request Feb 21, 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