You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-16
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ just lint
182
182
183
183
## End to End Benchmarks
184
184
185
-
The contracts in this repository are benchmarked end-to-end using foundry. The following benchmarks were ran with the underlying [sp1-ics07-tendermint](https://github.com/cosmos/sp1-ics07-tendermint). About ~230,000 gas is used foreach light client verification (groth16), and this is includedin the gas costs below for`recvPacket`, `timeoutPacket` and `ackPacket`. At the time of writing, proof generation takes around 1 minute. More granular and in-depth benchmarks are planned for the future.
185
+
The contracts in this repository are benchmarked end-to-end using foundry. The following benchmarks were ran with the underlying [sp1-ics07-tendermint](https://github.com/cosmos/sp1-ics07-tendermint). About ~230,000 gas is used foreach light client verification (groth16), and this is includedin the gas costs below for`recvPacket`, `timeoutPacket` and `ackPacket`. At the time of writing, proof generation takes around 25 seconds. More granular and in-depth benchmarks are planned for the future.
186
186
187
187
### Single Packet Benchmarks
188
188
@@ -191,10 +191,10 @@ The following benchmarks are for a single packet transfer without aggregation.
|`PAUSER_ROLE`|`ICS20Transfer.sol`| Set at initialization. | Can pause the contract. |
312
-
|`UNPAUSER_ROLE`|`ICS20Transfer.sol`| Set at initialization. | Can unpause the contract. |
313
-
|`RATE_LIMITER_ROLE`|`Escrow.sol`|`None`| Can set withdrawal rate limits per `ERC20` token. |
314
-
|`RELAYER_ROLE`|`ICS26Router.sol`|`None`| Whitelisted relayer addresses. Anyone can relay if`address(0)` has this role. |
315
-
|`PORT_CUSTOMIZER_ROLE`|`ICS26Router.sol`|`None`| Can set custom port ids for applications. |
316
-
|`CLIENT_ID_CUSTOMIZER_ROLE`|`ICS26Router.sol`|`None`| Can set custom light client ids for applications. |
317
-
|`LIGHT_CLIENT_MIGRATOR_ROLE_{client_id}`|`ICS26Router.sol`| Creator of the light client. | Can migrate the light client identified by `client_id`. |
309
+
|**Role Name**|**Contract**|**Description**|
310
+
|:---:|:---:|:---:|
311
+
|`PAUSER_ROLE`|`ICS20Transfer.sol`| Can pause the contract. |
312
+
|`UNPAUSER_ROLE`|`ICS20Transfer.sol`| Can unpause the contract. |
313
+
|`TOKEN_OPERATOR_ROLE`|`ICS20Transfer.sol`| Has permission to grant and revoke rate limiter and metadata customizer roles |
314
+
|`DELEGATE_SENDER_ROLE`|`ICS20Transfer.sol`| Has permission to call `sendTransferWithSender`|
315
+
|`RATE_LIMITER_ROLE`|`Escrow.sol`| Can set withdrawal rate limits per `ERC20` token. |
316
+
|`METADATA_CUSTOMIZER_ROLE`|`IBCERC20.sol`| Can set custom `ERC20` metadata to this contract. |
317
+
|`PROOF_SUBMITTER_ROLE`|`SP1ICS07Tendermint.sol`| Whitelisted proof submitter addresses. Anyone can submit if`address(0)` has this role. |
318
+
|`RELAYER_ROLE`|`ICS26Router.sol`| Whitelisted relayer addresses. Anyone can relay if`address(0)` has this role. |
319
+
|`PORT_CUSTOMIZER_ROLE`|`ICS26Router.sol`| Can set custom port ids for applications. |
320
+
|`CLIENT_ID_CUSTOMIZER_ROLE`|`ICS26Router.sol`| Can set custom light client ids for applications. |
321
+
|`LIGHT_CLIENT_MIGRATOR_ROLE_{client_id}`|`ICS26Router.sol`| Can migrate the light client identified by `client_id`. Creator of the light client has this role by default. |
0 commit comments