Skip to content

Commit

Permalink
Fix typos (#2901)
Browse files Browse the repository at this point in the history
* fix typo

* fix typos

* fix typo

* fix typo

* fix typo
  • Loading branch information
omahs authored Apr 9, 2024
1 parent f489c39 commit 81691c9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/increase_paid_storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const op = await Tezos.contract.increasePaidStorage({

await op.confirmation();
```
- `amount` is the the number of `bytes` you want to increase the paid storage by
- `amount` is the number of `bytes` you want to increase the paid storage by
- `destination` is the `KT1` address of the smart contract which storage you would like to increase

After waiting for the operation confirmation, you will also have access to various getters of the operation such as `status`, `amount`, `destination`, `fee`, `gasLimit`, `errors`, `storageLimit`, `consumedMilligas`.
Expand Down Expand Up @@ -105,4 +105,4 @@ const batch = await Tezos.wallet

const op = await batch.send();
await op.confirmation();
```
```
4 changes: 2 additions & 2 deletions docs/smart_rollups.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ await op.confirmation();
- `kernel` is passed as a hexadecimal string examples can be found at [this tezos docs endpoint](https://tezos.gitlab.io/active/smart_rollups.html)
- `parametersType` is a MichelsonV1Expression to define the type.

For more information in regards to Smart Rollup Origination please refer to the this [link](https://tezos.gitlab.io/active/smart_rollups.html#origination)
For more information in regards to Smart Rollup Origination please refer to this [link](https://tezos.gitlab.io/active/smart_rollups.html#origination)


## `smart_rollup_add_messages`
Expand Down Expand Up @@ -76,7 +76,7 @@ You may obtain the serialized output proof and commitment hash through an RPC ca
`<smart-rollup-node-base-url>/global/block/head/helpers/proofs/outbox/${outboxMessageLevel}/messages?index=${outboxMessageIndex}`
Where:
* `outboxMessageLevel` is the Tezos level of the outbox message;
* `outboxMessageIndex` is the index (number) of the the outbox message.
* `outboxMessageIndex` is the index (number) of the outbox message.

The outbox message can only be executed when the corresponding commitment is cemented.

Expand Down
2 changes: 1 addition & 1 deletion docs/version.md
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ The `RPCRunOperationParam` parameter has new optional properties: `self`, `unpar
Added support to forge and unforge the new operation kinds `transfer_ticket`, `tx_rollup_origination` and `tx_rollup_submit_batch` related to TORU. We plan to add support for the remaining operations in a subsequent release.
## `@taquito/michelson-encoder` - Added support for the the new type`tx_rollup_l2_address`
## `@taquito/michelson-encoder` - Added support for the new type`tx_rollup_l2_address`
We created a new class `TxRollupL2AddressToken` in the michelson-encoder to support the new Michelson type `tx_rollup_l2_address`. This type is used to identify accounts on transaction rollups' ledgers. Those accounts are prefixed with `tz4`.
The `TxRollupL2AddressToken` class allows users of Taquito to pass `tz4` addresses in storage or smart contract entry points using the Taquito JS abstraction.
Expand Down
2 changes: 1 addition & 1 deletion packages/taquito-rpc/src/rpc-client-modules/rpc-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ export class RpcClientCache implements RpcClientInterface {
* @param data Data to pack
* @param options contains generic configuration for rpc calls to specified block (default to head)
* @description Computes the serialized version of a data expression using the same algorithm as script instruction PACK
* Note: You should always verify the packed bytes before signing or requesting that they be signed when using the the RPC to pack.
* Note: You should always verify the packed bytes before signing or requesting that they be signed when using the RPC to pack.
* This precaution helps protect you and your applications users from RPC nodes that have been compromised.
* A node that is operated by a bad actor, or compromised by a bad actor could return a fully formed operation that does not correspond to the input provided to the RPC endpoint.
* A safer solution to pack and sign data would be to use the `packDataBytes` function available in the `@taquito/michel-codec` package.
Expand Down
2 changes: 1 addition & 1 deletion packages/taquito-rpc/src/taquito-rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ export class RpcClient implements RpcClientInterface {
* @param data Data to pack
* @param options contains generic configuration for rpc calls to specified block (default to head)
* @description Computes the serialized version of a data expression using the same algorithm as script instruction PACK
* Note: You should always verify the packed bytes before signing or requesting that they be signed when using the the RPC to pack.
* Note: You should always verify the packed bytes before signing or requesting that they be signed when using the RPC to pack.
* This precaution helps protect you and your applications users from RPC nodes that have been compromised.
* A node that is operated by a bad actor, or compromised by a bad actor could return a fully formed operation that does not correspond to the input provided to the RPC endpoint.
* A safer solution to pack and sign data would be to use the `packDataBytes` function available in the `@taquito/michel-codec` package.
Expand Down

0 comments on commit 81691c9

Please sign in to comment.