Skip to content

Fix for Millionaire demo project#29

Merged
oceans404 merged 4 commits intoNillionNetwork:mainfrom
VladLeustean:main
Jun 11, 2024
Merged

Fix for Millionaire demo project#29
oceans404 merged 4 commits intoNillionNetwork:mainfrom
VladLeustean:main

Conversation

@VladLeustean
Copy link
Contributor

@VladLeustean VladLeustean commented Jun 11, 2024

Hi! I found this pathing bug while doing the Millionaire demo project in the Nillion docs. I did this fix for it and Steph encouraged me to raise an issue and do a PR for it.

Here is the issue I raised:
#28

This is my commit to fix it, it updates the config file to hold the "CONFIG_PROGRAM_NAME="millionaires"" variable. It also sets the path variable inside 01_store_secret_party1.py to use the compiled .nada.bin file in the programs-compile directory.

I saw this method being used in the nillion-python-starter/examples_and_tutorials/core_concept_multi_party_compute project.

ETH wallet
0x8Ed084fe1502dAF70A1085e1AD6941DbE52D08c8

Fixed the pathing for the .nada.bin file
Updated the .nada.bin path to use the Config file path. Approach similar to one used in the following project:

/nillion-python-starter/examples_and_tutorials/core_concept_multi_party_compute
missed paranthesis
Forgot to add CONFIG_PROGRAM_NAME variable
@VladLeustean VladLeustean marked this pull request as draft June 11, 2024 22:36
@VladLeustean
Copy link
Contributor Author

@oceans404

@VladLeustean VladLeustean marked this pull request as ready for review June 11, 2024 22:38
@oceans404
Copy link
Contributor

nice! thanks for opening the issue and contributing a PR fix @VladLeustean

@oceans404 oceans404 closed this Jun 11, 2024
@oceans404 oceans404 reopened this Jun 11, 2024
@oceans404 oceans404 merged commit 58e193d into NillionNetwork:main Jun 11, 2024
@oceans404 oceans404 self-requested a review June 11, 2024 23:47
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.

2 participants