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

Identity Provider #1133

Merged
merged 74 commits into from
Sep 2, 2021
Merged

Identity Provider #1133

merged 74 commits into from
Sep 2, 2021

Commits on Sep 2, 2021

  1. initial

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    0cf3120 View commit details
    Browse the repository at this point in the history
  2. Update idTranslator.go

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    c007c2f View commit details
    Browse the repository at this point in the history
  3. add dht peer lookup

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    35d147d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01cb071 View commit details
    Browse the repository at this point in the history
  5. undo topology changes

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    7394577 View commit details
    Browse the repository at this point in the history
  6. add custom id translator

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    6225d16 View commit details
    Browse the repository at this point in the history
  7. validate ID translation

    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    e8f704e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    afb9b9a View commit details
    Browse the repository at this point in the history
  9. TODOs

    update mocks, fix a test
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    880a17d View commit details
    Browse the repository at this point in the history
  10. Update peerManager_test.go

    Update sporking_test.go
    
    Update protocol_state_provider.go
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    d0b093e View commit details
    Browse the repository at this point in the history
  11. Add new DHT test

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    3fba260 View commit details
    Browse the repository at this point in the history
  12. fix test

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    5cb1b3c View commit details
    Browse the repository at this point in the history
  13. Update testUtil.go

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    30b1703 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c10f08b View commit details
    Browse the repository at this point in the history
  15. Update libp2pNode_test.go

    Update middleware_test.go
    
    Update testUtil.go
    
    fixed identity provider
    
    Update testUtil.go
    
    [network] Fix the compilation of a bunch of remaining tests
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    696ad1a View commit details
    Browse the repository at this point in the history
  16. Last testUtil fixes

    Update peerManager_test.go
    
    fix epoch transition test
    
    Update unstaked_translator.go
    
    fixed middleware_test
    
    Update execution_test.go
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    2c12f3d View commit details
    Browse the repository at this point in the history
  17. add test for hierchical translator

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    eb7fb35 View commit details
    Browse the repository at this point in the history
  18. Update peerManager_test.go

    Update execution_test.go
    
    update middleware
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    f71d2b9 View commit details
    Browse the repository at this point in the history
  19. Address comments

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    1deb2e6 View commit details
    Browse the repository at this point in the history
  20. protocol state provider test

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    01ad32e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    83f5c6f View commit details
    Browse the repository at this point in the history
  22. new providers

    remove comments
    
    Update hierarchical_translator_test.go
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    140267a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    686c859 View commit details
    Browse the repository at this point in the history
  24. basic test for filtered identifier provider

    make goimports happy
    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    973b501 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5a9d4d2 View commit details
    Browse the repository at this point in the history
  26. add comments

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    2b55ea4 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    df43e33 View commit details
    Browse the repository at this point in the history
  28. [network] Correct bug in ID validation

    Introduced in c8bce78
    
    The From field of a message is not necessarily the depository of the authentified signing information of a message:
    it can be an attached public key that may or may not match (hash to) the libp2p PeerID.
    
    This reinstates the pid.MatchesPublicKey(pubk) call that checks that.
    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    edb9010 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    fe35125 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    5d6359f View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    fdecc08 View commit details
    Browse the repository at this point in the history
  32. remove time.Sleep

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    634c7c6 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d96260a View commit details
    Browse the repository at this point in the history
  34. Fix flaky middleware test

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    eff0abf View commit details
    Browse the repository at this point in the history
  35. removing unstaked network (#1186)

    * Add consensus follower to integration tests
    
    * removing unstaked network
    
    * making the unstaked node test similar to the mvp test to allow block generation
    
    * moving builder.deriveBootstrapPeerIdentities to access_node_builder from unstaked_access_node_builder
    
    * exposing libp2p port externally in integration test docker container for consensus follower to access
    
    * Add NetworkingIdentifierProider to staked node
    
    * Use hierarchical translator for unstaked node
    
    * Add identity delta for staked and unstaked AN's
    
    * Implement proper message validators for unstaked network.
    
    * recover sync engine participants provider
    
    * using the unstaked networking key for the consesus follower
    
    * initializing middleware before initiliazing the sync follower for the unstaked node
    
    * using a factory method for the SyncEngineParticipantsProvider to wait for middleware to have started for the unstaked an
    
    * adding assertions to the TestReceiveBlocks consumer follower test
    
    * moving unstaked specific functions to unstaked_access_node_builder and staked ones to staked_access_node_builder
    
    * moving SyncEngineParticipantsProviderFactory for the unstaked node to the InitIDProviders function similar to the staked access node
    
    Co-authored-by: Simon Zhu <simon.zsiyan@gmail.com>
    Co-authored-by: François Garillot <francois.garillot@dapperlabs.com>
    3 people committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    ea9fbb9 View commit details
    Browse the repository at this point in the history
  36. add sync provider to staked AN

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    890b3a5 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    1f8f6d3 View commit details
    Browse the repository at this point in the history
  38. define new subscription manager

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    7896023 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    4c15a82 View commit details
    Browse the repository at this point in the history
  40. define unsatked metrics

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    1665274 View commit details
    Browse the repository at this point in the history
  41. add new network metrics

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    0308197 View commit details
    Browse the repository at this point in the history
  42. added back conerteer network

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    d15f4d4 View commit details
    Browse the repository at this point in the history
  43. update metrics

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    b4f37e0 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    bddbc71 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    cded3d4 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    84b952b View commit details
    Browse the repository at this point in the history
  47. Update subscriptionFilter_test.go

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    8246097 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    3e37736 View commit details
    Browse the repository at this point in the history
  49. Remove unneeded files

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    91d4232 View commit details
    Browse the repository at this point in the history
  50. Update connmanager

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    5e6e413 View commit details
    Browse the repository at this point in the history
  51. re-generate mocks

    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    3733f7e View commit details
    Browse the repository at this point in the history
  52. Finish fixing testUtil.go

    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    f3cae1c View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    847c112 View commit details
    Browse the repository at this point in the history
  54. fix sync request proxy bug

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    db4fc82 View commit details
    Browse the repository at this point in the history
  55. Make goimports happy

    Re-generate mocks
    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    944d856 View commit details
    Browse the repository at this point in the history
  56. fix unit test

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    4c4efee View commit details
    Browse the repository at this point in the history
  57. update channel Exists method

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    1a3f6aa View commit details
    Browse the repository at this point in the history
  58. New test for sync provider

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    f2722df View commit details
    Browse the repository at this point in the history
  59. Add node role

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    037d9ee View commit details
    Browse the repository at this point in the history
  60. using default message validators for all nodes; setting required-veri…

    …fication-seal-approvals and required-construction-seal-approvals to 1 in the unstaked integration test
    vishalchangrani authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    59962a3 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    ce445d8 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    0c87ebd View commit details
    Browse the repository at this point in the history
  63. install a connection manager on unstaked ANs

    Unstaked ANs issue unicast messages on syncrequests and correspondingly need one.
    huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    40aa3dc View commit details
    Browse the repository at this point in the history
  64. Update middleware options

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    497ab8b View commit details
    Browse the repository at this point in the history
  65. Added logging for sync engine

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    c93e1a9 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    ac22ab0 View commit details
    Browse the repository at this point in the history
  67. Update network.go

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    3defbf6 View commit details
    Browse the repository at this point in the history
  68. Increase integration test timeout

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    99d90ec View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    d4636de View commit details
    Browse the repository at this point in the history
  70. Adding loging for sync requests

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    a173e19 View commit details
    Browse the repository at this point in the history
  71. Update libp2pNode_test.go

    Update unstaked_node_test.go
    
    Update core.go
    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    43fdfe6 View commit details
    Browse the repository at this point in the history
  72. add more logging

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    43ebbd6 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    a916831 View commit details
    Browse the repository at this point in the history
  74. simplify logging

    synzhu authored and huitseeker committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    4ce2800 View commit details
    Browse the repository at this point in the history