Skip to content

Commit

Permalink
[ABW-3860] Move submit tx & poll tx status to Sargon (#230)
Browse files Browse the repository at this point in the history
* add sargon_os_transactions with methods to submit tx

* add sargon_os_transactions with methods to submit tx

* WIP

* delete method to format intent

* WIP

* using tokio (should revert as it doesn't work)

* use async-std

* WIP tests

* poll tests

* submit transaction tests

* bump

* Remove submit_compiled_transaction from OS

* remove useless derives and format

* test the delay among polls

* Revert "delete method to format intent"

This reverts commit 5e04b7e.

* bump
  • Loading branch information
matiasbzurovski authored Oct 10, 2024
1 parent 871419a commit b9d9995
Show file tree
Hide file tree
Showing 27 changed files with 1,095 additions and 9 deletions.
261 changes: 260 additions & 1 deletion Cargo.lock

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

6 changes: 5 additions & 1 deletion crates/sargon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sargon"
version = "1.1.27"
version = "1.1.28"
edition = "2021"
build = "build.rs"

Expand Down Expand Up @@ -175,6 +175,10 @@ base64 = { git = "https://github.com/marshallpierce/rust-base64.git", rev = "e14
reqwest = { git = "https://github.com/seanmonstar/reqwest", rev = "0720159f6369f54e045a1fd315e0f24b7a0b4a39", default-features = false, features = [
"native-tls-vendored",
] }

# async-std = "1.13.0"
async-std = "1.13.0"

# Fixes nasty iOS bug "_kSecMatchSubjectWholeString", see https://github.com/kornelski/rust-security-framework/issues/203
# This is a workaround to fix a bug with version 2.11.0 that added some symbols that are not available on iOS
# The bug is fixed already but the fix is not released yet. https://github.com/kornelski/rust-security-framework/pull/204
Expand Down
2 changes: 2 additions & 0 deletions crates/sargon/src/core/types/epoch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ uniffi::custom_newtype!(Epoch, u64);
PartialEq,
Eq,
Hash,
Serialize,
Deserialize,
Ord,
PartialOrd,
derive_more::Display,
Expand Down
Loading

0 comments on commit b9d9995

Please sign in to comment.