Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Feb 1, 2025
1 parent 08d7c34 commit dd474c8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ The following benchmarks are for a single packet transfer without aggregation.
| **Contract** | **Method** | **Description** | **Gas (groth16)** | **Gas (plonk)** |
|:---:|:---:|:---:|:---:|:---:|
| `ICS26Router.sol` | `sendPacket` | Initiating an IBC transfer with an `ERC20`. | ~160,500 | ~160,500 |
| `ICS26Router.sol` | `recvPacket` | Receiving _back_ an `ERC20` token. | ~514,404 | ~598,268 |
| `ICS26Router.sol` | `recvPacket` | Receiving a _new_ Cosmos token for the first time. (Deploying an `ERC20` contract) | ~1,364,844 | ~1,448,420 |
| `ICS26Router.sol` | `ackPacket` | Acknowledging an ICS20 packet. | ~395,625 | ~479,390 |
| `ICS26Router.sol` | `timeoutPacket` | Timing out an ICS20 packet | ~452,966 | ~536,673 |
| `ICS26Router.sol` | `sendPacket` | Initiating an IBC transfer with an `ERC20`. | ~156,150 | ~156,150 |
| `ICS26Router.sol` | `recvPacket` | Receiving _back_ an `ERC20` token. | ~434,621 | ~508,755 |
| `ICS26Router.sol` | `recvPacket` | Receiving a _new_ Cosmos token for the first time. (Deploying an `ERC20` contract) | ~1,429,785 | ~1,503,717 |
| `ICS26Router.sol` | `ackPacket` | Acknowledging an ICS20 packet. | ~308,692 | ~382,757 |
| `ICS26Router.sol` | `timeoutPacket` | Timing out an ICS20 packet | ~365,355 | ~439,550 |
### Aggregated Packet Benchmarks
Expand All @@ -174,8 +174,8 @@ Since there is no meaningful difference in gas costs between plonk and groth16 i
| **ICS26Router Method** | **Description** | **Avg Gas (25 packets)** | **Avg Gas (50 packets)** |
|:---:|:---:|:---:|:---:|
| `multicall/recvPacket` | Receiving _back_ an `ERC20` token. | ~185,876 | ~179,615 |
| `multicall/ackPacket` | Acknowledging an ICS20 packet. | ~96,436 | ~90,776 |
| `multicall/recvPacket` | Receiving _back_ an `ERC20` token. | ~185,811 | ~181,461 |
| `multicall/ackPacket` | Acknowledging an ICS20 packet. | ~82,914 | ~78,926 |
Note: These gas benchmarks are with Groth16.
Expand Down

0 comments on commit dd474c8

Please sign in to comment.