Skip to content
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

Alpha into master #288

Closed
wants to merge 9 commits into from
Closed

Alpha into master #288

wants to merge 9 commits into from

Conversation

polymath-eric
Copy link
Contributor

JIRA Link

N/A

Changelog / Description

Release bug fixes, multi sig support and off chain legs

Checklist -

  • New Feature ?
  • Updated swagger annotation (if API structure is changed) ?
  • Unit Test (if possible) ?
  • Updated the Readme.md (if required) ?

polymath-eric and others added 9 commits June 25, 2024 12:50
add Local and Postgres repositories for subscriptions and notifications
add needed subquery extension to the DB
- Modifies endpoints

  1. `POST venues/create` to support optional property `signers` in the request body
  (`CreateVenueDto`) to specify list of addresses allowed to sign off chain receipts
  for instructions of the venue
  2. `POST venues/:id/instructions/create`
    a. to support new optional attribute `endAfterBlock` in request body
    (`CreateInstructionDto`)to allow creation of instruction that can be executed
    manually after this given block.
    b. to add support for off chain legs by adding new optional type
    `OffChainLegDto` to type of legs
  3. `POST instructions/:id/affirm` to support optional attributes `portfolios`
  and `receipts` in the request body (`AffirmInstructionDto`) to specify specific
  portfolios to affirm or the details of the off chain leg receipt to be used to
  affirm off chain legs

- Adds new endpoints

  1. `POST venues/:id/add-signers` and `POST venues/:id/remove-signers` to
  add/remove allowed signers from a Venue
  2. `GET accounts/:id/receipts` to get all off chain receipts redeemed by an
  account
  3. `GET instructions/:id/offchain-affirmations` to fetch all off chain
  affirmations status for all off chain legs in an instruction
  4. `GET instructions/:id/offchain-affirmations/:legId` to fetch off chain
  affirmation status for a specific leg in an instruction
  5. `POST instructions/:id/execute-manually` to execute an instruction manually
when artemis is not configured an in memory implementation will be used
so that AMQP process mode can be used in dev
`createCdd` would always be false, even when specified in the request.
Adds a decorator to DTO param so `createCdd` is parsed properly
When a multiSig signer submits a transaction it will be wrapped and a
`proposal` field will be present in the response (or `multiSig` field
present will be in offline payloads)
add endpoints to create and modify multiSigs, get proposal details and
approve/reject them
Copy link

sonarcloud bot commented Aug 22, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants