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

Add subscriptions support #225

Merged
merged 122 commits into from
May 23, 2020

Commits on Mar 17, 2020

  1. initial new commit struct

    Shivani912 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    bd3430e View commit details
    Browse the repository at this point in the history
  2. update functions

    Shivani912 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    d129ad2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b64840b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b893a25 View commit details
    Browse the repository at this point in the history
  5. Ismail/commit struct followup (informalsystems#182)

    * initial new commit struct
    
    * update functions
    
    * fixed deserialization for new commit struct
    
    * updated links to generator + val_set_test file
    
    * Update tendermint/src/account.rs
    
    Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
    
    * fmt
    
    * clippy
    
    * rpc tests: grab latest example fro commit:
     - use https://docs.tendermint.com/master/rpc/#/Info/commit
     - update chain_id: cosmoshub-1 to cosmoshub-2 everywhere else
     - manually kept `id` a string in JSONrpc responses
    
    * Actually let's go cosmoshub-3:
    
     - grabbed from: https://rpc.cosmos.network/commit?height=2
    
    * Fix commit test
    
    - regenerated commit.json via
    `curl -X GET "http://localhost:26657/commit?height=10" -H "accept: application/json"`
    
    * Fix block test
    
    - "regenerated" block.json via
    `curl -X GET "http://localhost:26657/block?height=10" -H "accept: application/json"`
    
    * Fix first_block test
    
    - "regenerated" block.json via
    `curl -X GET "http://localhost:26657/block?height=1" -H "accept: application/json" `
    
    Co-authored-by: Shivani Joshi <joshi.shivani912@gmail.com>
    Co-authored-by: Shivani Joshi <46731446+Shivani912@users.noreply.github.com>
    3 people committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    17c3c02 View commit details
    Browse the repository at this point in the history
  6. fix error

    Shivani912 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    525b419 View commit details
    Browse the repository at this point in the history
  7. more json bisection tests

    Shivani912 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    ae3ee39 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. Configuration menu
    Copy the full SHA
    0e6a073 View commit details
    Browse the repository at this point in the history
  2. Fixed fmt

    greg-szabo committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    1a9a96e View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2020

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

Commits on Mar 24, 2020

  1. Configuration menu
    Copy the full SHA
    d0b9039 View commit details
    Browse the repository at this point in the history
  2. 7 Configuration menu
    Copy the full SHA
    accb997 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4918c8 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Configuration menu
    Copy the full SHA
    e0bce41 View commit details
    Browse the repository at this point in the history
  2. 2 Configuration menu
    Copy the full SHA
    06d91d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    af430df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0ad0537 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Cherry-pick from 87e888b (Liamsi)

    fix /abci_info & /genesis:
     - add app_version & use #[serde(default)] to deal with omitted fields in JSON
     - make app_state in /genesis reply optional
     - fix string in abci_info test (kvstore wont reply with "GaiaApp")
    
     verify tests pass via running `tendermint node --proxy_app=kvstore` and
     `cargo test -- --nocapture --ignored
    liamsi authored and greg-szabo committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    ddbc113 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2020

  1. [88] Fix JSON ID

    greg-szabo committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    323b44a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    95902c6 View commit details
    Browse the repository at this point in the history
  3. [4] block_results test fix

    greg-szabo committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    c0c3ed7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3659a30 View commit details
    Browse the repository at this point in the history
  5. Added one abci_query test

    greg-szabo committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    6c589c9 View commit details
    Browse the repository at this point in the history
  6. FMT + get rid of warnings

    greg-szabo committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    2bf6125 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5e9b62a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0d4952d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    58411ac View commit details
    Browse the repository at this point in the history
  10. Merge branch 'tendermint/v0.33' of github.com:informalsystems/tenderm…

    …int-rs into tendermint/v0.33
    greg-szabo committed Mar 29, 2020
    Configuration menu
    Copy the full SHA
    2743f8b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7649289 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2020

  1. Duration looks better now

    Shivani912 committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    f0048c5 View commit details
    Browse the repository at this point in the history
  2. fix fmt

    Shivani912 committed Mar 30, 2020
    Configuration menu
    Copy the full SHA
    a2ae776 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2020

  1. Update tendermint/src/lite_impl/signed_header.rs

    Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
    greg-szabo and liamsi committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    5801875 View commit details
    Browse the repository at this point in the history
  2. Update tendermint/src/lite_impl/signed_header.rs

    Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
    greg-szabo and liamsi committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    bceaf4f View commit details
    Browse the repository at this point in the history
  3. Removed AsRef from JSON ID

    greg-szabo committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    624ecae View commit details
    Browse the repository at this point in the history
  4. Merge branch 'tendermint/v0.33' of github.com:informalsystems/tenderm…

    …int-rs into tendermint/v0.33
    greg-szabo committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    4e2f2a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2020

  1. Configuration menu
    Copy the full SHA
    ccb7b78 View commit details
    Browse the repository at this point in the history
  2. Update Proof and ProofOp (informalsystems#206)

    * manually update Proof and introduce ProofOp to match the actual JSON encoding
    
    * 0.33 branch seems out of date with master, committing to switch back
    
    * Fix test
    
    * Fix rpc endpoint test (how wasn't this detected before by the integration tests)?
    liamsi committed Apr 8, 2020
    Configuration menu
    Copy the full SHA
    51934ba View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. Configuration menu
    Copy the full SHA
    2993d23 View commit details
    Browse the repository at this point in the history
  2. commit followup (informalsystems#199)

    * rename iter -> signed_votes and add validation checks
    
     - add basic validation to validate method (depending on `BlockIDFlag`)
     - move check for unknown validator to validate method (for CommitSig)
    liamsi committed Apr 10, 2020
    Configuration menu
    Copy the full SHA
    0eae723 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. Configuration menu
    Copy the full SHA
    39ba45f View commit details
    Browse the repository at this point in the history
  2. Websocker error

    zmanian committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    ee80538 View commit details
    Browse the repository at this point in the history
  3. Fix formatting

    zmanian committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    810a351 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2020

  1. Intitial integration test

    zmanian committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    719235d View commit details
    Browse the repository at this point in the history
  2. Fmt

    zmanian committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    0cd2972 View commit details
    Browse the repository at this point in the history
  3. Missed adding file

    zmanian committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    89ed138 View commit details
    Browse the repository at this point in the history
  4. Fix url scheme

    zmanian committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    f0e18a9 View commit details
    Browse the repository at this point in the history
  5. fix url scheme

    zmanian committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    f3b1414 View commit details
    Browse the repository at this point in the history
  6. Format

    zmanian committed Apr 18, 2020
    Configuration menu
    Copy the full SHA
    7e05068 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. Configuration menu
    Copy the full SHA
    ab8e799 View commit details
    Browse the repository at this point in the history
  2. Fix clippy lint

    zmanian committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    a87d02d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f17a2e5 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Configuration menu
    Copy the full SHA
    1412206 View commit details
    Browse the repository at this point in the history
  2. Cargo fmt

    zmanian committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    eed55a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7ae18c View commit details
    Browse the repository at this point in the history
  4. Cargo fmt

    zmanian committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    1bede88 View commit details
    Browse the repository at this point in the history
  5. Fix integration tests

    zmanian committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    ceffc44 View commit details
    Browse the repository at this point in the history
  6. Remove the Box<Errors>

    zmanian committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    7331520 View commit details
    Browse the repository at this point in the history
  7. Update tendermint/src/rpc/endpoint/subscribe.rs

    Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
    zmanian and liamsi committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    4b6961a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    49674ea View commit details
    Browse the repository at this point in the history
  9. Merge branch 'zaki-event-subscribe' of github.com:iqlusioninc/tenderm…

    …int-rs into zaki-event-subscribe
    zmanian committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    e7cb621 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    02b7f1f View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. Configuration menu
    Copy the full SHA
    4a843f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3248c23 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

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

Commits on Apr 26, 2020

  1. switch to borrowed types

    zmanian committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    facfaef View commit details
    Browse the repository at this point in the history
  2. Remove extra borrow

    zmanian committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    66cdd43 View commit details
    Browse the repository at this point in the history
  3. Remove borrow

    zmanian committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    7a44a6b View commit details
    Browse the repository at this point in the history
  4. Fmt and fix clippy issues

    zmanian committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    ebf8cbc View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

  1. Improve the extract events function so that we treat any matching que…

    …ry in the vectors as valid
    zmanian committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    b8b00d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68f5d72 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Configuration menu
    Copy the full SHA
    ffb954c View commit details
    Browse the repository at this point in the history
  2. Fix module query

    zmanian committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    766a86d View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

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

Commits on May 5, 2020

  1. Configuration menu
    Copy the full SHA
    644bbd1 View commit details
    Browse the repository at this point in the history
  2. Revert "Type events only on message.action"

    This reverts commit 97f5c9b.
    zmanian committed May 5, 2020
    Configuration menu
    Copy the full SHA
    fef6738 View commit details
    Browse the repository at this point in the history
  3. Revert "Type events only on message.action"

    This reverts commit 97f5c9b.
    zmanian committed May 5, 2020
    Configuration menu
    Copy the full SHA
    81e2bc5 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Configuration menu
    Copy the full SHA
    85ab966 View commit details
    Browse the repository at this point in the history
  2. Fmt and clippy

    zmanian committed May 22, 2020
    Configuration menu
    Copy the full SHA
    c3044f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    884ed90 View commit details
    Browse the repository at this point in the history
  4. review comments

    ancazamfir committed May 22, 2020
    Configuration menu
    Copy the full SHA
    73fe138 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b16e1f5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ad3f70 View commit details
    Browse the repository at this point in the history
  7. Fix typo in doc comment

    liamsi committed May 22, 2020
    Configuration menu
    Copy the full SHA
    1842f71 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. Make queries an enum

    handle block events and tx events
    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    7af4caa View commit details
    Browse the repository at this point in the history
  2. Merge branch 'zaki-event-subscribe' of github.com:iqlusioninc/tenderm…

    …int-rs into zaki-event-subscribe
    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    4ab7c52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb58620 View commit details
    Browse the repository at this point in the history
  4. Update tendermint/src/rpc/event_listener.rs

    Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
    zmanian and liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    c611c09 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c593880 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'zaki-event-subscribe' of github.com:iqlusioninc/tenderm…

    …int-rs into zaki-event-subscribe
    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    b18e98e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e1549e8 View commit details
    Browse the repository at this point in the history
  8. Update tendermint/src/rpc/endpoint/subscribe.rs

    Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
    zmanian and liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    f2c42a0 View commit details
    Browse the repository at this point in the history
  9. DRY some of the Block types

    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    b99b0d6 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'zaki-event-subscribe' of github.com:iqlusioninc/tenderm…

    …int-rs into zaki-event-subscribe
    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    6b1b106 View commit details
    Browse the repository at this point in the history
  11. Fmt

    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    a3a8e65 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d342d37 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    668696d View commit details
    Browse the repository at this point in the history
  14. Fix clippy warnings and errs

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    c884f3b View commit details
    Browse the repository at this point in the history
  15. Fix typo

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    6231dcc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3269d58 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f2da1e1 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'zaki-event-subscribe' of github.com:iqlusioninc/tenderm…

    …int-rs into zaki-event-subscribe
    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    395bb93 View commit details
    Browse the repository at this point in the history
  19. Please clippy

    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    9910c3f View commit details
    Browse the repository at this point in the history
  20. Box large variant

    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    09db6a8 View commit details
    Browse the repository at this point in the history
  21. Box the other variant

    zmanian committed May 23, 2020
    Configuration menu
    Copy the full SHA
    9c2fcb0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    aa60b6a View commit details
    Browse the repository at this point in the history
  23. clarify some local var names

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    5cb2030 View commit details
    Browse the repository at this point in the history
  24. use rpc::response::Response and improve err handling

    - unexport Wrapper fields
    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    b11ea9a View commit details
    Browse the repository at this point in the history
  25. Fix hyperlink in doc comment

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    f9b8899 View commit details
    Browse the repository at this point in the history
  26. Update link on error codes

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    4a4d9cb View commit details
    Browse the repository at this point in the history
  27. Make error codes symmetric

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    6dbe426 View commit details
    Browse the repository at this point in the history
  28. Fix panic string

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    42b5cfc View commit details
    Browse the repository at this point in the history
  29. Add some debug output

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    3193c73 View commit details
    Browse the repository at this point in the history
  30. Add some more debug output

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    81748e7 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    fc8fc43 View commit details
    Browse the repository at this point in the history
  32. Revert "DRY Block, BlockData, Evidence, Parts"

    This reverts commit 3269d58
    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    0cb9ea3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    fdf8873 View commit details
    Browse the repository at this point in the history
  34. Let's try an Option

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    31e48a8 View commit details
    Browse the repository at this point in the history
  35. Another Option?

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    86e3f6a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    c2711e8 View commit details
    Browse the repository at this point in the history
  37. typo

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    0efbcb8 View commit details
    Browse the repository at this point in the history
  38. Let it be

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    04053f5 View commit details
    Browse the repository at this point in the history
  39. Fix match arm

    liamsi committed May 23, 2020
    Configuration menu
    Copy the full SHA
    9b77399 View commit details
    Browse the repository at this point in the history