Skip to content

Commit

Permalink
Change batch identifier size from 32 bytes to 64 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat committed Sep 4, 2024
1 parent d14ce17 commit 0ecea7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions EIPS/eip-5792.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ type SendCallsResult = string;

##### `wallet_sendCalls` Example Return Value

The identifier MUST be unique 32 bytes represented as a hex encoded string.
The identifier MUST be unique 64 bytes represented as a hex encoded string.
For a given session, users should be able to call `wallet_getCallsStatus` with this value and expect a call-batch status
to be returned.

```json
"0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
"0x00000000000000000000000000000000000000000000000000000000000000000e670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
```

### `wallet_getCallsStatus`
Expand Down Expand Up @@ -170,11 +170,11 @@ It provides some off-chain context to the array of inner transaction `receipts`.

##### `wallet_getCallsStatus` Example Parameters

The batch identifier is a unique 32 bytes represented as a hex encoded string returned from `wallet_sendCalls`.
The batch identifier is a unique 64 bytes represented as a hex encoded string returned from `wallet_sendCalls`.

```json
[
"0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
"0x00000000000000000000000000000000000000000000000000000000000000000e670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
]
```

Expand All @@ -183,7 +183,7 @@ The batch identifier is a unique 32 bytes represented as a hex encoded string re
```json
{
"chainId": "0x01",
"batchId": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",
"batchId": "0x00000000000000000000000000000000000000000000000000000000000000000e670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331",
"batchStatus": "SUCCESS",
"receipts": [
{
Expand Down

0 comments on commit 0ecea7b

Please sign in to comment.