Skip to content

Commit

Permalink
Merge pull request #29 from VladLeustean/main
Browse files Browse the repository at this point in the history
Fix for Millionaire demo mir path
  • Loading branch information
oceans404 authored Jun 11, 2024
2 parents 64af61a + 6c79f7a commit 58e193d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from dotenv import load_dotenv
from config import (
CONFIG_PROGRAM_NAME,
CONFIG_PARTY_1
)

Expand All @@ -24,7 +25,7 @@ async def main():
millionaires_program_name = "millionaires"

# Note: check out the code for the full millionaires program in the programs folder
program_mir_path = "millionaires.nada.bin"
program_mir_path=f"../../programs-compiled/{CONFIG_PROGRAM_NAME}.nada.bin"

# Store millionaires program in the network
print(f"Storing program in the network: {millionaires_program_name}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import py_nillion_client as nillion
from dotenv import load_dotenv
load_dotenv()
CONFIG_PROGRAM_NAME="millionaires"

# Alice
CONFIG_PARTY_1={
Expand Down Expand Up @@ -29,4 +30,3 @@
"secret_name": "charlie_salary",
"secret_value": 12000,
},
]

0 comments on commit 58e193d

Please sign in to comment.