Commit 9fd5be8e authored by Will Cory's avatar Will Cory

remove allowfailures

parent 29787f64
---
'@eth-optimism/atst': minor
---
Remove broken allowFailures as option
...@@ -171,11 +171,6 @@ const attestation = await readAttestations({ ...@@ -171,11 +171,6 @@ const attestation = await readAttestations({
* @defaults defaults to the create2 address * @defaults defaults to the create2 address
*/ */
contractAddress, contractAddress,
/**
* Boolean: Whether to allow some of the calls to fail
* Defaults to false
*/
allowFailures,
}) })
``` ```
......
...@@ -19,7 +19,6 @@ import { parseAttestationBytes } from './parseAttestationBytes' ...@@ -19,7 +19,6 @@ import { parseAttestationBytes } from './parseAttestationBytes'
* creator: creatorAddress, * creator: creatorAddress,
* about: aboutAddress, * about: aboutAddress,
* key: 'my_key', * key: 'my_key',
* allowFailure: false,
* }, * },
* { * {
* creator: creatorAddress2, * creator: creatorAddress2,
...@@ -27,7 +26,6 @@ import { parseAttestationBytes } from './parseAttestationBytes' ...@@ -27,7 +26,6 @@ import { parseAttestationBytes } from './parseAttestationBytes'
* key: 'my_key', * key: 'my_key',
* dataType: 'number', * dataType: 'number',
* contractAddress: '0x1234', * contractAddress: '0x1234',
* allowFailure: false,
* }, * },
* ) * )
*/ */
...@@ -40,7 +38,6 @@ export const readAttestations = async ( ...@@ -40,7 +38,6 @@ export const readAttestations = async (
about, about,
key, key,
contractAddress = ATTESTATION_STATION_ADDRESS, contractAddress = ATTESTATION_STATION_ADDRESS,
allowFailure = false,
} = attestation } = attestation
if (key.length > 32) { if (key.length > 32) {
throw new Error( throw new Error(
...@@ -52,7 +49,6 @@ export const readAttestations = async ( ...@@ -52,7 +49,6 @@ export const readAttestations = async (
abi, abi,
functionName: 'attestations', functionName: 'attestations',
args: [creator, about, formatBytes32String(key) as WagmiBytes], args: [creator, about, formatBytes32String(key) as WagmiBytes],
allowFailure,
} as const } as const
}) })
......
...@@ -11,5 +11,4 @@ export interface AttestationReadParams { ...@@ -11,5 +11,4 @@ export interface AttestationReadParams {
key: string key: string
dataType?: DataTypeOption dataType?: DataTypeOption
contractAddress?: Address contractAddress?: Address
allowFailure?: boolean
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment