Skip to content

Conversation

@ntn-x2
Copy link
Member

@ntn-x2 ntn-x2 commented Mar 6, 2024

Changing the storage hasher before we deploy on production, otherwise we would then need a migration strategy. I think
we can disregard any migrations on our testnets, as the effort is not justified.

I also lowered the limits of the DIP provider template, which were higher than Peregrine, so that it is faster to generate the benchmark worst case.

Related to #601, based on top of #612.

@ntn-x2 ntn-x2 self-assigned this Mar 6, 2024
@ntn-x2 ntn-x2 changed the base branch from develop to aa/dip-improved-benchmarks March 6, 2024 16:03
@ntn-x2 ntn-x2 marked this pull request as ready for review March 7, 2024 08:43
@ntn-x2 ntn-x2 requested a review from Ad96el March 7, 2024 08:43
@ntn-x2 ntn-x2 mentioned this pull request Mar 7, 2024
5 tasks
@ntn-x2 ntn-x2 force-pushed the aa/dip-improved-benchmarks branch from f49354e to bfc7ae5 Compare March 7, 2024 13:38
@ntn-x2 ntn-x2 force-pushed the aa/storage-hasher-safety branch from 2164b18 to 997b267 Compare March 7, 2024 14:06
Copy link
Member

@Ad96el Ad96el left a comment

Choose a reason for hiding this comment

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

LGTM. I also think a migration for your test net is not necessary, but I would probably delete the 2 or 3 commitments via sudo rights. Doesn't feel right to have 2 broken commitments in the storage.

@ntn-x2
Copy link
Member Author

ntn-x2 commented Mar 14, 2024

On hold until #612 is reviewed.

@ntn-x2 ntn-x2 added the ✋on hold status: on hold label Mar 14, 2024
@ntn-x2 ntn-x2 merged commit f4a94f0 into aa/dip-improved-benchmarks Mar 28, 2024
@ntn-x2 ntn-x2 deleted the aa/storage-hasher-safety branch March 28, 2024 07:31
ntn-x2 added a commit that referenced this pull request Mar 28, 2024
Partially fixes KILTprotocol/ticket#2562.

Adds unit tests for the verifier components (components tested are shown
in the checklist below).
It also splits up the proof verification logic into multiple files,
split by when those checks are performed. Check the
`crates/kilt-dip-primitives/src/merkle/v0/` folder for more details. It
addresses an open comment in the DIP refactoring PR:
#602 (comment).

## Elements to add tests for

- [x] `pallet-dip-consumer`
- [x] `pallet-relay-store`
- [x] `ProofVerifier`
- [x] Merge #612
- [x] Merge #613
Ad96el pushed a commit that referenced this pull request Apr 2, 2024
Partially fixes KILTprotocol/ticket#2562.

Adds unit tests for the verifier components (components tested are shown
in the checklist below).
It also splits up the proof verification logic into multiple files,
split by when those checks are performed. Check the
`crates/kilt-dip-primitives/src/merkle/v0/` folder for more details. It
addresses an open comment in the DIP refactoring PR:
#602 (comment).

## Elements to add tests for

- [x] `pallet-dip-consumer`
- [x] `pallet-relay-store`
- [x] `ProofVerifier`
- [x] Merge #612
- [x] Merge #613
ntn-x2 added a commit that referenced this pull request Apr 4, 2024
Partially fixes KILTprotocol/ticket#2562.

Adds unit tests for the verifier components (components tested are shown
in the checklist below).
It also splits up the proof verification logic into multiple files,
split by when those checks are performed. Check the
`crates/kilt-dip-primitives/src/merkle/v0/` folder for more details. It
addresses an open comment in the DIP refactoring PR:
#602 (comment).

## Elements to add tests for

- [x] `pallet-dip-consumer`
- [x] `pallet-relay-store`
- [x] `ProofVerifier`
- [x] Merge #612
- [x] Merge #613
hacker-nova7431 added a commit to hacker-nova7431/kilt-node that referenced this pull request Sep 29, 2025
Partially fixes https://github.com/KILTprotocol/ticket/issues/2562.

Adds unit tests for the verifier components (components tested are shown
in the checklist below).
It also splits up the proof verification logic into multiple files,
split by when those checks are performed. Check the
`crates/kilt-dip-primitives/src/merkle/v0/` folder for more details. It
addresses an open comment in the DIP refactoring PR:
KILTprotocol/kilt-node#602 (comment).

## Elements to add tests for

- [x] `pallet-dip-consumer`
- [x] `pallet-relay-store`
- [x] `ProofVerifier`
- [x] Merge KILTprotocol/kilt-node#612
- [x] Merge KILTprotocol/kilt-node#613
infra-riderju74 added a commit to infra-riderju74/kilt-node that referenced this pull request Oct 27, 2025
Partially fixes https://github.com/KILTprotocol/ticket/issues/2562.

Adds unit tests for the verifier components (components tested are shown
in the checklist below).
It also splits up the proof verification logic into multiple files,
split by when those checks are performed. Check the
`crates/kilt-dip-primitives/src/merkle/v0/` folder for more details. It
addresses an open comment in the DIP refactoring PR:
KILTprotocol/kilt-node#602 (comment).

## Elements to add tests for

- [x] `pallet-dip-consumer`
- [x] `pallet-relay-store`
- [x] `ProofVerifier`
- [x] Merge KILTprotocol/kilt-node#612
- [x] Merge KILTprotocol/kilt-node#613
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants