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

tools: added yellowstone-log-server command argument #341

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: check features in `proto`
run: cargo check -p yellowstone-grpc-proto --all-targets --tests
- name: check features in `tools`
run: cargo check -p yellowstone-grpc-tools --all-targets --tests --all-features
run: cargo check -p yellowstone-grpc-tools --all-targets --tests

- name: Build
run: ./ci/cargo-build-test.sh
14 changes: 2 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,9 @@ The minor version will be incremented upon a breaking change and the patch versi

### Features

### Breaking

## 2024-05-15

- yellowstone-grpc-client-1.15.0+solana.1.18.13
- yellowstone-grpc-geyser-1.14.2+solana.1.18.13
- yellowstone-grpc-proto-1.14.0+solana.1.18.13
- yellowstone-grpc-tools-1.0.0-rc.11+solana.1.18.13

### Features

- geyser: use runtime instaed of unconstrained ([#332](https://github.com/rpcpool/yellowstone-grpc/pull/332))
- solana: update to 1.18.13 ([#339](https://github.com/rpcpool/yellowstone-grpc/pull/339))

### Breaking

## 2024-04-30

Expand Down
66 changes: 33 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[workspace]
resolver = "2"
members = [
"examples/rust", # 1.13.0+solana.1.18.13
"yellowstone-grpc-client", # 1.15.0+solana.1.18.13
"yellowstone-grpc-geyser", # 1.14.2+solana.1.18.13
"yellowstone-grpc-proto", # 1.14.0+solana.1.18.13
"yellowstone-grpc-tools", # 1.0.0-rc.11+solana.1.18.13
"examples/rust", # 1.13.0+solana.1.18.12
"yellowstone-grpc-client", # 1.15.0+solana.1.18.12
"yellowstone-grpc-geyser", # 1.14.1+solana.1.18.12
"yellowstone-grpc-proto", # 1.14.0+solana.1.18.12
"yellowstone-grpc-tools", # 1.0.0-rc.11+solana.1.18.12
]

[workspace.package]
Expand Down Expand Up @@ -55,11 +55,11 @@ serde_json = "1.0.86"
serde_with = "3.7.0"
serde_yaml = "0.9.25"
sha2 = "0.10.7"
solana-account-decoder = "=1.18.13"
solana-geyser-plugin-interface = "=1.18.13"
solana-logger = "=1.18.13"
solana-sdk = "=1.18.13"
solana-transaction-status = "=1.18.13"
solana-account-decoder = "=1.18.12"
solana-geyser-plugin-interface = "=1.18.12"
solana-logger = "=1.18.12"
solana-sdk = "=1.18.12"
solana-transaction-status = "=1.18.12"
spl-token-2022 = "0.9.0"
thiserror = "1.0"
tokio = "1.21.2"
Expand All @@ -71,8 +71,8 @@ tracing = "0.1.37"
tracing-subscriber = "0.3.17"
uuid = "1.8.0"
vergen = "8.2.1"
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "=1.15.0+solana.1.18.13" }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "=1.14.0+solana.1.18.13" }
yellowstone-grpc-client = { path = "yellowstone-grpc-client", version = "=1.15.0+solana.1.18.12" }
yellowstone-grpc-proto = { path = "yellowstone-grpc-proto", version = "=1.14.0+solana.1.18.12" }

[profile.release]
debug = true
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-client-simple"
version = "1.13.0+solana.1.18.13"
version = "1.13.0+solana.1.18.12"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion yellowstone-grpc-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-client"
version = "1.15.0+solana.1.18.13"
version = "1.15.0+solana.1.18.12"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Simple Client"
Expand Down
2 changes: 1 addition & 1 deletion yellowstone-grpc-geyser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-geyser"
version = "1.14.2+solana.1.18.13"
version = "1.14.1+solana.1.18.12"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Plugin"
Expand Down
2 changes: 1 addition & 1 deletion yellowstone-grpc-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-proto"
version = "1.14.0+solana.1.18.13"
version = "1.14.0+solana.1.18.12"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Geyser Protobuf Definitions"
Expand Down
3 changes: 2 additions & 1 deletion yellowstone-grpc-tools/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yellowstone-grpc-tools"
version = "1.0.0-rc.11+solana.1.18.13"
version = "1.0.0-rc.11+solana.1.18.12"
authors = { workspace = true }
edition = { workspace = true }
description = "Yellowstone gRPC Tools"
Expand Down Expand Up @@ -54,6 +54,7 @@ uuid = { workspace = true, optional = true }
yellowstone-grpc-client = { workspace = true }
yellowstone-grpc-proto = { workspace = true }


[dev-dependencies]
tokio = { workspace = true, features = ["test-util"] }

Expand Down
12 changes: 12 additions & 0 deletions yellowstone-grpc-tools/config-ys-log-server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"prometheus": "127.0.0.1:8873",
"scylladb": {
"hostname": "localhost:9042",
"username": "cassandra",
"password": "cassandra"
},
"yellowstone_log_server": {
"listen": "localhost:10001",
"keyspace": "solana"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/bash


grpcurl -plaintext -import-path . -proto yellowstone-log.proto \
-d '{"initial_offset_policy": 0, "event_subscription_policy": 0 }' \
'127.0.0.1:10001' yellowstone.log.YellowstoneLog.Consume
2 changes: 1 addition & 1 deletion yellowstone-grpc-tools/solana.cql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CREATE KEYSPACE solana WITH replication = {'class': 'NetworkTopologyStrategy', '
drop materialized view if exists solana.producer_consumer_mapping_mv;
drop materialized view if exists solana.slot_map;

drop table if exists solana.producer_slot_seen;
drop table if exists solana.producer_max_approx_slot;
drop table if exists solana.shard_statistics;
drop table if exists solana.producer_info;
drop table if exists solana.consumer_info;
Expand Down
3 changes: 3 additions & 0 deletions yellowstone-grpc-tools/solana_keyspace_setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/bash

nodetool disableautocompaction solana log producer_period_commit_log producer_slot_seen
Loading
Loading