You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Fixes: Resolved timeout issues for the get quote function.
Nada Operators: Added not (~) operator
Nada CLI Tools: Added metrics and a benchmarking tool for improved performance analysis.
Testing Framework: Launched nada-test, a new Nada testing framework with enhanced features like ordered inputs/outputs and execution results in test files.
Nillion Client Enhancements: Introduced retrieve_permissions, a new API for retrieving permissions of a secret.
GRPC Update: New recommended GRPC endpoint for Python Client users
⛓️💥 Breaking changes
Developers will need to upgrade to the latest versions of the Nillion SDK and Nillion Clients due to breaking changes:
Program Compatibility: Existing Nada programs compiled with previous versions of nillion tools will not work until they are recompiled with the latest version of the nillion SDK. Please follow the upgrade steps to recompile your programs.
Nada Test Files: The nada test tool has been updated, and older test files will no longer be compatible. You must regenerate all test files using the new format. Refer to the upgrade steps for detailed instructions on how to generate the new test files.
GRPC Update for Nillion Python Client Users: If you’re using the Nillion Python Client and the nillion-python-helpers package, be aware of a breaking change in the GRPC configuration. Please upgrade to the latest versions of the py-nillion-client and nillion-python-helpers packages and update your network configuration to reflect the new recommended GRPC endpoint to ensure continued functionality.
📋 How to upgrade
Upgrade to the latest SDK version using nilup], the installer and version manager for the Nillion SDK
nilup install latest
nilup use latest
Upgrade Python packages: Nada, Python Client, and other Nillion libraries
npm i -D @nillion/client-core@latest @nillion/client-vms@latest @nillion/client-react-hooks@latest
Version 0.6.0 introduces updates to nada test, and removes the need to define a Nada value’s type within the test file. Re-generate nada test files with this command:
Store all re-compiled Nada programs (using the new [program].nada.bin binary files) on the Nillion Testnet (Photon or Nucleus) - endpoints haven’t changed
🔧 New feature descriptions & resources
Metrics flag for nada run
We’ve introduced a new --metrics flag for the nada run command, allowing you to capture detailed test execution metrics in text, a yaml file, or a json file. This feature helps developers analyze program performance and protocol efficiency.
Our new Nada CLI benchmarking tool allows you to evaluate the performance of your programs across multiple runs. The benchmark summary includes test duration, number of protocol rounds, round data, preprocessing elements, local operations executed, and online protocol steps.
The NOT operator, represented by the tilde symbol (~), is used in the Nada DSL to invert or negate a boolean value. When applied to a boolean expression, the ~ operator flips its value—turning True to False and False to True.
nada-test is a testing framework designed for Nada programs, allowing you to write tests in a simple and flexible way. Unlike the static YAML test files that can be generated with the nada tool, nada-test generates dynamic tests at runtime based on the test functions you write, offering greater flexibility.
The Retrieve Permissions API lets you access the current permissions associated with your secret data and check if a user has access to an operation. Use this feature to check who has retrieval rights before performing operations, ensuring that your security policies are enforced.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What’s new
nada-test
, a new Nada testing framework with enhanced features like ordered inputs/outputs and execution results in test files.⛓️💥 Breaking changes
Developers will need to upgrade to the latest versions of the Nillion SDK and Nillion Clients due to breaking changes:
nillion
tools will not work until they are recompiled with the latest version of the nillion SDK. Please follow the upgrade steps to recompile your programs.nada test
tool has been updated, and older test files will no longer be compatible. You must regenerate all test files using the new format. Refer to the upgrade steps for detailed instructions on how to generate the new test files.📋 How to upgrade
Upgrade to the latest SDK version using nilup], the installer and version manager for the Nillion SDK
Upgrade Python packages: Nada, Python Client, and other Nillion libraries
Upgrade JavaScript packages: ts-client
Version 0.6.0 introduces updates to nada test, and removes the need to define a Nada value’s type within the test file. Re-generate nada test files with this command:
Nada test file before 0.6.0
Nada test file after 0.6.0
Re-compile all Nada programs
Python Client users should update their Python .env to use the recommended Lavender Five GRPC endpoint.
Previous GRPC:
65.109.228.73:9090
Recommended GRPC:
https://testnet-nillion-grpc.lavenderfive.com
Store all re-compiled Nada programs (using the new [program].nada.bin binary files) on the Nillion Testnet (Photon or Nucleus) - endpoints haven’t changed
🔧 New feature descriptions & resources
Metrics flag for nada run
We’ve introduced a new --metrics flag for the nada run command, allowing you to capture detailed test execution metrics in text, a yaml file, or a json file. This feature helps developers analyze program performance and protocol efficiency.
Benchmarking tool for Nada CLI
Our new Nada CLI benchmarking tool allows you to evaluate the performance of your programs across multiple runs. The benchmark summary includes test duration, number of protocol rounds, round data, preprocessing elements, local operations executed, and online protocol steps.
NOT (~) Nada Operator
The NOT operator, represented by the tilde symbol (~), is used in the Nada DSL to invert or negate a boolean value. When applied to a boolean expression, the ~ operator flips its value—turning True to False and False to True.
Nada-Test Framework
nada-test
is a testing framework designed for Nada programs, allowing you to write tests in a simple and flexible way. Unlike the static YAML test files that can be generated with thenada
tool, nada-test generates dynamic tests at runtime based on the test functions you write, offering greater flexibility.Retrieve Permissions API
The Retrieve Permissions API lets you access the current permissions associated with your secret data and check if a user has access to an operation. Use this feature to check who has retrieval rights before performing operations, ensuring that your security policies are enforced.
Beta Was this translation helpful? Give feedback.
All reactions