-
Notifications
You must be signed in to change notification settings - Fork 46
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
farm position first audit fixes #772
Merged
psorinionut
merged 28 commits into
farm-position-functionality
from
farm-position-fixes
Sep 29, 2023
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
4b4e0b7
farm position first audit fixes
psorinionut c044821
metastaking refactor
psorinionut 16576f1
readded claim progress check
psorinionut 3fc935a
clippy fixes
psorinionut be142a3
dedicated migration function for old positions
psorinionut a77b760
remove caller check in migrate old position func
psorinionut 3fe300e
remove exit amount parameter from farms
psorinionut 37c9ebc
clippy fix
psorinionut 9859e47
tests fixes
psorinionut d9fd841
remove metastaking ProxyMergePosModule
psorinionut 65930ce
send rewards to user in claim_boosted_rewards
psorinionut ee6644c
claim boosted in merge endpoints
psorinionut 1e9ec92
clippy and test fix
psorinionut bbff637
audit fixes (2)
psorinionut c609e42
Merge pull request #774 from multiversx/claim-boosted-in-merge-endpoints
psorinionut 8ac9c19
Merge pull request #773 from multiversx/remove-exit-amount-parameter
psorinionut 4303c0c
default migration nonce fix
psorinionut 767f452
use GetCurrentESDTNFTNonce VM endpoint
psorinionut 8100d57
try_set_farm_position_migration_nonce: code dup
CostinCarabas aba2e4e
fix farm_position_migration_nonce set function
psorinionut 1d92432
Merge pull request #775 from multiversx/farm-position-audit-fixes-2
psorinionut 494b301
farm position functionality tests
psorinionut 772779a
allow_external_claim_rewards_setting extra check
psorinionut d790945
total_farm_position_claim_for_other extra check
psorinionut 0ee2b42
farm position tests updates
psorinionut 4262fa1
farm staking full position claim test
psorinionut a6e3e00
Merge pull request #776 from multiversx/farm-position-tests
sasurobert 36be963
clippy fix
psorinionut File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 need a new bool here: migrated. And to keep that even if total_farm_position gets to 0 again. Or to not delete claimProgressWeek from user.