atoma-network / atoma-contracts

Smart contracts repository for the Atoma Network
2 stars 0 forks source link

Current claim funds logic for a node forces it to pay fees for attestation nodes state update #103

Open jorgeantonio21 opened 1 month ago

jorgeantonio21 commented 1 month ago

Given that the initial number of attestation nodes is small, and the cross replication rate is also small, this is likely fine. Moreover, these costs will be rotate among node participants.

However, it is probably more robust to have a system where execution nodes do not update anyone else state, except for itself (and potentially the user?).

This can be done, by introduce an AttestationClaimProof that is stored on the AtomaDb whenever an attestation node submits its commitment.