Skip to content

Add komet support#8

Merged
aolieman merged 8 commits intomainfrom
komet
Aug 5, 2025
Merged

Add komet support#8
aolieman merged 8 commits intomainfrom
komet

Conversation

@aolieman
Copy link
Contributor

@aolieman aolieman commented Aug 5, 2025

This adds komet configuration and a komet-sink-carbon contract for use with the K fuzzer and prover.

The komet experiments have led to improvements in our cargo test setup, and in contract error handling and reporting. Our previous error handling could lead to SAC errors being masked. We still want to return custom errors for common user mistakes, and now improve clarity by publishing events for the SAC errors that we handle.

The property verification for sink_carbon is not yet complete. We aim to verify that the operation does a particular atomic swap—from funder to recipient and from CARBON to CarbonSINK—without any side-effects, and that the recipient's CarbonSINK balance is always de-authorized at the end. To be able to do this in komet, we need a WASM implementation of the SAC, which is not yet available. This prerequisite is tracked in runtimeverification/komet#90.

@aolieman aolieman merged commit 62854ff into main Aug 5, 2025
1 check failed
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.

1 participant