@@ -23,20 +23,21 @@ sgx-isa = { git = "https://github.com/lexe-tech/rust-sgx", branch = "lexe" }
2323sgxs-loaders = { git = " https://github.com/lexe-tech/rust-sgx" , branch = " lexe" }
2424tokio = { git = " https://github.com/lexe-tech/tokio" , branch = " tokio-sgx-1.21.2" }
2525
26- # 0.0.112 introduced a bug which breaks our integration tests. The fix is
27- # implemented in https://github.com/lightningdevkit/rust-lightning/pull/1851.
28- # In the meantime, we have to use a git dependency until 0.0.113 is released.
29- # TODO(max): Comment this section out once 0.0.113 is released
30- lightning = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.112-with-fix" }
31- lightning-block-sync = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.112-with-fix" }
32- lightning-invoice = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.112-with-fix" }
33- lightning-net-tokio = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.112-with-fix" }
26+ # Like 0.0.112, 0.0.113 is broken; LDK panics with 50% probability if we use
27+ # random nanos: https://github.com/lightningdevkit/rust-lightning/pull/1935
28+ # TODO(max): Hopefully switch back to crates.io version once 0.0.114 is released
29+
30+ # For if we need to run a patched version of LDK instead of crates.io.
31+ lightning = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.113-with-fix" }
32+ lightning-block-sync = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.113-with-fix" }
33+ lightning-invoice = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.113-with-fix" }
34+ lightning-net-tokio = { git = " https://github.com/lexe-tech/rust-lightning" , branch = " lexe-v0.0.113-with-fix" }
3435
3536# For debugging LDK or testing patches during local development
36- # lightning = { path = "../ldk/lightning", features = ["max_level_trace"]}
37- # lightning-block-sync = { path = "../ldk/lightning-block-sync", features = [ "rpc-client" ] }
38- # lightning-invoice = { path = "../ldk/lightning-invoice" }
39- # lightning-net-tokio = { path = "../ldk/lightning-net-tokio" }
37+ # lightning = { path = "../../ ldk/lightning", features = ["max_level_trace"]}
38+ # lightning-block-sync = { path = "../../ ldk/lightning-block-sync", features = [ "rpc-client" ] }
39+ # lightning-invoice = { path = "../../ ldk/lightning-invoice" }
40+ # lightning-net-tokio = { path = "../../ ldk/lightning-net-tokio" }
4041
4142[profile .dev ]
4243# This fixes 'warning: can't find symbol' when debugging, but breaks the
0 commit comments