Skip to content

Commit

Permalink
Merge pull request #14 from EdsonAlcala/feat/export-integers-module
Browse files Browse the repository at this point in the history
fix: export integers module
  • Loading branch information
EdsonAlcala authored Nov 1, 2024
2 parents 42bdfb5 + f0b3920 commit f312ba6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/near/types/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod actions;
mod block_hash;
mod integers;
pub mod integers;
mod public_key;
mod signature;

Expand Down
6 changes: 4 additions & 2 deletions tests/near_integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use near_jsonrpc_client::{methods, JsonRpcClient};
use near_primitives::hash::CryptoHash;
use near_workspaces::sandbox;
use omni_transaction::near::types::{
Action, ED25519Signature, Signature as OmniSignature, TransferAction, U128,
Action, ED25519Signature, Signature as OmniSignature, TransferAction,
};
use omni_transaction::near::utils::PublicKeyStrExt;
use omni_transaction::transaction_builder::{TransactionBuilder, TxBuilder};
Expand All @@ -26,7 +26,9 @@ async fn test_send_raw_transaction_created_with_omnitransactionbuilder_for_near(
let alice_original_balance = alice.view_account().await?.balance;
let bob_original_balance = bob.view_account().await?.balance;

let transfer_action = Action::Transfer(TransferAction { deposit: U128(1) });
let transfer_action = Action::Transfer(TransferAction {
deposit: omni_transaction::near::types::integers::U128(1),
});
let actions = vec![transfer_action];

// Configure the signer from the first default Sandbox account (Alice).
Expand Down

0 comments on commit f312ba6

Please sign in to comment.