mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Add test for monero ring signature adapter
This commit is contained in:
parent
bce693ae76
commit
f3f1d96431
29
Cargo.lock
generated
29
Cargo.lock
generated
@ -660,6 +660,15 @@ dependencies = [
|
|||||||
"vec_map",
|
"vec_map",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "clear_on_drop"
|
||||||
|
version = "0.2.4"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "c9cc5db465b294c3fa986d5bbb0f3017cd850bff6dd6c52f9ccff8b4d21b7b08"
|
||||||
|
dependencies = [
|
||||||
|
"cc",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cloudabi"
|
name = "cloudabi"
|
||||||
version = "0.0.3"
|
version = "0.0.3"
|
||||||
@ -1641,6 +1650,12 @@ dependencies = [
|
|||||||
"cfg-if 1.0.0",
|
"cfg-if 1.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "integer-encoding"
|
||||||
|
version = "3.0.2"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "90c11140ffea82edce8dcd74137ce9324ec24b3cf0175fc9d7e29164da9915b8"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ipconfig"
|
name = "ipconfig"
|
||||||
version = "0.2.2"
|
version = "0.2.2"
|
||||||
@ -2250,17 +2265,22 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "monero"
|
name = "monero"
|
||||||
version = "0.12.0"
|
version = "0.12.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://github.com/comit-network/monero-rs?branch=fix-ci#baed70b50e7eee97733df3d580f0476c461bd4ab"
|
||||||
checksum = "2c73108ba5cf025e437600990935234241f95ada3c4621960d50912cde739af6"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base58-monero",
|
"base58-monero",
|
||||||
|
"clear_on_drop",
|
||||||
"curve25519-dalek",
|
"curve25519-dalek",
|
||||||
"fixed-hash",
|
"fixed-hash",
|
||||||
|
"hash_edwards_to_edwards",
|
||||||
"hex 0.4.3",
|
"hex 0.4.3",
|
||||||
"hex-literal",
|
"hex-literal",
|
||||||
|
"integer-encoding",
|
||||||
"keccak-hash",
|
"keccak-hash",
|
||||||
|
"lazy_static",
|
||||||
|
"rand 0.7.3",
|
||||||
"serde",
|
"serde",
|
||||||
"serde-big-array",
|
"serde-big-array",
|
||||||
|
"subtle 2.4.0",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -2271,8 +2291,13 @@ dependencies = [
|
|||||||
"anyhow",
|
"anyhow",
|
||||||
"curve25519-dalek",
|
"curve25519-dalek",
|
||||||
"hash_edwards_to_edwards",
|
"hash_edwards_to_edwards",
|
||||||
|
"monero",
|
||||||
|
"monero-harness",
|
||||||
|
"monero-rpc",
|
||||||
|
"monero-wallet",
|
||||||
"rand 0.7.3",
|
"rand 0.7.3",
|
||||||
"tiny-keccak",
|
"tiny-keccak",
|
||||||
|
"tokio",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -3,3 +3,4 @@ members = ["monero-adaptor", "monero-harness", "monero-rpc", "swap", "monero-wal
|
|||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
torut = { git = "https://github.com/bonomat/torut/", branch = "feature-flag-tor-secret-keys", default-features = false, features = [ "v3", "control" ] }
|
torut = { git = "https://github.com/bonomat/torut/", branch = "feature-flag-tor-secret-keys", default-features = false, features = [ "v3", "control" ] }
|
||||||
|
monero = { git = "https://github.com/comit-network/monero-rs", branch = "fix-ci" }
|
||||||
|
@ -10,3 +10,10 @@ curve25519-dalek = "3"
|
|||||||
rand = "0.7"
|
rand = "0.7"
|
||||||
tiny-keccak = { version = "2", features = ["keccak"] }
|
tiny-keccak = { version = "2", features = ["keccak"] }
|
||||||
hash_edwards_to_edwards = { git = "https://github.com/comit-network/hash_edwards_to_edwards" }
|
hash_edwards_to_edwards = { git = "https://github.com/comit-network/hash_edwards_to_edwards" }
|
||||||
|
monero = "0.12"
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
monero-harness = { path = "../monero-harness" }
|
||||||
|
monero-rpc = { path = "../monero-rpc" }
|
||||||
|
monero-wallet = { path = "../monero-wallet" }
|
||||||
|
tokio = { version = "1", features = ["full"] }
|
||||||
|
4
monero-adaptor/tests/integration_test.rs
Normal file
4
monero-adaptor/tests/integration_test.rs
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#[tokio::test]
|
||||||
|
async fn monerod_integration_test() {
|
||||||
|
let _client = monero_rpc::monerod::Client::localhost(18081).unwrap();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user