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

Feature: EFM Recovery, Protocol HCU (core-contracts) #465

Open
wants to merge 174 commits into
base: master
Choose a base branch
from

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    c97e2f0 View commit details
    Browse the repository at this point in the history
  2. Update to newest Stable Cadence Preview (#371)

    * update to view functions for stable cadence
    
    * remove unreachable code
    
    * update templates to Stable Cadence
    
    * update to Stable Cadence preview 4
    
    * update for stable cadence
    
    * fix parse error
    
    ---------
    
    Co-authored-by: Josh Hannan <[email protected]>
    Co-authored-by: Bastian Müller <[email protected]>
    3 people authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    e39f87c View commit details
    Browse the repository at this point in the history
  3. remove casting and fix conflicts

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    309e602 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    08c37b8 View commit details
    Browse the repository at this point in the history
  5. use v2 ft and nft

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    345c81b View commit details
    Browse the repository at this point in the history
  6. use string for nft import

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    2de1c22 View commit details
    Browse the repository at this point in the history
  7. update token deps

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d70590b View commit details
    Browse the repository at this point in the history
  8. update token deps

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    861a1c4 View commit details
    Browse the repository at this point in the history
  9. update nft dependecy

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6c7e2e5 View commit details
    Browse the repository at this point in the history
  10. update nft dep

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9005af3 View commit details
    Browse the repository at this point in the history
  11. update ft dep

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    34953f6 View commit details
    Browse the repository at this point in the history
  12. add more view

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6044078 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bcdf82c View commit details
    Browse the repository at this point in the history
  14. implement new standard methods

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    b1cdfb9 View commit details
    Browse the repository at this point in the history
  15. update nft dependency

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5c9dbc1 View commit details
    Browse the repository at this point in the history
  16. update ft dep

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    b8f0e9e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    15d02eb View commit details
    Browse the repository at this point in the history
  18. remove view from copy

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    46b6929 View commit details
    Browse the repository at this point in the history
  19. add correct vault type

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    a9f8e5f View commit details
    Browse the repository at this point in the history
  20. remove views and update balances

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    492674f View commit details
    Browse the repository at this point in the history
  21. use vault interface type

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    971b709 View commit details
    Browse the repository at this point in the history
  22. remove restricted types

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    f1f8764 View commit details
    Browse the repository at this point in the history
  23. remove AnyStruct

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3e8c398 View commit details
    Browse the repository at this point in the history
  24. remove type restrictions

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9fd65f4 View commit details
    Browse the repository at this point in the history
  25. fix view modifiers in epoch contracts

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    b977889 View commit details
    Browse the repository at this point in the history
  26. use setter methods in QC

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    f16eaec View commit details
    Browse the repository at this point in the history
  27. remove pub from QC

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    70bc6fd View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    57ec160 View commit details
    Browse the repository at this point in the history
  29. use setters in FlowEpoch

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    692c1cf View commit details
    Browse the repository at this point in the history
  30. correct metadata types

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    47187b3 View commit details
    Browse the repository at this point in the history
  31. use UInt64 in NodeVersionBeacon

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    1fc8536 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    02c1131 View commit details
    Browse the repository at this point in the history
  33. fixes to epoch tests

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    f2fe0ac View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    da1b7b5 View commit details
    Browse the repository at this point in the history
  35. Update contracts

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c7e0170 View commit details
    Browse the repository at this point in the history
  36. Update more contracts

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    722ec7b View commit details
    Browse the repository at this point in the history
  37. Update contracts

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9564e5d View commit details
    Browse the repository at this point in the history
  38. Update contarcts and transactions

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    81aa739 View commit details
    Browse the repository at this point in the history
  39. go mod tidy

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    4c50f6c View commit details
    Browse the repository at this point in the history
  40. Update flow-sdk

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d052c5c View commit details
    Browse the repository at this point in the history
  41. Update more contracts

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    bf077d0 View commit details
    Browse the repository at this point in the history
  42. Update ft/nft deps

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    fb8fc84 View commit details
    Browse the repository at this point in the history
  43. Generate assets

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    2334795 View commit details
    Browse the repository at this point in the history
  44. Update more cadence codes

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    82a613c View commit details
    Browse the repository at this point in the history
  45. Fix typo

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6401295 View commit details
    Browse the repository at this point in the history
  46. Replace get()+borrow() with borrow()

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    370407f View commit details
    Browse the repository at this point in the history
  47. Refactor code

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6a99037 View commit details
    Browse the repository at this point in the history
  48. Update go-sdk and flow-nft versions

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    fd33ce2 View commit details
    Browse the repository at this point in the history
  49. Fix publish_voter transaction

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    1cf8b4c View commit details
    Browse the repository at this point in the history
  50. Update to Cadence v1.0.0-preview.1

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    0aef25b View commit details
    Browse the repository at this point in the history
  51. Apply suggestions from code review

    Co-authored-by: Bastian Müller <[email protected]>
    2 people authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    448d648 View commit details
    Browse the repository at this point in the history
  52. Refactor code

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d49fd04 View commit details
    Browse the repository at this point in the history
  53. fix and improve syntax

    turbolent authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    ce228e8 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    3b4c47c View commit details
    Browse the repository at this point in the history
  55. Update get_total_balance.cdc

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    19a5688 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    b373ce8 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    298f47d View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    20e6057 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    99ff402 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    761f879 View commit details
    Browse the repository at this point in the history
  61. make ci

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3f33ef0 View commit details
    Browse the repository at this point in the history
  62. make ci

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6edd0e3 View commit details
    Browse the repository at this point in the history
  63. update cli version for CI

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    40e8ef0 View commit details
    Browse the repository at this point in the history
  64. update go version

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c4d2acb View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    8094b24 View commit details
    Browse the repository at this point in the history
  66. Update Cadence version (#406)

    SupunS authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    0c5bccb View commit details
    Browse the repository at this point in the history
  67. update createEmpty in staking

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6430730 View commit details
    Browse the repository at this point in the history
  68. use Burner and update dependencies

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    1376f64 View commit details
    Browse the repository at this point in the history
  69. update to SDK v1.0.0-M1

    turbolent authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c4cacb0 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    b0d86ba View commit details
    Browse the repository at this point in the history
  71. update to Cadence v1.0.0-M3

    turbolent authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    762d6d2 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    ad07d0e View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    04dae1a View commit details
    Browse the repository at this point in the history
  74. update ft and nft deps

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    61d01ea View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    9974772 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    639f419 View commit details
    Browse the repository at this point in the history
  77. use correct public path types

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5c18b63 View commit details
    Browse the repository at this point in the history
  78. update imports

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    23e5224 View commit details
    Browse the repository at this point in the history
  79. go mod tidy

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9f926bf View commit details
    Browse the repository at this point in the history
  80. add fungible token switchboard

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d795124 View commit details
    Browse the repository at this point in the history
  81. fix switchboard

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d9617df View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    006447b View commit details
    Browse the repository at this point in the history
  83. add updated manifests with new account, FT, and NFT transactions and …

    …removed locked token staking txs
    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    47f3354 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    b56d319 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    1533936 View commit details
    Browse the repository at this point in the history
  86. use string args for NFT contracts

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    96d94e2 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    59a36e0 View commit details
    Browse the repository at this point in the history
  88. Update contract getter methods to use env (#410)

    * update import addresses to better format and use env
    
    * update deps
    
    * update go mod
    
    * re-add lockedaccountinfo
    
    * update ft and nft dependencies
    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    426ec6e View commit details
    Browse the repository at this point in the history
  89. get address replacement working in tests and add event emission restr…

    …ictions for FlowToken
    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    594be1e View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    9fab58a View commit details
    Browse the repository at this point in the history
  91. Update README

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    aecc7fb View commit details
    Browse the repository at this point in the history
  92. Don't copy dictionary in getEpochMetadata (#413)

    * Don't copy dictionary in getEpochMetadata
    janezpodhostnik authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5c41345 View commit details
    Browse the repository at this point in the history
  93. update NFT contracts

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    12c392c View commit details
    Browse the repository at this point in the history
  94. update ft dependency

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    26f74bc View commit details
    Browse the repository at this point in the history
  95. update token standard dependencies

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    e100822 View commit details
    Browse the repository at this point in the history
  96. make ci

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    02924cc View commit details
    Browse the repository at this point in the history
  97. fix algorithm typo and test names

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c53fc79 View commit details
    Browse the repository at this point in the history
  98. update nft transactions

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9eaaa39 View commit details
    Browse the repository at this point in the history
  99. update FlowEpoch contract

    - add epoch recover event and struct
    - store recovery epoch metadata in storage, emit event in heartbeat
    - add ClusterQCVoteData struct to FlowClusterQC contract
    - add recover epoch transaction
    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    7abc82a View commit details
    Browse the repository at this point in the history
  100. generate assets

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    7fe14e1 View commit details
    Browse the repository at this point in the history
  101. happy path tests

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5791ea4 View commit details
    Browse the repository at this point in the history
  102. Update flow_epoch_test.go

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    4fa05d5 View commit details
    Browse the repository at this point in the history
  103. upgrade changes to be compliant with cadence 1.0

    - add service event verification to tests
    - update test helpers
    - add node weight sanity check
    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    c256d3c View commit details
    Browse the repository at this point in the history
  104. generate assets

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    11e2b2d View commit details
    Browse the repository at this point in the history
  105. happy path tests

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    836e726 View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    cb277e5 View commit details
    Browse the repository at this point in the history
  107. cant use timing config in epoch recover

    - target duration and end time must be provided in governance transaction
    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    500fb52 View commit details
    Browse the repository at this point in the history
  108. add epoch counter comment

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    4fbd4aa View commit details
    Browse the repository at this point in the history
  109. Configuration menu
    Copy the full SHA
    ad2df49 View commit details
    Browse the repository at this point in the history
  110. Update FlowEpoch.cdc

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    505a371 View commit details
    Browse the repository at this point in the history
  111. Update contracts/epochs/FlowEpoch.cdc

    Co-authored-by: Alexander Hentschel <[email protected]>
    kc1116 and AlexHentschel committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    f2818d8 View commit details
    Browse the repository at this point in the history
  112. Update contracts/epochs/FlowEpoch.cdc

    Co-authored-by: Alexander Hentschel <[email protected]>
    kc1116 and AlexHentschel committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5e2f861 View commit details
    Browse the repository at this point in the history
  113. update assets

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    dfd8e2f View commit details
    Browse the repository at this point in the history
  114. Apply suggestions from code review

    Co-authored-by: Jordan Schalm <[email protected]>
    Co-authored-by: Bastian Müller <[email protected]>
    3 people committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5d5fb6e View commit details
    Browse the repository at this point in the history
  115. reuse old var names

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5b92b6e View commit details
    Browse the repository at this point in the history
  116. remove RecoverEpochMetadata

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    6a2bdb5 View commit details
    Browse the repository at this point in the history
  117. use named parameters

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    caa0040 View commit details
    Browse the repository at this point in the history
  118. Configuration menu
    Copy the full SHA
    a667862 View commit details
    Browse the repository at this point in the history
  119. generate assets

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    97baba8 View commit details
    Browse the repository at this point in the history
  120. use common.AddressLocation

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    926626a View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    8ae7e38 View commit details
    Browse the repository at this point in the history
  122. - dont generate a new random source when overwriting the epoch metadata

    - generate random source in contract - update qcVoterData to match protocol struct - fix tests
    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3ce24c2 View commit details
    Browse the repository at this point in the history
  123. fix typos in transactions

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    548f22f View commit details
    Browse the repository at this point in the history
  124. update nft dependencies

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    66a7ba9 View commit details
    Browse the repository at this point in the history
  125. Add entitlement for locked account creator (#423)

    * update deps, add entitlement for locked account creator
    
    * make ci
    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    ac40215 View commit details
    Browse the repository at this point in the history
  126. update ft dependencies

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    677b20d View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    d289b84 View commit details
    Browse the repository at this point in the history
  128. update dependencies

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    fed5e86 View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    46a4cac View commit details
    Browse the repository at this point in the history
  130. remove UseTokens entitlement

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    81b3d68 View commit details
    Browse the repository at this point in the history
  131. use view more and update nft deps

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    0f711ea View commit details
    Browse the repository at this point in the history
  132. make ci

    joshuahannan authored and kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    99b721f View commit details
    Browse the repository at this point in the history
  133. merge master

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    63df092 View commit details
    Browse the repository at this point in the history
  134. update assets

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    b912dae View commit details
    Browse the repository at this point in the history
  135. merge master

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    20115f7 View commit details
    Browse the repository at this point in the history
  136. update changes from master

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    4d826d5 View commit details
    Browse the repository at this point in the history
  137. update changes from master

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    59905bb View commit details
    Browse the repository at this point in the history
  138. Configuration menu
    Copy the full SHA
    f893516 View commit details
    Browse the repository at this point in the history
  139. fix whitespace

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    52f8c36 View commit details
    Browse the repository at this point in the history
  140. Update ci.yml

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3e09ba0 View commit details
    Browse the repository at this point in the history
  141. update assets

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3da8cf5 View commit details
    Browse the repository at this point in the history
  142. update test helpers

    kc1116 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    967aae8 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2024

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

Commits on Jul 10, 2024

  1. use aggregatedSignature

    kc1116 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    d8135eb View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Update contracts/epochs/FlowClusterQC.cdc

    Co-authored-by: Jordan Schalm <[email protected]>
    kc1116 and jordanschalm authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c15443c View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Jordan Schalm <[email protected]>
    kc1116 and jordanschalm authored Jul 22, 2024
    Configuration menu
    Copy the full SHA
    71ef9e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Sync feature/efm-recovery with master (#437)

    * Remove feature branch
    
    * Add a new script that checks if payer has balance to pay for tx (#435)
    
    * Add a new script that checks if payer has balance to pay for tx
    
    * Rewrite check_if_payer_has_sufficient_balance to return struct
    
    * Update contract to cadence 1
    
    * create custom minted account
    
    * payer executes tx and pays for it
    
    * fix tx signers
    
    * refactor test
    
    ---------
    
    Co-authored-by: Chase Fleming <[email protected]>
    Co-authored-by: Illia <[email protected]>
    3 people authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    be37706 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    118967a View commit details
    Browse the repository at this point in the history
  3. make generate

    jordanschalm committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    6d88321 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Configuration menu
    Copy the full SHA
    768787d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a4524c View commit details
    Browse the repository at this point in the history
  3. tidy

    jordanschalm committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    5aafe7f View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. document TestEpochRecover

    kc1116 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    66fa3f4 View commit details
    Browse the repository at this point in the history
  2. remove unused dkg qc txs

    kc1116 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    61f07b6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a78b7d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    614f489 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8b5087d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1e41ecf View commit details
    Browse the repository at this point in the history
  7. Update contracts/epochs/FlowEpoch.cdc

    Co-authored-by: Jordan Schalm <[email protected]>
    kc1116 and jordanschalm authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    ec8c94d View commit details
    Browse the repository at this point in the history
  8. Update contracts/epochs/FlowEpoch.cdc

    Co-authored-by: Jordan Schalm <[email protected]>
    kc1116 and jordanschalm authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    88d6cda View commit details
    Browse the repository at this point in the history
  9. add new line

    kc1116 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    19a3795 View commit details
    Browse the repository at this point in the history
  10. Update flow_epoch_test.go

    kc1116 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    d342f4e View commit details
    Browse the repository at this point in the history
  11. Merge branch 'khalil/5639-epoch-recovery-transaction' of github.com:o…

    …nflow/flow-core-contracts into khalil/5639-epoch-recovery-transaction
    kc1116 committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    d332997 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    802d828 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1f63515 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #420 from onflow/khalil/5639-epoch-recovery-transa…

    …ction
    
    EpochRecover service event and transaction
    kc1116 authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    3118243 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    5ac5c9b View commit details
    Browse the repository at this point in the history
  2. Merge pull request #438 from onflow/revert-420-khalil/5639-epoch-reco…

    …very-transaction
    
    Revert "EpochRecover service event and transaction"
    kc1116 authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    29583d4 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

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

Commits on Oct 15, 2024

  1. Add node ID to index mapping to DKG data model (#441)

    * define ResultSubmission struct
    
    * annotate required changes
    
    * setup test framework
    
    * add preliminary new fields to EpochCommit
    
    * add submission tracker sketch
    
    * ResultSubmission tests
    
    * ResultSubmission docs
    
    * addSubmission method
    
    * add tx todos
    
    * add init test, validation on ResultSubmission init
    
    * test comments
    
    * basic SubmissionTracker tests
    
    * update other contract methods to use SubmissionTracker
    
    * add dummy values for EpochCommit event
    
    * add docs
    
    * add exceedsThreshold test
    
    * update FlowEpoch to compile
    
    * update transactions
    
    * improve representation for "empty submissions"
    
    * add test for empty submission
    
    * test empty submission exceeds threshold
    
    * fix go test: send submission
    
    * wip
    
    * remove '
    
    * incredibly, the tests are passing
    
    * note where tests still need updating
    
    * consistent terminology: empty submission
    
    * resolve some todos
    
    - make funs view
    - improve docs
    - remove commented-out code
    
    * fix empty submission dkg tests
    
    * fix epoch tests
    
    * rename publish admin script
    
    was called "publish participant" but was actually publishing admin
    
    * store as much as possible in EpochMetadata
    
    * build static files
    
    * make more functions view
    
    * fix test
    
    * rename isValidNilSubmission
    
    since it is specifically enforcing the named Invariant (1), and checking
    both empty and non-empty submissions.
    
    * update error messages
    
    * go generate
    
    * Apply suggestions from code review
    
    Co-authored-by: Tarak Ben Youssef <[email protected]>
    Co-authored-by: Joshua Hannan <[email protected]>
    
    * 2nd pass over error messages
    
    * fix empty whiteboard message test
    
    * improve post whiteboard message test
    
    * rm dupe test
    
    * address remaining todos in tests
    
    * add preconditions for dkg enabled
    
    * fix message, generate
    
    * add documentation for test helper functions
    
    ---------
    
    Co-authored-by: Tarak Ben Youssef <[email protected]>
    Co-authored-by: Joshua Hannan <[email protected]>
    3 people authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2533ece View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8595395 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. EFM Recovery Service Event and Transaction (#440)

    * efm recovery transaction
    
    * use provided recovery epoch counter as the source of truth
    
    * add proper line indentation
    
    * update assets
    
    * define ResultSubmission struct
    
    * annotate required changes
    
    * setup test framework
    
    * add preliminary new fields to EpochCommit
    
    * add submission tracker sketch
    
    * Apply suggestions from code review
    
    Co-authored-by: Alexander Hentschel <[email protected]>
    Co-authored-by: Jordan Schalm <[email protected]>
    
    * Apply suggestions from code review
    
    Co-authored-by: Jordan Schalm <[email protected]>
    Co-authored-by: Alexander Hentschel <[email protected]>
    
    * adjust recover transaction logic
    
    * move recoverEpochPreChecks call to emitEpochRecoverEvent
    
    * fix broken sentence
    
    * add comment describing unsafeAllowOverwrite
    
    * use previous syntax for randomSource generation
    
    * replace usage of numViewsInStakingAuction and numViewsInDKGPhase
    
    - replace numViewsInStakingAuction with stakingEndView - startView
    - don't accept numViewsInDKGPhase as a parameter read it from configurable epoch metadata
    
    * add godoc for convertClusterQcsCdc
    
    * add additional test cases
    
    * ResultSubmission tests
    
    * ResultSubmission docs
    
    * addSubmission method
    
    * add tx todos
    
    * add init test, validation on ResultSubmission init
    
    * test comments
    
    * basic SubmissionTracker tests
    
    * update other contract methods to use SubmissionTracker
    
    * add dummy values for EpochCommit event
    
    * add docs
    
    * add exceedsThreshold test
    
    * update FlowEpoch to compile
    
    * update transactions
    
    * improve representation for "empty submissions"
    
    * add test for empty submission
    
    * test empty submission exceeds threshold
    
    * fix go test: send submission
    
    * wip
    
    * remove '
    
    * incredibly, the tests are passing
    
    * note where tests still need updating
    
    * consistent terminology: empty submission
    
    * resolve some todos
    
    - make funs view
    - improve docs
    - remove commented-out code
    
    * fix empty submission dkg tests
    
    * fix epoch tests
    
    * rename publish admin script
    
    was called "publish participant" but was actually publishing admin
    
    * store as much as possible in EpochMetadata
    
    * build static files
    
    * make more functions view
    
    * fix test
    
    * add dkgIdMapping
    
    * rename isValidNilSubmission
    
    since it is specifically enforcing the named Invariant (1), and checking
    both empty and non-empty submissions.
    
    * Updated epoch recovery tx to accept dkg group key as well as emitting correct EpochRecover service event
    
    * update error messages
    
    * go generate
    
    * Apply suggestions from code review
    
    Co-authored-by: Tarak Ben Youssef <[email protected]>
    Co-authored-by: Joshua Hannan <[email protected]>
    
    * 2nd pass over error messages
    
    * fix empty whiteboard message test
    
    * improve post whiteboard message test
    
    * rm dupe test
    
    * address remaining todos in tests
    
    * fix whitespace
    
    * Apply suggestions from code review
    
    * Update contracts/epochs/FlowDKG.cdc
    
    * random source generatation doc/postconditions
    
    * recovery function docs
    
    * recoverCurrentEpoch precondition
    
    * recovery methods internal documentation
    
    * add todos
    
    * ClusterQCVoteData docs
    
    * recover_epoch tx comments
    
    * remove duplicated LN vote tag
    
    * add todos
    
    * make generate
    
    * tweak godocs
    
    * fixing and annotating tests
    
    * all existing epoch recovery tests passing
    
    * refactor happy path validation check test
    
    * rm duplicate tests
    
    * refactor overwrite validation tests
    
    * clean up verifyEpochTotalRewardsPaid
    
    * fix extra / in comments
    
    * refactor success efm recovery tests
    
    * rename and document rewards test case
    
    * Apply suggestions from code review
    
    Co-authored-by: Joshua Hannan <[email protected]>
    
    * use stopEpochComponents
    
    remove dupe code fragment
    
    * comments
    
    * validate epoch counter and phase in tests
    
    * recoverCurrentEpoch: always start in stakign phase
    
    * make generate
    
    * totalRewards todos
    
    * pass over remaining todos
    
    * make generate
    
    * update test
    
    ---------
    
    Co-authored-by: Jordan Schalm <[email protected]>
    Co-authored-by: Alexander Hentschel <[email protected]>
    Co-authored-by: Yurii Oleksyshyn <[email protected]>
    Co-authored-by: Tarak Ben Youssef <[email protected]>
    Co-authored-by: Joshua Hannan <[email protected]>
    6 people authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    872ffe7 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

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

Commits on Oct 29, 2024

  1. Add ProtocolStateVersionUpgrade service event (#464)

    * add service event definition and doc
    
    * move service event to version beacon
    
    * add heartbeat/admin process for proto state version
    
    accepting broken assets.go, will regenerate after cherry-pick is
    complete
    
    * add smoketest for setting protostate version
    
    broken assets.go
    
    * Apply suggestions from code review
    
    * generate
    
    broken assets.go
    
    * update contract for cadence1
    
    * update admin tx for cadence 1
    
    * generate
    
    * emit service event in governance transaction
    
    Previously service events could only be emitted in the system chunk.
    With onflow/flow-go#5828, we can directly emit
    them in governance transactions.
    
    * re-generate assets
    
    * fix field reflection
    
    * add context for where validation occurs and multiple emissions
    
    * make generate
    jordanschalm authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    807cf69 View commit details
    Browse the repository at this point in the history