Comments (5)
The rationale behind reference UIDs was to allow building a graph of onchain attestations, so indeed, referencing an offchain attestation won't work here. You can consider attesting to an offchain attestation as part of the scheme, or using the timestamping feature.
from eas-contracts.
But the timestamp also doesn't work? Since isAttestationValid is not checking for _timestamps[uid] != 0
from eas-contracts.
Oh, sorry for not being clear. I've meant that you can reference an offchain attestation by either timestamping it (thus proving in the future that the attestation existed at this time) or by attesting to it via a custom schema. In any case, supporting referencing to offchain attestations explicitly would be definitely something to consider for the next version.
from eas-contracts.
Sadly, because of this problem, I spent 2 days checking the contract(a little complicated) implementation problem. After setting the off-chain reference, a custom error will occur in make on-chain attest, but the specific reason will not be prompted, because it is an exception thrown by revert. You'll never know what went wrong, it's a very, very bad design.
The Offchain attestation reference issue should be clearly told to developers in the documentation, otherwise it will be very confusing when the issue occurs.
from eas-contracts.
I'm sorry that you had a bad experience. We are constantly looking to improve, and I hope that using the latest SDK will help to handle errors more easily.
from eas-contracts.
Related Issues (20)
- Use case HOT 1
- Deployment on Celo HOT 12
- Unexpected Server Error on offchain attestation publish in optimism-goerli-bedrock HOT 3
- attestation.data (un-)packing HOT 2
- XDC Testnet and XDC mainnet support
- Suuu
- Unclear how to code schema & attest with multiple schema fields HOT 1
- Set originator of transaction as attester instead of contract address
- How do I work this
- Asser
- Upgrade to Solidity v0.8.20 HOT 1
- Attestation did not verify whether the format of the `data` matches the `schema`. HOT 4
- When will you deploy on Optimism Mainnet? HOT 6
- When will you deploy on Arthera Testnet ? HOT 3
- Offchain attestation "Attestation failed resolver check" HOT 2
- ENS subdomain not working? HOT 1
- Deployment in polygon HOT 9
- EAS offchain attestation publish API down on moderate load HOT 19
- Error: Unknown Signer for account HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eas-contracts.