diff --git a/src/eth/state.yaml b/src/eth/state.yaml index 4b62c1ee..83d2fb22 100644 --- a/src/eth/state.yaml +++ b/src/eth/state.yaml @@ -23,7 +23,7 @@ - name: Storage slot required: true schema: - $ref: '#/components/schemas/uint256' + $ref: '#/components/schemas/bytesMax32' - name: Block required: false schema: @@ -31,7 +31,7 @@ result: name: Value schema: - $ref: '#/components/schemas/bytes' + $ref: '#/components/schemas/bytes32' - name: eth_getTransactionCount summary: Returns the number of transactions sent from an address. params: diff --git a/src/schemas/base-types.yaml b/src/schemas/base-types.yaml index f301e2bf..da755115 100644 --- a/src/schemas/base-types.yaml +++ b/src/schemas/base-types.yaml @@ -55,7 +55,7 @@ uint64: uint256: title: hex encoded 256 bit unsigned integer type: string - pattern: ^0x([1-9a-f]+[0-9a-f]{0,31})|0$ + pattern: ^0x([1-9a-f]+[0-9a-f]{0,63})|0$ hash32: title: 32 byte hex value type: string