Skip to content

refactor: offchain reception on entity store#24142

Open
mverzilli wants to merge 4 commits into
martin/expose-entity-store-oraclesfrom
martin/offchain-reception-on-entity-store
Open

refactor: offchain reception on entity store#24142
mverzilli wants to merge 4 commits into
martin/expose-entity-store-oraclesfrom
martin/offchain-reception-on-entity-store

Conversation

@mverzilli

@mverzilli mverzilli commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Re-implementation of offchain reception workflows using the new EntityStore machinery

Note this exposed a problem in the EntityStore idempotency semantics: throwing on an attempt at creating an already existing entity is problematic, because Noir doesn't provide error handling mechanisms. In the end, I decided to make entity creation idempotent, with the first attempt at creating a given entity "winning" to avoid inadvertent overwrites. It is then user responsibility to model their workflows properly (there's plenty of alternatives: change how entity id's are derived, check for existence before attempting creation, using facts, etc).

Closes F-682

@mverzilli mverzilli requested a review from nventuro as a code owner June 16, 2026 19:42
@mverzilli mverzilli removed the request for review from nventuro June 16, 2026 19:42
@mverzilli mverzilli changed the base branch from martin/f-738-tx-resolution-oracle to martin/expose-entity-store-oracles June 16, 2026 19:43
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