Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/lib.rs
#	src/models.rs
#	tests/clients_tests/helpers/wallet.rs
  • Loading branch information
mchtilianov committed Oct 24, 2023
2 parents 8e0cd83 + 0a95362 commit c3cdd15
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
create_release:
name: Create from merged release branch
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
uses: monero-rs/workflows/.github/workflows/[email protected].2
uses: monero-rs/workflows/.github/workflows/[email protected].3

release_to_crates:
name: Publish the new release to crates.io
uses: monero-rs/workflows/.github/workflows/[email protected].2
uses: monero-rs/workflows/.github/workflows/[email protected].3
# Do not run before creating the release is done
needs: create_release
secrets:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
draft-new-release:
name: Draft a new release
uses: monero-rs/workflows/.github/workflows/[email protected].2
uses: monero-rs/workflows/.github/workflows/[email protected].3
with:
version: ${{ github.event.inputs.version }}
base_branch: 'main'
2 changes: 1 addition & 1 deletion .github/workflows/release-to-crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
release_to_crates:
name: Publish the new release to crates.io
uses: monero-rs/workflows/.github/workflows/[email protected].2
uses: monero-rs/workflows/.github/workflows/[email protected].3
secrets:
cratesio_token: ${{ secrets.H4SH3D_CARGO_REGISTRY_TOKEN }}

20 changes: 0 additions & 20 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,27 +1410,7 @@ impl WalletClient {
#[cfg(test)]
mod tests {
use super::*;
use monero::{KeyPair, Network, PrivateKey};
use serde_test::{assert_de_tokens_error, assert_ser_tokens, assert_tokens, Token};
use std::str::FromStr;

#[test]
fn address_to_string() {
let key_pair_1 = KeyPair {
view: PrivateKey::from_str(
"8ae33e57aee12fa4ad5b42a3ab093d9f3cb7f9be68b112a85f83275bcc5a190b",
)
.unwrap(),
spend: PrivateKey::from_str(
"eae5d41a112e14dcd549780a982bb3653c2f86ab1f4e6aa2b13c41f8b893ab04",
)
.unwrap(),
};
let addr = Address::from_keypair(Network::Mainnet, &key_pair_1);

//let txid: HashString<Vec<u8>> = "19d5089f9469db3d90aca9024dfcb17ce94b948300101c8345a5e9f7257353be";
//println!("{:?}", addr.to_string());
}

#[test]
fn rpc_params_array() {
Expand Down
1 change: 1 addition & 0 deletions tests/clients_tests/helpers/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -781,3 +781,4 @@ pub async fn create_check_tx_proof_assert_ok(
assert!(check_res.is_ok());
assert!(check_res.unwrap().good);
}

0 comments on commit c3cdd15

Please sign in to comment.