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

Release v0.5.0 #202

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
304 changes: 154 additions & 150 deletions Cargo.lock

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,34 @@ members = [
"rosetta-types",
]
resolver = "2"

# Specifying a workspace dependency is similar to package dependencies except:
# - Dependencies from this table cannot be declared as optional
# - features declared in this table are additive with the features from [dependencies]
[workspace.dependencies]
rosetta-config-astar = { path = "chains/astar/config", default-features = false }
rosetta-server-astar = { path = "chains/astar/server" }
rosetta-config-bitcoin = { path = "chains/bitcoin/config" }
rosetta-server-bitcoin = { path = "chains/bitcoin/server" }
rosetta-config-ethereum = { path = "chains/ethereum/config" }
rosetta-server-ethereum = { path = "chains/ethereum/server" }
rosetta-ethereum-rpc-client = { path = "chains/ethereum/rpc-client" }
rosetta-tx-ethereum = { path = "chains/ethereum/tx" }
rosetta-config-polkadot = { path = "chains/polkadot/config" }
rosetta-server-polkadot = { path = "chains/polkadot/server" }
rosetta-tx-polkadot = { path = "chains/polkadot/tx" }
rosetta-client = { path = "rosetta-client" }
rosetta-core = { path = "rosetta-core" }
rosetta-crypto = { path = "rosetta-crypto" }
rosetta-docker = { path = "rosetta-docker" }
rosetta-server = { path = "rosetta-server", default-features = false }
rosetta-types = { path = "rosetta-types" }

