Commit f6f48a2
V1.0.6
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
* V1.1
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
---------
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
* V1.1.1
* V1.1
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
---------
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
* Separate deployment and testing
---------
Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com>
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
* V1.1.1 (#98)
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
* V1.1.1
* V1.1
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
---------
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
* Separate deployment and testing
---------
Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com>
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
---------
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
* Separate deploy and test (#99)
* Dev (#100)
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
* V1.1.1
* V1.1
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
---------
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
* Separate deployment and testing
---------
Co-authored-by: daodesigner <58278045+daodesigner@users.noreply.github.com>
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
* Separate deploy and test (#99)
---------
Co-authored-by: ctrlc03 <93448202+ctrlc03@users.noreply.github.com>
Co-authored-by: cedoor <me@cedoor.dev>
Co-authored-by: Jeeiii <giacomo.corrias7@gmail.com>
Co-authored-by: Daehyun Paik <paik@a30a.dev>
* feat(setup): non interactive setup with artifacts download
* feat(setup): add cloud function for file transfer and unit tests
* feat(setup): add transfer of object inside phase2cli
* feat(setup): remove return value and amend tests
* fix(setup): revert transfer of object and add region to config
* feat(setup) fix test template
* fix(setup): fix not waiting for file download
* fix(setup): remove redundant function
* chore(release): publish 1.0.1
* fix(vms): specify region in sns command
* fix(vms) - missing param
* fix(vms): missing doc
* fix(vms): fix default region
* chore(release): publish 1.0.2
* fix(setup): fix vm command due to differences in AMI config between regions
* chore(release): publish 1.0.4
* fix (ceremony) - fix various bugs (#116)
* fix(setup): add spinners
* fix(bugs): fix backend and cli bugs
* fix(regions): move cloud functions to same region as firestore and s3
* fix(tests): add new region on test utils
* merge(dev) - ready to deploy on staging (#109)
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* test(vms): fixed finalize test and cloud function. Adding extra debugging for verification
* fix(vms): fixed wrong path in blake3 bin command and various fixes on the verification CF
* chore: publish 0.4.8
* fix(vms): removed stdin/stdout redirection in VM command and added regex match for blake3 hash
* fix(vms): fixed cloud function for VM verification
* chore: publish 0.4.9
* fix(vms): fix cloud function bug related to the wrong verification transcript path
* test(vms): fix broken tests due to VM upgrade
* fix(vms): disable eslint rule for regex
* feat(vms): implement SNS topic command to trigger Lambda that stops the VM after initialization
* feat(vms): add marker file in userData to avoid running initialization code more than once
* fix(vms): fix userData commands
* refactor: add VM prices
* refactor: add selector for VM disk type
* test: update tests
* refactor: complete and remove old todos
* refactor: add retry mechanism for VM
* fix: wrong path to Verifier smart contract template
* feat(vms): implement terraform script to deploy AWS inf
* fix(vms): fix import error
* fix: correct failing tests
* fix(vms): fix cloud function multipartupload wrong parameter name
* chore: publish 0.4.10
* fix(vms): fix terraform and lambda config
* fix(vms): temp revert of retry feature in verifyContribution
* fix(vms): fix emulator tests
* fix(vms): fix prod tests
* refactor: improve verifycontribution function code; minor changes to code readability
* fix(vms): fix prod test - wrong parameter order in ec2 tests
* chore: publish 0.5.0
* fix: missing else statement for verifycontribution function; wrong return on custom promise
* fix(vms): revert part of the verifyContribution refactoring and update terraform
* fix(vms): retry mechanism for VM startup
* refactor: add options for contribute command
* refactor: make coordinator artifacts publicly downloadable by default
* chore: update backend firebase default prod project
* fix(tests): add extra sleep when setting custom claims to allow propagation
* fix(tests): skip a test that would fail due to environment not clean
* fix(tests): fix issues with user not being recognized as coordinator
* fix(tests): add extra sleep and coordinator checks within tests
* refactor: avoid mandatory memory check; add missing loader and messages to improve ux
* feat(setup): start to implement non interactive setup
* feat(setup): implement non interactive setup
* fix(setup): change test file
* fix(setup): remove non working test
* fix(setup): change setup test file
* fix(setup): amend after PR review
* feat(setup): add option to pass the authentication token as cli param
passing the cli token as param one could easily use p0tion non interactive setup in a CI/CD env like
GitHub actions.
* fix(tests): add extra coordinator user to resolve random test failure
* fix(tests): add extra sleep after user creation
* fix(auth): fix non interactive auth and force token refresh for coordinator
* fix(setup): fix local path to circuit artifacts + change error in security tests
* fix(setup): add missing circuit artifacts local path
allow circuit artifacts to be in a separate folder for setup so that it can be used with
definitelySetup
* fix(tests): fix tests
* refactor: improve ux ui of auth and logout commands
* feat(setup): add a cli command to validate the ceremony setup file and the constraints
* refactor: add spinners to avoid delays; add custom feedback messages for contributor
* chore: correct text
* feat(list ceremonies): add a command to list all ceremonies
* feat(list): exit with code 1 when calling showError with exit=true
* fix(tests and setup): fix tests and cleanup config file
* chore: publish 1.0.0
* fix(verifycontribution): fix issue with failing to deconstruct undefined object (vm)
* Revise workflow
* Fix a typo
* V1.1.1
* V1.1
* fix: set cli as a es module
* fix: bump 0.3.0; minor missing imports for enums
* feat (EC2-demo) testing VMs
* feat(ec2) - continuing with poc
* fix(sybil) - add tests
* fix(sybil) - added prod test switch
* build: update external packages dependencies
* feat(public ceremonies) - allow to download ceremony data to everyone
* refactor: move auto-generated types to root
* refactor: improve package configuration; remove unused files
* refactor: complete configuration; lint and small fix
* fix: wrong prod Firebase project for CI
* refactor: update phase2cli package config; fixed bin overwrite when installing
* refactor: use meta import to optimize repository file read
* refactor: use ts-node instead of dist to execute phase2cli
* refactor: update .env and package.json imports
* fix: wrong path for environment config file
* fix(public-data) remove cloud function
* fix(public-data) remove function from index.ts
* fix(public data) yarn.locl
* fix: missing skipLibCheck option was causing docs script to exit
* fix: add missing options to ts config
* chore(release): publish 0.3.0
* build: update yarn version
* fix: spinner does not stop correctly after contribution verification
* chore(release): publish 0.3.1
* fix: missing updates for current contributor fields when coordinating
* fix: duplicate messages when waiting for contribution; remove wrong listener
* chore(release): publish 0.3.5
* fix(sybil checks): amended env var name and added to the backend
* fix(s3): creating public bucket with object ACL enabled
configuring S3 to allow download of verification transcript
* fix(tests): fixed tests
* fix: unconsistency when resuming a contribution
* fix: add missing alternative case; fix wrong tests
* chore(release): publish 0.4.0
* fix: wrong ci env project
* fix: missing sort for ceremony circuits
* fix: wrong document property lead to error when checking github antisybil
* build: missing dependencies on actions package
* chore(release): publish 0.4.1
* chore(release): publish 0.4.2
* test: update github anti-sybil tests
* fix(ux): added more verbose messages to inform the user of waiting times and errors
* feat(ec2): added tests and ip function
* feat(ec2): merge udpates and add tests
* feat(vms): added ssm code and more tests + changes on backend
* feat(vms): refactoring
* fix: imports and package version
* feat(vms): added tests
* fix(vms): tests
* feat(ec2): fixed bug in running commands at deployment and refactored setup
* test(ec2): added setup e2e test
* fix(vms): refactoring and code fixes
* fix(vm): bug fix
* fix(vm): missing files
* feat(vms): implemented e2e test for contribution verification
* feat(vms): tests and refactoring
* fix(vms): remove redundant code
* test(vms): completed e2e tests with VMs
* fix(vms): cleanup test
* fix(vms): remove redundant parameter on VM startup - ssh keypair
* fix(vms): add tags on EC2 creation
* refactor: add missing hash computation; minor conflicts and changes
* fix(vms): fix VM commands
* test(vms): fix test to also delete the verification transcript
* chore: publish 0.4.7
* test(vms): refactoring of VM tests with extra debug options
* …1 parent a6dcd68 commit f6f48a2
File tree
15 files changed
+122
-75
lines changed- .github/workflows
- packages
- actions
- src/helpers
- backend
- src/functions
- phase2cli
- src/commands
15 files changed
+122
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
53 | | - | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | | - | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
| |||
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
51 | | - | |
52 | | - | |
| 56 | + | |
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
220 | 226 | | |
221 | 227 | | |
222 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 15 | + | |
51 | 16 | | |
52 | 17 | | |
53 | 18 | | |
54 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
55 | 27 | | |
56 | 28 | | |
57 | 29 | | |
| |||
60 | 32 | | |
61 | 33 | | |
62 | 34 | | |
63 | | - | |
| 35 | + | |
64 | 36 | | |
65 | 37 | | |
66 | 38 | | |
67 | 39 | | |
68 | 40 | | |
69 | 41 | | |
70 | | - | |
| 42 | + | |
71 | 43 | | |
72 | 44 | | |
73 | 45 | | |
74 | 46 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 47 | + | |
| 48 | + | |
78 | 49 | | |
79 | 50 | | |
80 | 51 | | |
81 | | - | |
| 52 | + | |
82 | 53 | | |
83 | 54 | | |
84 | | - | |
85 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
86 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
103 | 129 | | |
104 | 130 | | |
105 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments