Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz self-assigned this Jul 17, 2025
@lukaszcz lukaszcz force-pushed the delta-computation branch from e05b7c7 to 787007f Compare July 18, 2025 09:30
@lukaszcz lukaszcz marked this pull request as ready for review July 18, 2025 09:31
@lukaszcz lukaszcz requested review from Copilot and janmasrovira and removed request for Copilot July 18, 2025 09:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the computation of delta proofs in transactions, introducing a structured approach to generating proof witnesses for transaction validation. It refactors the existing transaction system by adding DeltaWitness structures and replacing placeholder delta proof generation with a more systematic approach.

  • Introduces DeltaWitness and DeltaProof structures with methods to generate proofs from compliance witnesses
  • Updates transaction creation across the codebase to generate and use delta witnesses alongside actions
  • Refactors universe level handling for Resource and ComplianceWitness structures to improve type safety

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Anoma/Delta.lean New file defining DeltaWitness structure and proof generation functions
Anoma/Transaction.lean Adds delta proof generation method and imports delta module
Anoma/Resource.lean Updates universe level annotations for type safety
Anoma/Compliance.lean Refactors ComplianceWitness with universe levels and reorders fields
AVM/Intent/Translation.lean Updates intent translation to generate delta witnesses alongside actions
AVM/Class/Translation.lean Refactors action creation to include delta witness generation
AVM/Class/Member/Logic.lean Updates dummy resource creation for universe level compatibility
Comments suppressed due to low confidence (1)

AVM/Class/Translation.lean:79

  • Missing comma after nfKey := obj.consumed.key field assignment.
          appData := {

@janmasrovira janmasrovira merged commit 036d90b into main Jul 18, 2025
2 checks passed
@janmasrovira janmasrovira deleted the delta-computation branch July 18, 2025 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add proper delta computation

3 participants