Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Leouarz committed Feb 21, 2024
1 parent 351b797 commit 3877fa7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ There you can learn how to:
- Running Avail Benchmarks


## Interract with the chain
You can find on this repository many example on how to interract with any avail chain.
## interact with the chain
You can find on this repository many example on how to interact with any avail chain.
- In the avail-js folder, you will find our wrapper for polkadot js including multiple helpers.
- The example folder contains some examples using node-js and an example web app to setup the extension.
- In the avail-subxt folder, you will find our fork of subxt with some example on usage.
Expand Down
4 changes: 2 additions & 2 deletions avail-js/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h1><a href="#md:avail-js">Avail-js</a></h1>
<p>Library to connect to Avail</p>
<a id="md:introduction" class="tsd-anchor"></a>
<h2><a href="#md:introduction">Introduction</a></h2>
<p>The simplest way to interract with the avail chain.</p>
<p>The simplest way to interact with the avail chain.</p>
<a id="md:installation" class="tsd-anchor"></a>
<h2><a href="#md:installation">Installation</a></h2>
<p>Pre-requisites: <a href="https://nodejs.org/en/download/">Node.js</a></p>
Expand All @@ -71,7 +71,7 @@ <h2><a href="#md:examples">Examples</a></h2>
<a id="md:goals" class="tsd-anchor"></a>
<h2><a href="#md:goals">Goals</a></h2>
<ul>
<li>Provide an easy way to interract with avail</li>
<li>Provide an easy way to interact with avail</li>
<li>Facilitate account management</li>
<li>Add utility helpers</li>
<li>Still expose polkadot-js</li>
Expand Down
4 changes: 2 additions & 2 deletions avail-js/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Library to connect to Avail

## Introduction

The simplest way to interract with the avail chain.
The simplest way to interact with the avail chain.

## Installation

Expand All @@ -26,7 +26,7 @@ npm install avail-js-sdk

## Goals

- Provide an easy way to interract with avail
- Provide an easy way to interact with avail
- Facilitate account management
- Add utility helpers
- Still expose polkadot-js
Expand Down
2 changes: 1 addition & 1 deletion avail-js/src/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const decodeHexAppId = (value: `0x${string}`): string => {
/**
* Extracts the data from a da submission
*
* @param {ApiPromise} api the api to interract with the chain.
* @param {ApiPromise} api the api to interact with the chain.
* @param {string} blockHash the hash of the block to query at.
* @param {string} extrinsicHash the hash of the extrinsic to query at.
* @return {Promise<string>} the bytes representing the data
Expand Down

2 comments on commit 3877fa7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 3877fa7 Previous: 33f7951 Ratio
commitment_builder/32 4674204192 ns/iter (± 210390223) 4325417137 ns/iter (± 81695432) 1.08
commitment_builder/64 4426435165 ns/iter (± 134426616) 4343451680 ns/iter (± 92231152) 1.02
commitment_builder/128 4904285390 ns/iter (± 217332339) 4647446215 ns/iter (± 137494514) 1.06
commitment_builder/256 2382272277 ns/iter (± 57354178) 2367397557 ns/iter (± 42776582) 1.01

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 3877fa7 Previous: 909af7f Ratio
commitment_builder_32 Instructions 43493432004 ops (± 0) 43503093041 ops (± 0) 1.00
commitment_builder_32 L1 Accesses 53524861148 ops (± 0) 53514815042 ops (± 0) 1.00
commitment_builder_32 L2 Accesses 764196 ops (± 0) 700403 ops (± 0) 1.09
commitment_builder_32 RAM Accesses 75478 ops (± 0) 89904 ops (± 0) 0.84
commitment_builder_32 Estimated Cycles 53531323858 ops (± 0) 53521463697 ops (± 0) 1.00
commitment_builder_64 Instructions 41961906419 ops (± 0) 41972869826 ops (± 0) 1.00
commitment_builder_64 L1 Accesses 51416122686 ops (± 0) 51407870438 ops (± 0) 1.00
commitment_builder_64 L2 Accesses 838960 ops (± 0) 893120 ops (± 0) 0.94
commitment_builder_64 RAM Accesses 190200 ops (± 0) 191298 ops (± 0) 0.99
commitment_builder_64 Estimated Cycles 51426974486 ops (± 0) 51419031468 ops (± 0) 1.00
commitment_builder_128 Instructions 54191906161 ops (± 0) 54204175550 ops (± 0) 1.00
commitment_builder_128 L1 Accesses 68309824537 ops (± 0) 68301951624 ops (± 0) 1.00
commitment_builder_128 L2 Accesses 1254076 ops (± 0) 1258510 ops (± 0) 1.00
commitment_builder_128 RAM Accesses 258129 ops (± 0) 242507 ops (± 0) 1.06
commitment_builder_128 Estimated Cycles 68325129432 ops (± 0) 68316731919 ops (± 0) 1.00
commitment_builder_256 Instructions 31752243307 ops (± 0) 31758548180 ops (± 0) 1.00
commitment_builder_256 L1 Accesses 40836184431 ops (± 0) 40833274463 ops (± 0) 1.00
commitment_builder_256 L2 Accesses 6801182 ops (± 0) 6788005 ops (± 0) 1.00
commitment_builder_256 RAM Accesses 254305 ops (± 0) 239352 ops (± 0) 1.06
commitment_builder_256 Estimated Cycles 40879091016 ops (± 0) 40875591808 ops (± 0) 1.00

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.