Skip to content

Commit

Permalink
Trim whitespaces and ensure there is no new line
Browse files Browse the repository at this point in the history
This is an application of the trailing-whitespace and end-of-file-fixer
hooks, to make the repository clean.
  • Loading branch information
placek committed Mar 28, 2024
1 parent e7dbb19 commit 63f038c
Show file tree
Hide file tree
Showing 86 changed files with 108 additions and 124 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ assignees: ''
<!-- A description of the (reproducible) outcome. -->

## Expected behavior
<!-- A description of what you expect to happen instead. -->
<!-- A description of what you expect to happen instead. -->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ contact_links:

- name: All issues
url: https://github.com/IntersectMBO/govtool/issues
about: Check whether your issue is not already covered here.
about: Check whether your issue is not already covered here.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_idea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ body:
Which technical solutions, libraries or systems should be used, which
components need to change, steps how to implement this, ...
validations:
required: true
required: true
1 change: 0 additions & 1 deletion .github/dbsync-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -987,4 +987,3 @@ FROM tx_out
LEFT JOIN block ON tx.block_id = block.id
WHERE tx_in.tx_in_id IS NULL
AND block.epoch_no IS NOT NULL;

2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
lighthouse:
runs-on: ubuntu-latest
env:
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pytest -v --github-report
pytest -v --github-report
env:
BASE_URL: https://${{inputs.deployment || 'staging.govtool.byron.network/api' }}
METRICS_URL: https://metrics.cardanoapi.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_integration_cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run:
working-directory: ./tests/govtool-frontend
runs-on: ubuntu-latest
env:
env:
NODE_OPTIONS: --max_old_space_size=4096

steps:
Expand Down
2 changes: 1 addition & 1 deletion CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ at [https://www.contributor-covenant.org/translations][translations].
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
[translations]: https://www.contributor-covenant.org/translations
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ infra/terraform/* @pla

# Testing
gov-action-loader/* @IntersectMBO/govtool-test @kickloop
tests/* @IntersectMBO/govtool-test @kickloop
tests/* @IntersectMBO/govtool-test @kickloop
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Examples:

### Commit Messages

Please make informative commit messages!
Please make informative commit messages!
It makes it much easier to work out why things are the way they are when you’re debugging things later.

A commit message is communication, so as usual, put yourself in the position of the reader: what does a reviewer, or someone reading the commit message later need to do their job?
Expand Down Expand Up @@ -175,7 +175,7 @@ If a branch is outdated, use the rebase button in PRs to rebase feature branches
Keeping branches ahead of main not only make the git history a lot nicer to process, it also makes conflict resolutions easier.
Merging main into a branch repeatedly is a good recipe to introduce invalid conflict resolutions and loose track of the actual changes brought by a the branch.

### Versioning
### Versioning

Not all releases are declared stable.
Releases that aren't stable will be released as pre-releases and will append a -pre tag indicating it is not ready for running on production networks.
Expand Down Expand Up @@ -246,7 +246,7 @@ Please see [stylish-haskell configuration](./govtool/backend/.stylish-haskell.ya
- If QA agrees that the code is good, they can make a PR from `test` branch to `staging` branch where end-to-end and performance tests are run.
- If tests pass, then QA or tech lead can merge and deploy to staging environment (automatically).
- Moving ticket to `staging` status this ready for PO check.

### PO Workflow

- Choose ticket from `staging` status.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Please provide a clear and concise description of the vulnerability, including:
* steps that can be followed to exercise the vulnerability,
* any workarounds or mitigations

If you have developed any code or utilities that can help demonstrate the suspected vulnerability, please mention them in your email but ***DO NOT*** attempt to include them as attachments as this may cause your Email to be blocked by spam filters.
If you have developed any code or utilities that can help demonstrate the suspected vulnerability, please mention them in your email but ***DO NOT*** attempt to include them as attachments as this may cause your Email to be blocked by spam filters.
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ See [`SECURITY.md`](SECURITY.md) on how to report a security vulnerability.

# Contributions

See [`CONTRIBUTING.md`](CONTRIBUTING.md) on how to contribute.
See [`CONTRIBUTING.md`](CONTRIBUTING.md) on how to contribute.
2 changes: 1 addition & 1 deletion docs/architecture/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ arch-structurizr/workspace.json

#oura install
oura/
./oura/
./oura/
2 changes: 1 addition & 1 deletion docs/architecture/arch-structurizr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ http://localhost:8080/workspace/documentation/*
## Decision Log
```bash
http://localhost:8080/workspace/decisions/*
```
```
1 change: 0 additions & 1 deletion docs/architecture/arch-structurizr/dapp.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ hwWallet -> cardanoWallet "integrates"

// User's browser attaches to GVC FE
browser -> dAppFrontEnd "connects"

1 change: 0 additions & 1 deletion docs/architecture/arch-structurizr/decisions/0001-decision
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ Accepted


## Consequences

4 changes: 2 additions & 2 deletions docs/architecture/arch-structurizr/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: "3.6"

services:
voltaire-structurizr:
container_name: voltaire-dapp-architecture
container_name: voltaire-dapp-architecture
image: structurizr/lite:latest
ports:
- '8080:8080'
volumes:
- .:/usr/local/structurizr:rw
- .:/usr/local/structurizr:rw
18 changes: 9 additions & 9 deletions docs/architecture/arch-structurizr/workspace.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ workspace "Voltaire Implementation Draft" {
!docs ./documentation
!adrs ./decisions
!identifiers hierarchical

model {
!include dapp.dsl
!include dapp.dsl
}

views {
Expand All @@ -16,14 +16,14 @@ workspace "Voltaire Implementation Draft" {

systemContext dAppFrontEnd {
include *
autoLayout lr
autoLayout lr
}

systemContext dAppBackEnd {
include *
autoLayout lr
autoLayout lr
}

container dAppBackEnd {
include *
autolayout lr
Expand Down Expand Up @@ -73,12 +73,12 @@ workspace "Voltaire Implementation Draft" {

element "Database" {
shape Cylinder
}
}
}

branding {
logo data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfUAAABkCAMAAACo21lxAAAArlBMVEX///8AM60AMKwAKasAL6wAK6sALasAJqoZPK8AI6kAKKuruODc4PCls90AIakcS7dXc8Vmd8NGZcCkrtudptZogcoAHqj09vz5+/4AFacAGqg9Xb3Ez+wAOrHt8fq2weTY3vFzhcrP1+4ADabu8fnj6PV/kc9SbcIgQ7KNn9Y6VrjAyujM1O2+xuVScMQyULaUn9N3jM4AAKVue8M/Yb6Fl9ItTLUmRrNndsJjfsljQZZ0AAAWOElEQVR4nO1diXbiuLbFk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e0Vjjz8f/A58flJOaxNzMAAAAAElFTkSuQmCC
# font
}
# font
}
}
}
}
2 changes: 1 addition & 1 deletion docs/architecture/sequence-diagrams/raw/delegation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dApp Frontend->Wallet:""API.submitDelegation(dRepID, PubStakeKey)""
Wallet->User: Ask permission popup (Wallet UI)
User->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /delegation/{delegation-cert}
Wallet->dApp Frontend: ""SignedDelegationCertificate""
Wallet->dApp Frontend: ""SignedDelegationCertificate""
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dApp Frontend->Wallet: Pass certificate to wallet:\n""API.submitDRepRegistration
Wallet->User: Ask permission popup (Wallet UI)
User->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /registration/{registration-cert}
Wallet->dApp Frontend: ""SignedDRepRegistrationCertificate""
Wallet->dApp Frontend: ""SignedDRepRegistrationCertificate""
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ dApp Frontend->Wallet: Pass certificate to wallet:\n""API.submitDRepRetirementCe
Wallet->User (dRep): Ask permission popup (Wallet UI)
User (dRep)->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /retirement/{retirement-cert}
Wallet->dApp Frontend: ""SignedDRepRetirementCertificate""
Wallet->dApp Frontend: ""SignedDRepRetirementCertificate""
2 changes: 1 addition & 1 deletion docs/architecture/sequence-diagrams/raw/drep-status.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ dApp Frontend->Wallet: ""API.getDRepKey()""
Wallet->dApp Frontend: ""pubDRepKey""

dApp Frontend->dApp Backend: ""GET drep/{pubDRepKey}
dApp Backend->dApp Frontend: ""bool""
dApp Backend->dApp Frontend: ""bool""
2 changes: 1 addition & 1 deletion docs/architecture/sequence-diagrams/raw/login.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Wallet->dApp Frontend: ""pubDRepKey""
dApp Frontend->dApp Backend: ""GET drep/{pubDRepKey}
dApp Backend->dApp Frontend: ""DRepCert""

dApp Frontend->User: Serve correct UI
dApp Frontend->User: Serve correct UI
2 changes: 1 addition & 1 deletion docs/architecture/sequence-diagrams/raw/voting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ dApp Frontend->Wallet: Pass object to wallet:\n""API.submitVote(Vote)""
Wallet->User (dRep): Ask permission popup (Wallet UI)
User (dRep)->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /vote/{vote}
Wallet->dApp Frontend: ""SignedVote""
Wallet->dApp Frontend: ""SignedVote""
2 changes: 1 addition & 1 deletion docs/architecture/sequence-diagrams/raw/wallet-connect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ User->dApp Frontend: Wallet Selected ""walletName
dApp Frontend->Wallet: ""cardano.{walletName}.enable({"cip": ?})
Wallet->User: Ask permission popup (Wallet UI)
User->Wallet: Access granted (Wallet UI)
Wallet->dApp Frontend: ""API"" object
Wallet->dApp Frontend: ""API"" object
1 change: 0 additions & 1 deletion docs/operations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ Deploying new versions of the application is done using Github actions
4. From the droping options - "Run workflow", select the branch, Cardano network and type of environment for your deployment
5. Press "Run workflow"
6. Wait for the final effect. It's done.

1 change: 0 additions & 1 deletion gov-action-loader/backend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ KUBER_API_KEY=xxxxxxxxxxxxx
## Not required anymore
BLOCKFROST_API_URL=
BLOCKFROST_PROJECT_ID=

2 changes: 1 addition & 1 deletion gov-action-loader/backend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
.venv
venv
.vscode
__pycache__
__pycache__
2 changes: 1 addition & 1 deletion gov-action-loader/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ COPY ./requirements.txt ./requirements.txt
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
COPY . /app
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
8 changes: 4 additions & 4 deletions gov-action-loader/backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ This repository helps in creation of Conway era transactions containing proposa
- Sanchonet Faucet API

### Limitations
Gov action loader backend instance uses fixed set of wallet to perform transactions. This means that gov action loader can be used by only 1 user at a time.
Gov action loader backend instance uses fixed set of wallet to perform transactions. This means that gov action loader can be used by only 1 user at a time.


## 1. Setup
## 1. Setup

```
python3 -m venv ./venv
Expand All @@ -22,7 +22,7 @@ pip install -r requirements.txt

## 1. Initialize Wallets

### Prerequisite
### Prerequisite
- You should have sancho-node, kuber server runnning and cardano-cli available.

For bulk proposal creation , multiple wallets must be generated. Generate them with following command.
Expand All @@ -34,4 +34,4 @@ python3 wallets.py
## 2. Start the server

- Add .env file with all the keys from .env.example
- Run `uvicorn app.main:app --reload --env-file .env` in the repository to run the program
- Run `uvicorn app.main:app --reload --env-file .env` in the repository to run the program
2 changes: 1 addition & 1 deletion gov-action-loader/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ uvicorn[standard]
pydantic-settings
httpx
python-dotenv
pycardano
pycardano
2 changes: 1 addition & 1 deletion gov-action-loader/backend/wallets.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gov-action-loader/frontend/.env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

VITE_DATA_LOADER_API=https://vva-governance.cardanoapi.io
VITE_VVA_WEBAPP_URL=https://vva-be.cardanoapi.io
VITE_VVA_WEBAPP_URL=https://vva-be.cardanoapi.io
2 changes: 1 addition & 1 deletion gov-action-loader/frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.env
.env
Loading

0 comments on commit 63f038c

Please sign in to comment.