Skip to content

Commit

Permalink
Merge pull request #24 from gevulotnetwork/prepublish
Browse files Browse the repository at this point in the history
Pre-publish changes
  • Loading branch information
aleasims authored Dec 2, 2024
2 parents e972c7c + 6151edd commit 70610e2
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ jobs:

- name: Run runtime-config tests
run: cargo test --locked runtime_config

- name: Run events tests
run: cargo test --locked events
Empty file removed .gitmodules
Empty file.
2 changes: 1 addition & 1 deletion Cargo.lock

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

12 changes: 11 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
[package]
name = "gevulot-rs"
version = "0.1.0"
version = "0.1.3"
edition = "2021"
authors = ["Gevulot Team"]
description = "Gevulot Rust API"
keywords = ["blockchain", "zero-knowledge"]
homepage = "https://www.gevulot.com"
repository = "https://github.com/gevulotnetwork/gevulot-rs"
readme = "README.md"
documentation = "https://docs.rs/gevulot-rs"
license = "MIT OR Apache-2.0"
rust-version = "1.75"
exclude = [".github/**", "flake.nix", "flake.lock", ".envrc", "go.mod"]

[lib]
name = "gevulot_rs"
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# gevulot-rs

## Build dependencies

- [`buf`](https://buf.build/)
- [`protoc`](https://protobuf.dev/)
6 changes: 5 additions & 1 deletion src/base_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,11 @@ impl BaseClient {

log::debug!("token transfer msg: {:?}", msg);

self.send_msg_sync(msg, "token transfer").await?;
self.send_msg_sync::<_, cosmrs::proto::cosmos::bank::v1beta1::MsgSendResponse>(
msg,
"token transfer",
)
.await?;

Ok(())
}
Expand Down
1 change: 1 addition & 0 deletions src/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ pub enum WorkflowEvent {
Finish(WorkflowFinishEvent),
}

#[cfg(test)]
mod tests {

use super::*;
Expand Down

0 comments on commit 70610e2

Please sign in to comment.