## Crates we want all members to use the same version
jsonrpsee = { version = "0.20", default-features = false }
parity-scale-codec = { version = "3.6" }
tokio = { version = "1.32" }
subxt = { version = "0.32", default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
scale-info = { version = "2.3" }
6 changes: 3 additions & 3 deletions chains/astar/config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rosetta-config-astar"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
Expand All @@ -12,5 +12,5 @@ astar-metadata = ["subxt"]

[dependencies]
anyhow = "1.0"
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
subxt = { version = "0.32", default-features = false, features = ["substrate-compat", "native"], optional = true }
rosetta-core.workspace = true
subxt = { workspace = true, features = ["substrate-compat", "native"], optional = true }
35 changes: 17 additions & 18 deletions chains/astar/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
[package]
name = "rosetta-server-astar"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Astar rosetta server."

[dependencies]
anyhow = "1.0"
async-std = { version = "1.12.0", features = ["tokio1"] }
async-trait = "0.1"
ethers = "2.0.7"
ethers = "2.0"
futures = { version = "0.3", default-features = false, features = ["std"] }
hex = "0.4.3"
hex = "0.4"
log = "0.4"
parity-scale-codec = "3.6"
rosetta-config-astar = { version = "0.4.0", path = "../config" }
rosetta-config-ethereum = { version = "0.4.0", path = "../../ethereum/config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
rosetta-server = { version = "0.4.0", path = "../../../rosetta-server", default-features = false, features = ["ws", "webpki-tls"] }
rosetta-server-ethereum = { version = "0.4.0", path = "../../ethereum/server" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
parity-scale-codec = { workspace = true, features = ["derive"] }
rosetta-config-astar.workspace = true
rosetta-config-ethereum.workspace = true
rosetta-core.workspace = true
rosetta-server = { workspace = true, features = ["ws", "webpki-tls"] }
rosetta-server-ethereum.workspace = true
serde.workspace = true
serde_json.workspace = true
sp-core = { version = "21.0", default-features = false, features = ["blake2", "std"] }
sp-keyring = "24.0"
subxt = { version = "0.32", default-features = false, features = ["substrate-compat"] }
tokio = { version = "1.32", features = ["rt-multi-thread", "macros"] }
subxt = { workspace = true, features = ["substrate-compat"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }

[dev-dependencies]
ethers-solc = "2.0.1"
rosetta-client = { version = "0.4.0", path = "../../../rosetta-client" }
rosetta-docker = { version = "0.4.0", path = "../../../rosetta-docker", features = ["tests"] }
sha3 = "0.10.6"
ethers-solc = "2.0"
rosetta-client.workspace = true
rosetta-docker = { workspace = true, features = ["tests"] }
sha3 = "0.10"
4 changes: 2 additions & 2 deletions chains/bitcoin/config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "rosetta-config-bitcoin"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Bitcoin configuration."

[dependencies]
anyhow = "1.0"
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
rosetta-core.workspace = true
15 changes: 7 additions & 8 deletions chains/bitcoin/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
[package]
name = "rosetta-server-bitcoin"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Bitcoin rosetta server."

[dependencies]
anyhow = "1.0"
async-std = { version = "1.12.0", features = ["tokio1"] }
async-trait = "0.1"
bitcoincore-rpc-async = "3.0.1"
hex = "0.4.3"
rosetta-config-bitcoin = { version = "0.4.0", path = "../config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
bitcoincore-rpc-async = "3.0"
hex = "0.4"
rosetta-config-bitcoin.workspace = true
rosetta-core.workspace = true
serde_json = "1.0"
tokio = { version = "1.32", features = ["rt-multi-thread", "macros"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }

[dev-dependencies]
rosetta-docker = { version = "0.4.0", path = "../../../rosetta-docker", features = ["tests"] }
rosetta-docker = { workspace = true, features = ["tests"] }
8 changes: 4 additions & 4 deletions chains/ethereum/config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "rosetta-config-ethereum"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Ethereum configuration."

[dependencies]
anyhow = "1.0"
rosetta-config-astar = { version = "0.4.0", default-features = false, path = "../../astar/config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
serde = { version = "1.0", features = ["derive"] }
rosetta-config-astar = { workspace = true }
rosetta-core.workspace = true
serde.workspace = true
6 changes: 3 additions & 3 deletions chains/ethereum/rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ async-trait = "0.1"
dashmap = "5.5"
ethers = { version = "2.0", default-features = true }
futures-util = "0.3"
jsonrpsee = { version = "0.20", default-features = false, features = ["macros"] }
jsonrpsee = { workspace = true, features = ["macros"] }
pin-project = "1.1"
serde = "1.0"
serde_json = "1.0"
serde.workspace = true
serde_json.workspace = true
thiserror = "1.0"
tracing = "0.1"
29 changes: 14 additions & 15 deletions chains/ethereum/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
[package]
name = "rosetta-server-ethereum"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Ethereum rosetta server."

[dependencies]
anyhow = "1.0"
async-std = { version = "1.12", features = ["tokio1"] }
async-trait = "0.1"
ethabi = "18.0.0"
ethabi = "18.0"
ethers = { version = "2.0", default-features = true, features = ["abigen", "rustls"] }
futures-timer = "3.0"
futures-util = "0.3"
hex = "0.4"
rosetta-config-ethereum = { version = "0.4.0", path = "../config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
rosetta-ethereum-rpc-client = { version = "0.1.0", path = "../rpc-client" }
rosetta-server = { version = "0.4.0", path = "../../../rosetta-server", default-features = false, features = ["ws", "webpki-tls"] }
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1.32", features = ["rt-multi-thread", "macros"] }
rosetta-config-ethereum.workspace = true
rosetta-core.workspace = true
rosetta-ethereum-rpc-client.workspace = true
rosetta-server = { workspace = true, features = ["ws", "webpki-tls"] }
serde.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
tracing = "0.1"
url = "2.4.0"
url = "2.4"

[dev-dependencies]
ethers-solc = "2.0.1"
rosetta-client = { version = "0.4.0", path = "../../../rosetta-client" }
rosetta-docker = { version = "0.4.0", path = "../../../rosetta-docker", features = ["tests"] }
sha3 = "0.10.6"
ethers-solc = "2.0"
rosetta-client.workspace = true
rosetta-docker = { workspace = true, features = ["tests"] }
sha3 = "0.10"
12 changes: 6 additions & 6 deletions chains/ethereum/tx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "rosetta-tx-ethereum"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Ethereum transaction builder."

[dependencies]
anyhow = "1.0"
ethabi = "18.0.0"
ethers-core = "2.0.0"
rosetta-config-ethereum = { version = "0.4.0", path = "../config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
ethabi = "18.0"
ethers-core = "2.0"
rosetta-config-ethereum.workspace = true
rosetta-core.workspace = true
serde_json = "1.0"
sha3 = "0.10.6"
sha3 = "0.10"
8 changes: 4 additions & 4 deletions chains/polkadot/config/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "rosetta-config-polkadot"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Polkadot configuration."

[dependencies]
anyhow = "1.0"
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
serde = { version = "1.0", features = ["derive"] }
subxt = { version = "0.32", default-features = false, features = ["substrate-compat", "native"] }
rosetta-core.workspace = true
serde.workspace = true
subxt = { workspace = true, features = ["substrate-compat", "native"] }
25 changes: 12 additions & 13 deletions chains/polkadot/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
[package]
name = "rosetta-server-polkadot"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
description = "Polkadot rosetta server."

[dependencies]
anyhow = "1.0"
async-std = { version = "1.12.0", features = ["tokio1"] }
async-trait = "0.1"
hex = "0.4.3"
parity-scale-codec = "3.4.0"
rosetta-config-polkadot = { version = "0.4.0", path = "../config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
rosetta-server = { version = "0.4.0", path = "../../../rosetta-server", default-features = false, features = ["ws", "webpki-tls"] }
scale-info = "2.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
hex = "0.4"
parity-scale-codec = { workspace = true, features = ["derive"] }
rosetta-config-polkadot.workspace = true
rosetta-core.workspace = true
rosetta-server = { workspace = true, default-features = false, features = ["ws", "webpki-tls"] }
scale-info.workspace = true
serde.workspace = true
serde_json.workspace = true
sp-keyring = "24.0"
subxt = { version = "0.32", default-features = false, features = ["substrate-compat", "native"] }
tokio = { version = "1.32", features = ["rt-multi-thread", "macros"] }
subxt = { workspace = true, features = ["substrate-compat", "native"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
tracing = "0.1"

[dev-dependencies]
rosetta-docker = { version = "0.4.0", path = "../../../rosetta-docker", features = ["tests"] }
rosetta-docker = { workspace = true, features = ["tests"] }
8 changes: 4 additions & 4 deletions chains/polkadot/tx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rosetta-tx-polkadot"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
Expand All @@ -10,7 +10,7 @@ description = "Polkadot transaction builder."
anyhow = "1.0"
blake2-rfc = "0.2"
bs58 = "0.5"
parity-scale-codec = { version = "3.6", features = ["derive"] }
rosetta-config-polkadot = { version = "0.4.0", path = "../config" }
rosetta-core = { version = "0.4.0", path = "../../../rosetta-core" }
parity-scale-codec = { workspace = true, features = ["derive"] }
rosetta-config-polkadot.workspace = true
rosetta-core.workspace = true
serde_json = "1.0"
30 changes: 15 additions & 15 deletions rosetta-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rosetta-client"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
Expand All @@ -10,25 +10,25 @@ description = "Client library for interacting with connectors."
anyhow = "1.0"
async-trait = "0.1"
derive_more = "0.99"
dirs-next = "2.0.0"
fraction = { version = "0.13.1", default-features = false, features = ["with-bigint", "with-decimal"] }
dirs-next = "2.0"
fraction = { version = "0.13", default-features = false, features = ["with-bigint", "with-decimal"] }
futures = "0.3"
getrandom = "0.2.8"
hex = "0.4.3"
getrandom = "0.2"
hex = "0.4"
log = "0.4"
num-traits = "0.2"
rosetta-core = { version = "0.4.0", path = "../rosetta-core" }
rosetta-server-astar = { version = "0.4.0", path = "../chains/astar/server" }
rosetta-server-bitcoin = { version = "0.4.0", path = "../chains/bitcoin/server" }
rosetta-server-ethereum = { version = "0.4.0", path = "../chains/ethereum/server" }
rosetta-server-polkadot = { version = "0.4.0", path = "../chains/polkadot/server" }
rosetta-tx-ethereum = { version = "0.4.0", path = "../chains/ethereum/tx" }
rosetta-tx-polkadot = { version = "0.4.0", path = "../chains/polkadot/tx" }
serde = "1.0"
serde_json = "1.0"
rosetta-core.workspace = true
rosetta-server-astar.workspace = true
rosetta-server-bitcoin.workspace = true
rosetta-server-ethereum.workspace = true
rosetta-server-polkadot.workspace = true
rosetta-tx-ethereum.workspace = true
rosetta-tx-polkadot.workspace = true
serde.workspace = true
serde_json.workspace = true

[target.'cfg(target_family = "wasm")'.dependencies]
getrandom = { version = "0.2.8", features = ["js"] }
getrandom = { version = "0.2", features = ["js"] }
js-sys = "0.3"
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["Storage", "Window"] }
10 changes: 5 additions & 5 deletions rosetta-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rosetta-core"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/analog-labs/chain-connectors"
Expand All @@ -11,8 +11,8 @@ anyhow = "1.0"
async-trait = "0.1"
fluent-uri = "0.1.4"
futures-util = "0.3"
rosetta-crypto = { version = "0.4.0", path = "../rosetta-crypto" }
rosetta-types = { version = "0.4.0", path = "../rosetta-types" }
serde = "1.0"
serde_json = "1.0"
rosetta-crypto.workspace = true
rosetta-types.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror = "1.0"
Loading