File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11// This example shows how to use the `near_abi_client` Generation Based API.
2- // We are generating client code using the schema for the ABI and and `workspaces-rs` to call into the contract.
2+ // We are generating client code using the schema for the ABI and `workspaces-rs` to call into the contract.
33// More information about usage can be found here: <https://github.com/near/near-abi-client-rs/blob/main/README.md>
44//
55// A good scenario for usage might be when you are interacting with a contract or multiple contracts at an automated level
Original file line number Diff line number Diff line change 11// This example shows how to use the `near_abi_client` Macro Based API.
2- // We are generating client code using the schema for the ABI and and `workspaces-rs` to call into the contract.
2+ // We are generating client code using the schema for the ABI and `workspaces-rs` to call into the contract.
33// More information about usage can be found here: <https://github.com/near/near-abi-client-rs/blob/main/README.md>
44//
55// A good scenario for usage might be when you are interacting with a contract or multiple contracts at an automated level
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ impl Worker<Sandbox> {
307307 Ok ( Account :: new ( signer, self . clone ( ) . coerce ( ) ) )
308308 }
309309
310- /// Import a contract from the the given network, and return us a [`ImportContractTransaction`]
310+ /// Import a contract from the given network, and return us a [`ImportContractTransaction`]
311311 /// which allows to specify further details, such as being able to import contract data and
312312 /// how far back in time we wanna grab the contract.
313313 pub fn import_contract < ' a > (
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ async fn test_transfer_near() -> anyhow::Result<()> {
5555 // transfer 500_000_000 token from alice to bob
5656 let _ = alice. transfer_near ( bob. id ( ) , SENT_AMOUNT ) . await ?;
5757
58- // Assert the the tokens have been transferred.
58+ // Assert the tokens have been transferred.
5959 assert_eq ! (
6060 bob. view_account( ) . await ?. balance,
6161 INITIAL_BALANCE . saturating_add( SENT_AMOUNT ) ,
You can’t perform that action at this time.
0 commit comments