Skip to content

Commit

Permalink
refactor: depreacte USDC/FUSD (#398)
Browse files Browse the repository at this point in the history
* refactor: depreacte USDC, add FlowToUSD Oracle support

* chore(FIND): remove FUSD mentions from reverts

* Feat/register with flow bjartek (#399)

* fixed some test errors

* remove deprecated stuff

* fix ci

* fix remaining tests, NB! We need to know if a user does not have FindLeaseSaleCollection setup like we do in createProfile, and if not create it

* trying to fix maxAmount paradigm for registering names (#401)

* Feat/register with flow max amount (#402)

* trying to fix maxAmount paradigm for registering names

* fixed find test

* create new client

* add script to get flow in usd

* flow to usd

* bump patch

* add propper client

* update client with new price in flow script

* use pub

* fix transactions we need to run to fix this

---------

Co-authored-by: Bjarte S. Karlsen <[email protected]>
Co-authored-by: Bjarte Stien Karlsen <[email protected]>
  • Loading branch information
3 people authored Aug 20, 2024
1 parent 6ba3bb2 commit b394066
Show file tree
Hide file tree
Showing 46 changed files with 2,544 additions and 3,106 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: "1.22"
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -21,10 +21,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-go@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: "1.22"
- uses: actions/cache@v2
with:
path: |
Expand All @@ -35,7 +35,7 @@ jobs:
${{ runner.os }}-go-
- uses: zencargo/github-action-go-mod-tidy@v1
with:
go-version: 1.18
go-version: "1.22"

test:
runs-on: ubuntu-latest
Expand All @@ -46,23 +46,14 @@ jobs:
MAINNET_FIND_ADMIN: "98ebfd2fa655cea228bd307e0e838cf3bdf08f8dde0b9baa6054c54b462b3acc"
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-go@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.18
- uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version: "1.22"
- name: run tests
run: go test -timeout 30m -json ./... > test.json
- name: Annotate tests
if: always()
uses: guyarb/[email protected]
with:
test-results: test.json

Loading

0 comments on commit b394066

Please sign in to comment.