Skip to content

Commit

Permalink
latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tguntenaar committed Oct 29, 2024
1 parent a964c2f commit 2b4cbce
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 319 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ sqlx = { version = "0.7", features = [
"chrono",
] } # 0.7
# 0.8.2 , features = [
# "postgres",
# "macros",
# "chrono",
# "runtime-async-std",
# "runtime-tokio-native-tls",
# ]
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
# Build application
COPY . .
RUN cargo build --release --bin rocket-app
RUN cargo build --release --bin devhub-cache-api

# We do not need the Rust toolchain to run the binary!
FROM debian:bookworm-slim AS runtime
WORKDIR /app
COPY --from=builder /app/target/release/rocket-app /usr/local/bin
ENTRYPOINT ["/usr/local/bin/rocket-app"]
COPY --from=builder /app/target/release/devhub-cache-api /usr/local/bin
ENTRYPOINT ["/usr/local/bin/devhub-cache-api"]
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/deploy_and_call_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async fn main() {

// Let's deploy the contract. The contract is simple counter with `get_num`, `increase`, `decrease` arguments
contract
.deploy(include_bytes!("../resources/counter.wasm").to_vec())
.deploy(include_bytes!("../examples/counter.wasm").to_vec())
// You can add init call as well using `with_init_call`
.without_init_call()
.with_signer(signer.clone())
Expand Down
4 changes: 2 additions & 2 deletions fly.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# fly.toml app configuration file generated for falling-fire-303 on 2024-09-23T19:49:38-05:00
# fly.toml app configuration file generated for devhub-cache-api-rs on 2024-10-29T10:00:35-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'falling-fire-303'
app = 'devhub-cache-api-rs'
primary_region = 'dfw'

[build]
Expand Down
Loading

0 comments on commit 2b4cbce

Please sign in to comment.