Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Vendor Secret Connection (fixes interchainio/tendermint-rs#27) #365

Merged
merged 3 commits into from
Oct 18, 2019

Conversation

tarcieri
Copy link
Contributor

@tarcieri tarcieri commented Oct 17, 2019

As discussed in informalsystems/tendermint-rs#27, this PR reverts and wires up the original Secret Connection implementation whose code is otherwise by definition identical to the tendermint-rs v0.10 crate today as it used to live in this repo and was restored by reverting it in commit 104bb82.

Otherwise this is the minimum necessary changes needed to use the in-tree copy as opposed to tendermint-rs. It otherwise performs no changes or upgrades other than the ones needed to make the code compile and pass the latest clippy.

This is necessary, among other reasons, to perform any sort of signatory upgrade, as the yubihsm crate depends on the latest ring v0.16, and tendermint-rs is stuck on ring v0.14 and ring-asm prevents linking two versions. See also informalsystems/tendermint-rs#11

It will also allow us to experiment with an async model with timeouts using the new Rust async features (see #352)

cc @ebuchman

This reverts commit 07c31d4.

Reverting to restore the original Secret Connection code
...and deletes the rest of the old tendermint-rs code again, since
Secret Connection is all we care about, and the rest is located at:

https://github.com/interchainio/tendermint-rs
This commit wires up the Secret Connection implementation, whose code is
otherwise by definition identical to the `tendermint-rs` v0.10 crate
today, as it used to live in this repo and was restored by reverting it
in commit 104bb82.

Otherwise this is the minimum necessary changes needed to use the
in-tree copy as opposed to `tendermint-rs`. It otherwise performs no
changes or upgrades other than the ones needed to make the code compile
and pass the latest `clippy`.
@tarcieri tarcieri merged commit 54b15ea into master Oct 18, 2019
@tarcieri tarcieri deleted the vendor-secret-connection branch October 18, 2019 16:19
@tarcieri tarcieri mentioned this pull request Dec 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants