Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: add claim-extend command #1891

Merged
merged 11 commits into from
Mar 21, 2024
Merged

feat: add claim-extend command #1891

merged 11 commits into from
Mar 21, 2024

Conversation

LexLuthr
Copy link
Collaborator

@LexLuthr LexLuthr commented Mar 11, 2024

Test the following in devnet:

  • Extend all claims for a miner ID
  • Extend all claims for multiple miner IDs
  • Extend specified claims for a miner ID
  • Extend specific claims for specific miner ID
  • Extend all claims for a miner ID from different address
  • Extend all claims for multiple miner IDs from different address
  • Extend specified claims for a miner ID from different address
  • Extend specific claims for specific miner ID from different address

@LexLuthr LexLuthr requested a review from snadrus March 18, 2024 10:22
@LexLuthr
Copy link
Collaborator Author

Test with Datacap:

Before

ID  Provider  Client  Data                                                              Size     TermMin  TermMax  TermStart  Sector  
1   1000      102     baga6ea4seaqlsmme4a6x2pfvlstsoh2eyqwfxvfhudcmnf5ndiw56leqa3fiaoa  8388608  3675537  5256000  0          0       
2   1000      1009    baga6ea4seaqpfonfro6j3gcw4uxkxbivlqn2fghx5dpulc6sbi5noz7bcvzmuiq  2048     518400   5256000  13016      1

After

ID  Provider  Client  Data                                                              Size     TermMin  TermMax  TermStart  Sector  
1   1000      102     baga6ea4seaqlsmme4a6x2pfvlstsoh2eyqwfxvfhudcmnf5ndiw56leqa3fiaoa  8388608  3675537  5288893  0          0       
2   1000      1009    baga6ea4seaqpfonfro6j3gcw4uxkxbivlqn2fghx5dpulc6sbi5noz7bcvzmuiq  2048     518400   5275877  13016      1 

New TerMax is more than 5 years

@snadrus snadrus merged commit 3575da1 into main Mar 21, 2024
21 checks passed
@snadrus snadrus deleted the feat/extend-claim branch March 21, 2024 13:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants