Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
9fd5be8e
Commit
9fd5be8e
authored
Mar 02, 2023
by
Will Cory
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove allowfailures
parent
29787f64
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
fluffy-geese-yell.md
.changeset/fluffy-geese-yell.md
+5
-0
sdk.md
packages/atst/docs/sdk.md
+0
-5
readAttestations.ts
packages/atst/src/lib/readAttestations.ts
+0
-4
AttestationReadParams.ts
packages/atst/src/types/AttestationReadParams.ts
+0
-1
No files found.
.changeset/fluffy-geese-yell.md
0 → 100644
View file @
9fd5be8e
---
'
@eth-optimism/atst'
:
minor
---
Remove broken allowFailures as option
packages/atst/docs/sdk.md
View file @
9fd5be8e
...
@@ -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
,
})
})
```
```
...
...
packages/atst/src/lib/readAttestations.ts
View file @
9fd5be8e
...
@@ -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
})
})
...
...
packages/atst/src/types/AttestationReadParams.ts
View file @
9fd5be8e
...
@@ -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
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment