Skip to content

Commit

Permalink
Use types from smart contract
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBEN committed Jan 29, 2024
1 parent 1413952 commit f70585d
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 58 deletions.
134 changes: 126 additions & 8 deletions trackAndTrace/scripts/Cargo.lock

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

1 change: 1 addition & 0 deletions trackAndTrace/scripts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ concordium-rust-sdk = { version = "4.0"}
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.35", features = ["rt-multi-thread", ] }
tonic = { version = "0.10", features = ["tls", "tls-roots"] }
track-and-trace = { path = "../smart-contract/"}
6 changes: 4 additions & 2 deletions trackAndTrace/scripts/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::contract_client::MetadataUrl;
use anyhow::Context;
use clap::Parser as _;
use concordium_rust_sdk::{
Expand All @@ -13,8 +14,9 @@ use concordium_rust_sdk::{
v2::{self as sdk, BlockIdentifier},
};
use std::sync::Arc;
mod types;
use types::*;
use track_and_trace::*;

pub enum TrackAndTraceContract {}

/// Command line configuration of the application.
#[derive(Debug, clap::Parser)]
Expand Down
48 changes: 0 additions & 48 deletions trackAndTrace/scripts/src/types.rs

This file was deleted.

0 comments on commit f70585d

Please sign in to comment.