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

NOT_MERGE - update api to be compatible with the gelato relayer #210

Draft
wants to merge 46 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
826f4bd
update api to be compatible with the gelato relayer
JacqueGM Oct 4, 2023
f80adec
remove debug
JacqueGM Oct 4, 2023
5b07ad4
update circles-core lib
JacqueGM Oct 4, 2023
5358cc8
update predictaddress function
JacqueGM Oct 4, 2023
28d68cb
remove console.log
JacqueGM Oct 5, 2023
4ba63ca
add workflow tests
JacqueGM Oct 5, 2023
0b45e07
update to main
JacqueGM Oct 17, 2023
2b45c9c
update test with ethers
JacqueGM Oct 19, 2023
4be0335
remove darwin from package-lock
JacqueGM Oct 19, 2023
9d870dc
update core to .env
JacqueGM Oct 23, 2023
bc67ba0
update run test file
JacqueGM Oct 23, 2023
65d1c87
add dotenv in config
JacqueGM Oct 23, 2023
e461d98
update test workflw
JacqueGM Oct 23, 2023
fe9e9d5
fix workflow dir
JacqueGM Oct 23, 2023
97e2c3e
fix workflow dir
JacqueGM Oct 23, 2023
6763147
update workflows
JacqueGM Oct 23, 2023
0d8b5f9
update tests
JacqueGM Oct 23, 2023
9c35d5a
add missing package
JacqueGM Oct 23, 2023
2ee2a61
add missing npm run
JacqueGM Oct 23, 2023
15ac667
update package.json
JacqueGM Oct 23, 2023
5c50120
update giaction workflow
JacqueGM Oct 24, 2023
3cce930
remove darwin
JacqueGM Oct 24, 2023
e06da96
update package and package-lock
JacqueGM Oct 24, 2023
7ecb979
remove darwin
JacqueGM Oct 24, 2023
ba4623c
fix workflow
JacqueGM Oct 24, 2023
b5733b6
update package.json
JacqueGM Oct 24, 2023
0874b3c
update package.json
JacqueGM Oct 24, 2023
20b043b
Update run-tests.yml
JacqueGM Oct 24, 2023
3ca1b12
add docker
JacqueGM Oct 24, 2023
ba435c6
Merge branch '208-relayer' of github.com:CirclesUBI/circles-api into …
JacqueGM Oct 24, 2023
082f4f2
workflow update
JacqueGM Oct 24, 2023
d8e4d7d
update workflow
JacqueGM Oct 24, 2023
5a934ca
update workflow
JacqueGM Oct 24, 2023
11d583b
remove circles-api
JacqueGM Oct 24, 2023
36c4038
update tests
JacqueGM Oct 24, 2023
d648bda
update working directory
JacqueGM Oct 25, 2023
17db241
update .env.example
JacqueGM Oct 25, 2023
d167816
remove workdirectory
JacqueGM Oct 25, 2023
481e33f
add payment api
JacqueGM Oct 25, 2023
02c0cb7
remove ganache from package and add payment-api to docker build
JacqueGM Oct 25, 2023
1a7ce21
remove typo
JacqueGM Oct 25, 2023
045ce23
Fix signature generation for payment notes
juanenrisley Oct 25, 2023
eb50237
fix workflow
JacqueGM Oct 25, 2023
872d264
update tests
JacqueGM Oct 25, 2023
48c0e6c
update circles-core package
JacqueGM Oct 25, 2023
e50ea39
remove darwin from package-lock
JacqueGM Oct 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ PORT=3000

# Core
HUB_ADDRESS=0xCfEB869F69431e42cdB54A4F4f105C19C080A601
MULTI_SEND_ADDRESS=0xe982E462b094850F12AF94d21D470e21bE9D0E9C
MULTI_SEND_CALL_ONLY_ADDRESS=0x0290FB167208Af455bB137780163b7B7a9a10C16
TX_SENDER_ADDRESS=0xA6452911d5274e2717BC1Fa793b21aB600EC9133

# Gnosis Safe Smart Contract addresses - 1.3.0 version
PROXY_FACTORY_ADDRESS=0x9b1f7F645351AF3631a656421eD2e40f2802E6c0
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,29 @@ jobs:
node-version-file: '.nvmrc'
cache: 'npm'

- name: Get circles-docker repository and copy configs
uses: actions/checkout@v3
with:
repository: CirclesUBI/circles-docker.git
ref: main
path: circles-docker

- name: Setup docker repo
working-directory: circles-docker
run: cp .env.example .env

- name: Container setup via docker-compose
working-directory: circles-docker
run: docker compose -f docker-compose.yml -p circles up --detach --remove-orphans --build

- name: Download and migrate contracts
working-directory: circles-docker
run: ./scripts/migrate-contracts.sh

- name: Try starting failed services
working-directory: circles-docker
run: docker compose -f docker-compose.yml -p circles up --detach --remove-orphans --build

- name: Install dependencies
run: npm ci
- name: Setup env file
Expand Down
Loading
Loading