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

refactor!: refactor order / metadata / reward calculate #24

Closed
wants to merge 43 commits into from

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    7a33518 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Configuration menu
    Copy the full SHA
    43f916a View commit details
    Browse the repository at this point in the history
  2. remove reset_store

    SterlynLee committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    1a70ff1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b957a8c View commit details
    Browse the repository at this point in the history
  4. Merge branch 'matt/refund-expired-order' of github.com:SaoNetwork/sao…

    …-consensus into dev_phase2
    SterlynLee committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    b6137a1 View commit details
    Browse the repository at this point in the history
  5. order settlement

    SterlynLee committed Feb 24, 2023
    Configuration menu
    Copy the full SHA
    1b9dab8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7a6660c View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2023

  1. orderFinish issue

    SterlynLee committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    5503f29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a3588d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ea73a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5ecdcb2 View commit details
    Browse the repository at this point in the history
  5. fix abic issue

    SterlynLee committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3cfc2e1 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. recorrect file name

    SterlynLee committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    40829df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa04e9c View commit details
    Browse the repository at this point in the history
  3. worker claim

    SterlynLee committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    7780e6b View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    054df24 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. fix expired order issue

    SterlynLee committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    0e38212 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    46cbdf4 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. refactor

    SterlynLee committed Mar 7, 2023
    Configuration menu
    Copy the full SHA
    a37df5f View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. refund complete order gas

    SterlynLee committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    736f904 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5774f05 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Configuration menu
    Copy the full SHA
    a2e2694 View commit details
    Browse the repository at this point in the history
  2. fix update meta

    SterlynLee committed Mar 10, 2023
    Configuration menu
    Copy the full SHA
    469083f View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. renew duration issue

    SterlynLee committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    6187840 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. revert refund gas

    SterlynLee committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    f114587 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Configuration menu
    Copy the full SHA
    937a502 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Configuration menu
    Copy the full SHA
    b89b6dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    043418d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Configuration menu
    Copy the full SHA
    903b90a View commit details
    Browse the repository at this point in the history
  2. fix

    SterlynLee committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    bf92b85 View commit details
    Browse the repository at this point in the history
  3. order status issue

    SterlynLee committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    878bb0f View commit details
    Browse the repository at this point in the history
  4. add order finish event

    SterlynLee committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    1f8c41d View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. fix key did generate

    SterlynLee committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    25ecd48 View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. Configuration menu
    Copy the full SHA
    927511c View commit details
    Browse the repository at this point in the history
  2. cleanup

    SterlynLee committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    4c6cea3 View commit details
    Browse the repository at this point in the history
  3. duration issue

    SterlynLee committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    58a08ed View commit details
    Browse the repository at this point in the history
  4. order expire issue

    SterlynLee committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    415ac5f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c43df73 View commit details
    Browse the repository at this point in the history
  6. fix ut

    SterlynLee committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    decb83a View commit details
    Browse the repository at this point in the history
  7. fix compile error

    SterlynLee committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    cc13ad9 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2023

  1. Configuration menu
    Copy the full SHA
    17e87ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf227ea View commit details
    Browse the repository at this point in the history
  3. refactor: refactor order / reward / metadata

    this is a change log commit to record code change below
    1. use block height to calculate reward
    2. remove reset-store
    3. add OrderFinish to handle reward settlement upon order completion
    4. to remove order instead of set finish/cancel/terminate/expire status
    5. add ignore list in random sp
    6. refund completed shard pledge if order is canceled/expired
    7. worker migrate
    8. fix pledge/worker reward calculate
    9. add worker claim in claim reward
    10. add reward debug log
    11. add expire order in end blocker
    12. remove order status constants in sao module
    13. add migrate status to avoid user to cancel migrating order
    14. refator updateMeta
    15. restrict renew duration
    16. move order expire to model module
    17. move new meta to MsgStore
    18. refactor metadata
    SterlynLee committed Mar 22, 2023
    Configuration menu
    Copy the full SHA
    63fcae2 View commit details
    Browse the repository at this point in the history