Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #20 Oblivious Update #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arunayyarsamy
Copy link

New Nada Example

Description

Obliviously update an element of a list if it exists. Checks whether a specific value old_value is present in the list. If it is present update the old_value to new_value.

Changes

  • Added oblivious_update.py to the src/directory.
  • Added oblivious_update_test.yaml to the tests/directory for testing the replaced value on the list.
  • Updated nada-project.toml to include this new program.

Related Issues

This pull request addresses the issue #20 , Which requested a new example for Obliviously updating element which matches a specific value to a new value.

Optional: add your information for a Nada by Example Contributor POAP

Your Twitter: @apanarun
Your Ethereum address: 0xEd1b1356CB4b6bFC5c77dd7172b753Ba15e14C57

Copy link
Member

@jimouris jimouris left a comment

Choose a reason for hiding this comment

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

looks good!

@jimouris jimouris requested a review from oceans404 December 6, 2024 13:37
Copy link
Member

@jimouris jimouris left a comment

Choose a reason for hiding this comment

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

@oceans404 LGTM

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.

3 participants