-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add skeleton for Noto/Zeto domainapi tests #73
Commits on Aug 22, 2024
-
Add skeleton for Noto domainapi test
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82336e1 - Browse repository at this point
Copy the full SHA 82336e1View commit details -
Move gRPC listening logic into domain file
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0937de0 - Browse repository at this point
Copy the full SHA 0937de0View commit details -
Add replies and graceful close of gRPC client
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a4010c - Browse repository at this point
Copy the full SHA 8a4010cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 274f4b2 - Browse repository at this point
Copy the full SHA 274f4b2View commit details -
Slightly better Gradle trigger for domain test
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4536c8d - Browse repository at this point
Copy the full SHA 4536c8dView commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7a029d - Browse repository at this point
Copy the full SHA d7a029dView commit details -
Perform domain deploy using NotoFactory
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05d06ce - Browse repository at this point
Copy the full SHA 05d06ceView commit details -
Convert Noto runner to a Go test (instead of a binary)
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0320ded - Browse repository at this point
Copy the full SHA 0320dedView commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91739b5 - Browse repository at this point
Copy the full SHA 91739b5View commit details -
Fix noto dependency on compiled proto files
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7538b6 - Browse repository at this point
Copy the full SHA e7538b6View commit details -
Allow starting gRPC over TCP socket or Unix socket
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c791bf0 - Browse repository at this point
Copy the full SHA c791bf0View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97d5c78 - Browse repository at this point
Copy the full SHA 97d5c78View commit details -
Adjust to match latest domainapi interface
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b8c3a0 - Browse repository at this point
Copy the full SHA 0b8c3a0View commit details -
Add simple transaction submission to noto e2e test
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6d9709 - Browse repository at this point
Copy the full SHA b6d9709View commit details -
Fix container names for kata component tests
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d5a49f1 - Browse repository at this point
Copy the full SHA d5a49f1View commit details -
Include notary address in domain data
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f05f5a4 - Browse repository at this point
Copy the full SHA f05f5a4View commit details -
Resolve notary address at deploy time
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cde097b - Browse repository at this point
Copy the full SHA cde097bView commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d28978 - Browse repository at this point
Copy the full SHA 0d28978View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc9e600 - Browse repository at this point
Copy the full SHA cc9e600View commit details -
noto: Clean up return values from handler
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77e22a6 - Browse repository at this point
Copy the full SHA 77e22a6View commit details -
noto: Add functioning states for mint
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33dfe3a - Browse repository at this point
Copy the full SHA 33dfe3aView commit details -
noto: propagate errors back through domain handler
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3165008 - Browse repository at this point
Copy the full SHA 3165008View commit details -
noto: add transfer method with basic coin selection
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23f3b32 - Browse repository at this point
Copy the full SHA 23f3b32View commit details -
noto: don't emit transaction event yet
This event doesn't seem to be handled by the platform yet, and the unit tests need a slight adjustment when the event is added. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00d734e - Browse repository at this point
Copy the full SHA 00d734eView commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98c9a65 - Browse repository at this point
Copy the full SHA 98c9a65View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4be9e4 - Browse repository at this point
Copy the full SHA e4be9e4View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 293b83f - Browse repository at this point
Copy the full SHA 293b83fView commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bb173f - Browse repository at this point
Copy the full SHA 3bb173fView commit details -
noto: Perform proper validation of transactions
- Resolve from/to addresses - Check math before submission - Acquire EIP712 signature from sender Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87c56d6 - Browse repository at this point
Copy the full SHA 87c56d6View commit details -
noto: split logic into different handlers per method
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61f97f3 - Browse repository at this point
Copy the full SHA 61f97f3View commit details -
noto: cleaner definition of domain ABI
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2862ac1 - Browse repository at this point
Copy the full SHA 2862ac1View commit details -
Pass input transaction spec in prepare request
This gives the "prepare" phase more context when building the base ledger transaction. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27ebfa1 - Browse repository at this point
Copy the full SHA 27ebfa1View commit details -
noto: add Prepare to domain interface
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9881a63 - Browse repository at this point
Copy the full SHA 9881a63View commit details -
noto: add separate "mint" method on base contract
Also reorganize naming of Noto variants for better clarity. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5e6319 - Browse repository at this point
Copy the full SHA c5e6319View commit details -
noto: clean up use of verifiers
- Ensure notary is resolved properly - Only allow notary to mint - Don't resolve unnecessary verifiers Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d6f119 - Browse repository at this point
Copy the full SHA 1d6f119View commit details -
noto: clean up validation steps
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25988a5 - Browse repository at this point
Copy the full SHA 25988a5View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 441084b - Browse repository at this point
Copy the full SHA 441084bView commit details -
noto: add basic test for NotoSelfSubmit variant
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 393eb5e - Browse repository at this point
Copy the full SHA 393eb5eView commit details -
Only dump Docker logs from within the duration of the build
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2f02a0 - Browse repository at this point
Copy the full SHA c2f02a0View commit details -
Include attestation request name in endorsement request
For transactions that require multiple endorsements, this can help the domain to understand which endorsement is being processed with each endorsement request. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 978549a - Browse repository at this point
Copy the full SHA 978549aView commit details -
noto: add transaction handling for NotoSelfSubmit variant
This variant requires the notary to provide a signature on the assembled (masked) transaction values, then allows the sender to perform final submission of the transaction. The notary signature is recovered and verified on the base ledger. Whether or not this is a realistic variant for use, it provides validation of a multi-endorsement pattern and for domain variants in general. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0bf8977 - Browse repository at this point
Copy the full SHA 0bf8977View commit details -
noto: change receiver var name
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bae21b4 - Browse repository at this point
Copy the full SHA bae21b4View commit details -
noto: remove "from" parameter on transfers
For now, transfer is always from self. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 150d1ac - Browse repository at this point
Copy the full SHA 150d1acView commit details -
noto: validate ownership of coins before allowing transfer
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b2e69b - Browse repository at this point
Copy the full SHA 8b2e69bView commit details -
Hack to fix the constantly failing SQLite component test
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fca34c - Browse repository at this point
Copy the full SHA 4fca34cView commit details -
Create sample Zeto wrapper contract for Paladin
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ccca23 - Browse repository at this point
Copy the full SHA 7ccca23View commit details -
Create skeleton project for a Zeto domain test
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 222dd68 - Browse repository at this point
Copy the full SHA 222dd68View commit details
Commits on Aug 23, 2024
-
Rebuild solidity when zeto contracts change
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e4ef03 - Browse repository at this point
Copy the full SHA 1e4ef03View commit details -
zeto: working contract deployment with library linkage
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b982b26 - Browse repository at this point
Copy the full SHA b982b26View commit details -
zeto: basic mint functionality
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3578952 - Browse repository at this point
Copy the full SHA 3578952View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6eb519c - Browse repository at this point
Copy the full SHA 6eb519cView commit details -
Include submodules in PR build
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90d02f9 - Browse repository at this point
Copy the full SHA 90d02f9View commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 82ad3a0 - Browse repository at this point
Copy the full SHA 82ad3a0View commit details
Commits on Aug 26, 2024
-
Don't insert empty elements in Snark proof
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 719dc9d - Browse repository at this point
Copy the full SHA 719dc9dView commit details -
Caller needs to select outputs salts
If salt is not selected by the caller, the caller won't have enough info to create states. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f35acc4 - Browse repository at this point
Copy the full SHA f35acc4View commit details -
zeto: add transfer functionality with ZKP
Known limitations: - Global variables are used to pass state data from Assemble to Prepare - Only works with exactly 2 input coins and 2 output coins Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0fb0e2d - Browse repository at this point
Copy the full SHA 0fb0e2dView commit details -
zeto: cleanup in handler_transfer
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b9ddd7 - Browse repository at this point
Copy the full SHA 0b9ddd7View commit details -
Pass full state data to Prepare
Unclear if this is the final form of this fix, but the "Prepare" phase needs the full state data in some cases. This allows removing the temporary global variables in the Zeto domain. Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0a113c - Browse repository at this point
Copy the full SHA c0a113cView commit details
Commits on Aug 27, 2024
-
zeto: ensure correct number of input/output states for proof
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c021b1 - Browse repository at this point
Copy the full SHA 0c021b1View commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8560816 - Browse repository at this point
Copy the full SHA 8560816View commit details -
Update Noto test to use latest testbed logic
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a13fac8 - Browse repository at this point
Copy the full SHA a13fac8View commit details -
Update Zeto test to use latest testbed logic
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 277c812 - Browse repository at this point
Copy the full SHA 277c812View commit details
Commits on Aug 29, 2024
-
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 790e020 - Browse repository at this point
Copy the full SHA 790e020View commit details -
Stop loaded at end of test, and reduce gRPC server shutdown timeout
Signed-off-by: Peter Broadhurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2c074a - Browse repository at this point
Copy the full SHA b2c074aView commit details -
Stop all loaded plugins when testbed stops
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ad154e - Browse repository at this point
Copy the full SHA 3ad154eView commit details -
Include full state from "endorse" in "prepare" request
Rather than just state refs, send the whole state data (which might include information needed to prepare the base ledger transaction). Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a6df956 - Browse repository at this point
Copy the full SHA a6df956View commit details -
zeto: fix remaining integration issues with E2E test
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c31b64 - Browse repository at this point
Copy the full SHA 8c31b64View commit details -
zeto: do not use separate identifier for Babyjubjub keys
A single identity string can be used to refer to multiple types of keys (see fix in #98). Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac55b56 - Browse repository at this point
Copy the full SHA ac55b56View commit details -
zeto: perform initial deploy more efficiently
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b4b93dc - Browse repository at this point
Copy the full SHA b4b93dcView commit details -
Signed-off-by: Peter Broadhurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22bd5c3 - Browse repository at this point
Copy the full SHA 22bd5c3View commit details -
Merge branch 'domainapi-noto' of https://github.com/kaleido-io/paladin …
…into domainapi-noto Signed-off-by: Peter Broadhurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a01fcf8 - Browse repository at this point
Copy the full SHA a01fcf8View commit details -
Signed-off-by: Jim Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1810fb2 - Browse repository at this point
Copy the full SHA 1810fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa44fb - Browse repository at this point
Copy the full SHA 6fa44fbView commit details -
Try a download type and using buildDir
Signed-off-by: Jim Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e19b3cc - Browse repository at this point
Copy the full SHA e19b3ccView commit details -
Signed-off-by: Andrew Richardson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1570d33 - Browse repository at this point
Copy the full SHA 1570d33View commit details -
Revert zeto dependency to pre-upgradeable
Signed-off-by: Jim Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e759e79 - Browse repository at this point
Copy the full SHA e759e79View commit details -
Update to zeto dependency that uses local snarkjs
Signed-off-by: Jim Zhang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b179fc - Browse repository at this point
Copy the full SHA 4b179fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 256ac3d - Browse repository at this point
Copy the full SHA 256ac3dView commit details