Skip to content

Commit 641968a

Browse files
authored
fix: release with 1.86 (#263)
1 parent c870267 commit 641968a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/devcontainer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
file: .devcontainer/Dockerfile
7373
tags: ghcr.io/${{ github.repository }}-dev:latest,ghcr.io/${{ github.repository }}-dev:${{ env.DOCKER_TAG }}
7474
build-args: |
75-
RUST_VERSION=1.85.0
75+
RUST_VERSION=1.86.0
7676
BUILD_TYPE=${{ github.event_name }}
7777
DOJO_VERSION=${{ github.event.release.tag_name }}
7878
platforms: linux/amd64,linux/arm64

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions-rust-lang/setup-rust-toolchain@v1
7171
name: Rust Toolchain Setup
7272
with:
73-
toolchain: "1.85.0"
73+
toolchain: "1.86.0"
7474
target: ${{ matrix.job.target }}
7575
cache-on-failure: true
7676
cache-key: ${{ matrix.job.target }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
env:
2525
CARGO_TERM_COLOR: always
26-
RUST_VERSION: 1.85.0
26+
RUST_VERSION: 1.86.0
2727

2828
jobs:
2929
fmt:

crates/graphql/src/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use sqlx::{Pool, Sqlite};
99
use starknet::providers::Provider;
1010
use tokio::sync::broadcast::Receiver;
1111
use torii_messaging::Messaging;
12-
use torii_storage::Storage;
12+
use torii_storage::ReadOnlyStorage;
1313
use warp::{Filter, Rejection, Reply};
1414

1515
use crate::playground::{graphiql::GraphiQLSource, graphiql_plugin::GraphiQLPlugin};
@@ -20,7 +20,7 @@ pub async fn new<P: Provider + Sync + Send + Clone + 'static>(
2020
mut shutdown_rx: Receiver<()>,
2121
pool: &Pool<Sqlite>,
2222
messaging: Arc<Messaging<P>>,
23-
storage: Arc<dyn Storage>,
23+
storage: Arc<dyn ReadOnlyStorage>,
2424
) -> (SocketAddr, impl Future<Output = ()> + 'static) {
2525
let schema = build_schema(pool, messaging, storage).await.unwrap();
2626
let routes = graphql_filter(schema);

crates/runner/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ use torii_processors::{EventProcessorConfig, Processors};
5151
use torii_server::proxy::Proxy;
5252
use torii_sqlite::executor::Executor;
5353
use torii_sqlite::{Sql, SqlConfig};
54+
use torii_storage::ReadOnlyStorage;
5455
use torii_storage::proto::Contract;
5556
use torii_storage::proto::ContractType;
56-
use torii_storage::Storage;
5757
use tracing::{error, info, info_span, warn, Instrument, Span};
5858
use tracing_indicatif::span_ext::IndicatifSpanExt;
5959
use url::form_urlencoded;
@@ -587,7 +587,7 @@ async fn spawn_rebuilding_graphql_server<P: Provider + Sync + Send + Clone + 'st
587587
pool: Arc<SqlitePool>,
588588
proxy_server: Arc<Proxy>,
589589
messaging: Arc<Messaging<P>>,
590-
storage: Arc<dyn Storage>,
590+
storage: Arc<dyn ReadOnlyStorage>,
591591
) {
592592
let mut broker = MemoryBroker::<ModelUpdate>::subscribe();
593593

0 commit comments

Comments
 (0)