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

[WIP] feat: update to stable cadence #381

Open
wants to merge 311 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
7466922
feat: converted FlowUtilityToken by copying DUC and replacing paths
bjartek Dec 19, 2023
d7e2477
feat: replace pub event with access(all) event
bjartek Dec 19, 2023
a5c4e33
feat: replace pub with access(all)
bjartek Dec 19, 2023
7a7391c
fix: wrong replace for pub
bjartek Dec 19, 2023
ff3340e
fix: wrong replace for pub
bjartek Dec 19, 2023
eba47f2
fix: copy new TokenForwarding from git
bjartek Dec 19, 2023
7fb4667
fix: fixed some on docs, there was an error in a replace yesterday so…
bjartek Dec 19, 2023
7e1db45
fix:replace pub contract with access all
bjartek Dec 19, 2023
8c0dc3a
fix:replace pub struct
bjartek Dec 19, 2023
b92d134
fix:replace pub let
bjartek Dec 19, 2023
46fbbee
fix:replace pub var
bjartek Dec 19, 2023
21cc141
fix:replace pub resource
bjartek Dec 19, 2023
a3446e3
fix:replace pub event
bjartek Dec 19, 2023
58998f0
fix:fixed market contracts
bjartek Dec 19, 2023
f1fc2d5
fix: FindMarket
bjartek Dec 19, 2023
d212369
fix: related accounts, views and market
bjartek Dec 19, 2023
35724d6
fix: fixed dev
bjartek Dec 19, 2023
6d77249
fixed some more errors on find market stuff
bjartek Dec 19, 2023
337fac7
fix: fixed some more compile errors so tests run again now
bjartek Dec 19, 2023
32b359e
fix: fixed some more tests and transactions
bjartek Dec 19, 2023
cfef3dd
fix: fixing more find tests
bjartek Dec 19, 2023
880a87c
fix: fixing more find tests
bjartek Dec 19, 2023
66520b5
fix setup forge
bjartek Dec 19, 2023
5045dfc
add setup forge to test
bjartek Dec 19, 2023
ef3bf36
fix: fixed some more transactions
bjartek Dec 20, 2023
8d19ea7
fix: fixed some contracts after rc update
bjartek Dec 20, 2023
f975497
feat: added new version of some standard contracts from emulator
bjartek Dec 20, 2023
3eb8c5a
fix: fixed dandy
bjartek Dec 20, 2023
55b04ec
fixing fiat token
bjartek Dec 21, 2023
41a849b
fixed more transactions and ft contracts
bjartek Dec 21, 2023
2aa335a
copied ExampleNFT from repo
bjartek Dec 21, 2023
3bafd2e
started on fixing example mint nft, need to copy mint code from flow-…
bjartek Dec 21, 2023
f164533
feat: fixed adding example nft to catalog
bjartek Dec 31, 2023
fc02642
feat:fix collection test
bjartek Dec 31, 2023
1e06a08
feat: fixed dandies test, external url does not work still dont know why
bjartek Dec 31, 2023
4fd6508
feat(todo): rename airdropper test since it relies on LostAndFound
bjartek Dec 31, 2023
eed6df1
feat(todo): rename auction and forge test since we wait with them
bjartek Dec 31, 2023
c38c619
feat(todo): rename find lost and fourn tst
bjartek Dec 31, 2023
81db84c
feat: fixed some more tests and renamed some that we will not focus o…
bjartek Dec 31, 2023
850ace9
feat: fixed some more tests and renamed some that we will not focus o…
bjartek Dec 31, 2023
929b004
feat: fixed related acounts tests
bjartek Dec 31, 2023
1cc6ae4
feat: renamed some more tests that are not priority right now
bjartek Dec 31, 2023
6ab89f2
add fun
bjartek Jan 1, 2024
cf38780
feat: fixed remaining tests according to setup_test paradigm, test_to…
bjartek Jan 1, 2024
3493a5c
feat: fixed first market sale test
bjartek Jan 1, 2024
ba654a6
feat: fix market tests
bjartek Jan 1, 2024
e45b038
feat: fixing market test and move dapper tests out of the market file
bjartek Jan 2, 2024
924cebb
feat(nft): example on how to convert one NFT to new standard
bjartek Jan 2, 2024
c69f797
fix: deleted a bunch of dead contracts and scripts
bjartek Jan 3, 2024
a5969ac
feat: added lnf and related contracts
bjartek Jan 3, 2024
853927f
feat: fixed more airdrop/lnf contracts
bjartek Jan 3, 2024
565c42c
fix: started on fixing airdropping test
bjartek Jan 4, 2024
bc4e98d
fix: added entitlements to profile
bjartek Jan 4, 2024
6dd58fa
fix: added example of init
bjartek Jan 4, 2024
3f8903e
fix: added example of init cap
bjartek Jan 4, 2024
9352b4e
fix :added todo in unlink
bjartek Jan 4, 2024
b671dfc
feat: tested airdropper
bjartek Jan 4, 2024
96a88df
feat: started fixing packing test
bjartek Jan 4, 2024
59bfc6f
fix: tests that failed after profile entitlements
bjartek Jan 4, 2024
b4b3d7d
feat: fixed the latest find tests
bjartek Jan 5, 2024
f9cd915
feat: fixed some more find pack tests
bjartek Jan 5, 2024
ee0aea3
feat: remove lots of pack tests for things we really do not use
bjartek Jan 5, 2024
6065d1b
feat: fixed some nft details tests
bjartek Jan 5, 2024
5a1e20b
feat: fixed name voucher tests
bjartek Jan 5, 2024
e93b91e
feat: fixed find and found test
bjartek Jan 5, 2024
1a2b0bd
feat: delete old test we do not really use anymore
bjartek Jan 5, 2024
46e34d0
feat: delete old test we do not really use anymore
bjartek Jan 5, 2024
cd6f474
feat: delete old test we do not really use anymore
bjartek Jan 5, 2024
be48ebb
feat: delete old test we do not really use anymore
bjartek Jan 5, 2024
96635ad
feat: started on thoughts test
bjartek Jan 5, 2024
ffed115
feat: fixed thoughts tests, also found a bug
bjartek Jan 5, 2024
f625384
feat(FindThoughts): add Owner entitlement to contract and transactions
highskore Jan 6, 2024
604e823
feat(Admin): add Owner entitlement to Admin contract and transactions
highskore Jan 6, 2024
42e48ef
feat: add entitlements to FIndMarket and FindMarket admin contract & txs
highskore Jan 7, 2024
e46b378
feat: add entitlements to FindMarketSale contract and transactions
highskore Jan 7, 2024
1d3958c
feat: add entitlements to FindRelatedAccounts contract and transactiosn
highskore Jan 7, 2024
906fcab
feat: add entitlementsto FindForge/FindForgeOrder contract and transa…
highskore Jan 7, 2024
dcb5108
fix:remove uneeded stuff
bjartek Jan 11, 2024
caa8dfe
feat: update Admin, FindPack
highskore Jan 11, 2024
8089c70
fixed assertion
bjartek Jan 11, 2024
91f7092
feat: update FindPack, NameVoucher and txs
highskore Jan 11, 2024
9eb77c6
feat: add entitlements to FIND contract and txs
highskore Jan 11, 2024
f240a88
feat: update Bl0x contract to stable cadence
highskore Jan 11, 2024
3eba617
feat: update Bl0xPack
highskore Jan 12, 2024
4f12789
fix(Bl0xPack): add view modifier
highskore Jan 12, 2024
38d6263
feat: update CharityNFT to stable cadence
highskore Jan 12, 2024
e6d8de6
feat: update Flomies
highskore Jan 14, 2024
a4da645
feat: update NFGv3
highskore Jan 14, 2024
8cbc5d4
feat: update PartyFavorz
highskore Jan 14, 2024
38d103b
fix: make sure all tests are passing
highskore Jan 14, 2024
2c13275
fix: fixed FindLeaseMarket
bjartek Jan 19, 2024
d202ef0
fix: fixed FindLeaseMarketContract but not test or tx
bjartek Jan 19, 2024
58c7bdf
fix: fixed FindLeaseMarketAuctionSoft, no tests no entielemnts
bjartek Jan 19, 2024
37208d9
fix: Fixed compile errors in direct offer soft
bjartek Jan 19, 2024
a28f26a
fix: fixed part of FindMarketAuctionEscrow, init needs to be fixed an…
bjartek Jan 19, 2024
58b258d
feat: udpate Market, AucitonSoft, DirectOfferEscrow, DirectOfferSoft,…
highskore Jan 20, 2024
0f83742
feat(LeaseMarket): update scripts and transactions
highskore Jan 21, 2024
36b9024
feat: update transactions and scripts (some tests still failing)
highskore Jan 21, 2024
7c4d8d2
fix spelling error
bjartek Jan 22, 2024
03ca9fb
fix: fixed a bit more on dapper testing, still failures in lease_mark…
bjartek Jan 22, 2024
c27593b
fix: fixed first test in find lease market, we still need to figure o…
bjartek Jan 22, 2024
9152f27
feat: added simple buy lease for sale dapper test
bjartek Jan 22, 2024
f5962c1
fix: fixed some more lease sale tests
bjartek Jan 22, 2024
aa7454c
fix: fixed more lease sale dapper
bjartek Jan 22, 2024
6ecb728
feat: fixed the auction tests
bjartek Jan 23, 2024
f5f7d2e
fix: removed invalid test
bjartek Jan 23, 2024
cbf1e44
feat: fixed dapper market test
bjartek Jan 23, 2024
3e3e187
feat: fixed find market options issue, caps are not always present an…
bjartek Jan 23, 2024
66d64cc
fix: fixed options in lease markets aswell
bjartek Jan 23, 2024
1e90ac8
feat: fixed auction tests
bjartek Jan 23, 2024
bd16182
feat: fix lease_market_auction_soft and other transactions
highskore Jan 24, 2024
7d57a3f
feat: update transactions, still some tests failing
highskore Jan 25, 2024
c3750d6
fix: fixed test setup for lease market auction soft
bjartek Jan 25, 2024
dd43ed4
fixed a bit more tests, some lmdos still failing
bjartek Jan 25, 2024
2515e8f
update to overflow that has RequireSuccess and RequireFailure
bjartek Jan 25, 2024
1bb2d15
feat: fix lease_market_direct_offer_soft_tests
highskore Jan 25, 2024
0725fdd
auction soft test
bjartek Jan 26, 2024
185b7de
fix: auction soft test, need to look at royalty here
bjartek Jan 26, 2024
f3f04af
fix: removed ghostlisting test, this should be part of other tests no…
bjartek Jan 26, 2024
c5e241b
fix: removed another test that should be covered by the other tests, …
bjartek Jan 26, 2024
4b7abdd
fix: fixed some more alchemy scripts and made list of script in use a…
bjartek Jan 26, 2024
41e3eae
feat: update markte_direct_offset_escrow tests/tx
highskore Jan 28, 2024
e7c474d
feat: get first test to pass for dirrect_offer_escrow
highskore Jan 28, 2024
d5419a7
feat: update unlink dandy (something wrong with provider re-linking s…
highskore Jan 28, 2024
49d3504
fix: remove scripts we do not need and rename to dev on those we need
bjartek Jan 28, 2024
929da4c
added tx in use and not in use
bjartek Jan 28, 2024
ac4a86c
fix: fixed offer soft escrow test
bjartek Jan 29, 2024
da6383f
fixed offer soft test
bjartek Jan 29, 2024
bd376fa
fixed details tests
bjartek Jan 29, 2024
4360e50
fix: remove unused autogold data
bjartek Jan 29, 2024
2850897
fix: remove stuff not needed
bjartek Jan 29, 2024
6108f6f
feat: use new testing builder to add failures/event assertions
bjartek Jan 30, 2024
c2994a8
feat: added logic changed on mainnet, register using usdc/flow, flow …
bjartek Jan 31, 2024
ad058a3
fix: fixed register flow tx
bjartek Jan 31, 2024
655075f
fix: simply with imports instead of hardoded paths
bjartek Jan 31, 2024
9edadb7
fix: update overflow to have helper method to update a helper field
bjartek Jan 31, 2024
48555e1
feat: update to new stable cadence cli
bjartek Feb 1, 2024
19ae26f
fix: added contracts from emulator
bjartek Feb 1, 2024
99bc482
fix: added result.txt file with current failures
bjartek Feb 1, 2024
130ea1f
fix: rename Withdrawable entitlement to Withdraw
bjartek Feb 1, 2024
1aafc73
fix: rename Withdrawable entitlement to Withdraw
bjartek Feb 1, 2024
bf8e6fc
fix: started fixing compiler errors
bjartek Feb 1, 2024
f44f510
fix: start resolving compiler errors
highskore Feb 3, 2024
f908fc1
fix: resolve more compiler errors
highskore Feb 3, 2024
e095a03
fix: update PartyFavorz
highskore Feb 3, 2024
1022580
fix: fix more comipler errors
highskore Feb 3, 2024
d9f39e6
fix: update Bl0xPack, CharityNFT, Dnady, Flomies
highskore Feb 3, 2024
f6ecd7e
fix: add domain tag to keylist.verify
highskore Feb 4, 2024
018fc18
fix: borrowViewResolver
highskore Feb 4, 2024
f588ddf
fix: fixed setup tests
bjartek Feb 5, 2024
98d2ec7
fix: fixed somre more tests
bjartek Feb 5, 2024
914f899
fix: rename Coinvault to CoinVault
bjartek Feb 5, 2024
ce47442
fix: fixed somre more tests
bjartek Feb 5, 2024
b43cd05
fix: fixed remaining tests
bjartek Feb 5, 2024
995a96b
replace import (#385)
bjartek Feb 6, 2024
c32bae8
feat: add entitlements to remaining contracts and transactions (Markets)
highskore Feb 11, 2024
4474692
feat(tx-in-use): update transactions to stable cadence, update tx-in-…
highskore Feb 19, 2024
b7b3c40
chore(Profile): review and lint a bit
highskore Feb 24, 2024
2f8f5ca
chore(FindThoughts): review and lint a bit
highskore Feb 24, 2024
b2f9a0a
chore(Clock): review and lint
highskore Feb 24, 2024
a223062
chore(Debug): review and lint
highskore Feb 24, 2024
822051f
chore(NFTs): review and lint
highskore Feb 24, 2024
9e14995
chore(Admin): review and lint
highskore Feb 24, 2024
d21f5a6
chore: review and lint
highskore Feb 24, 2024
9800b29
chore(FindMarketSale): review/lint/removetodo
highskore Feb 25, 2024
cae85c6
chore(Sneder): review an lint
highskore Feb 25, 2024
e60fdb0
chore(FindRelatedAccounts): review/lint
highskore Feb 25, 2024
95188ba
chore: review/lint
highskore Feb 25, 2024
6edd961
chore: review/lint
highskore Feb 25, 2024
8e2c12b
remove todos from Thoughts
bjartek Mar 5, 2024
33c447e
remove todos
bjartek Mar 5, 2024
a2eb0ac
remove todos
bjartek Mar 5, 2024
1974c2a
added comment in tx-in-use
bjartek Mar 5, 2024
eec2896
chore: review/lint
highskore Mar 6, 2024
bbd77e4
fix(nfts): convert ownedNFTs resouce type to {NonFungibleToken.NFT}
highskore Apr 4, 2024
022971e
fix(nfts): fix view resolvers
highskore Apr 4, 2024
57e9858
update flow json to stage testnet (#387)
bjartek Apr 4, 2024
9c957e2
fix(nfts): update collection interfaces
highskore Apr 4, 2024
2673e65
fix(findviews): fix types
highskore Apr 4, 2024
e462d70
staging to testnet
bjartek Apr 4, 2024
84c50fb
bjartek/find 2336 fix provider caps in cadence 10 (#386)
bjartek Apr 7, 2024
150f5e6
update to new nft stuff (#388)
bjartek Apr 16, 2024
b8e52ba
fix some more nft contracts and some errors found in migration
bjartek Apr 16, 2024
4e358a2
remove uneeded lines from dandy
bjartek Apr 16, 2024
0d656d9
fix profile
bjartek Apr 23, 2024
c3f1864
feat: update to conform to latest NFT standard changes
highskore May 1, 2024
db8c4df
fix(FindMarket): fix staging errors
highskore May 2, 2024
66ed8ef
fix(FindMarket): add force operator
highskore May 2, 2024
94641c1
fix profile contract
bjartek May 12, 2024
d2147b0
fixed compile errors
bjartek May 13, 2024
ba0926a
fix setup market
bjartek May 13, 2024
bd1cfd2
fixed some more setup code
bjartek May 13, 2024
aee2eee
fixed some more issues, not sure about the naming of the entitlements…
bjartek May 13, 2024
1baa0ee
fixing script
bjartek May 13, 2024
3fbdb7a
fixed some more tests with related accounts
bjartek May 14, 2024
44952e0
revert optional capability from transactions
bjartek May 14, 2024
8b9fb31
fixed some more caps, error in duc now
bjartek May 14, 2024
ade25d3
fixed init problem with dapper
bjartek May 14, 2024
8dd8858
fixed remaining tests
bjartek May 14, 2024
666603f
fix(FIND): remove Leasee entilement and replace with LeaseOwner
highskore May 16, 2024
92c4900
feat(FUSD): update FUSD
highskore May 16, 2024
0a4375a
feat(FUSD): update FUSD usage in transactions
highskore May 16, 2024
1599d0a
feat(FUSD): update FUSD and FungibleToken
highskore May 16, 2024
88f6e69
fix: resolve staging issues
highskore May 19, 2024
0ff6fa2
fix: resolve staging issues
highskore May 19, 2024
337046a
fix: resolve staging issues
highskore May 19, 2024
e44ccfb
chore: update LostAndFound
highskore May 19, 2024
f3969f8
feat: fix entitlements on FindMarketAuction
highskore May 30, 2024
9dde3a7
use new float address
bjartek Jun 3, 2024
9ac595a
update to code accoording to report
bjartek Jun 3, 2024
f16851d
changes after talk with luka
bjartek Jun 20, 2024
0911e8a
fix: constrain increaseNounce()
highskore Jun 20, 2024
6be8269
fixing some tests and add github actions
bjartek Jun 24, 2024
b6309ba
Update deps (#389)
bjartek Jun 24, 2024
8b3d5e1
update ci
bjartek Jun 24, 2024
cb88ef3
fixing actions
bjartek Jun 24, 2024
13d1543
fix flow json formating error
bjartek Jun 24, 2024
f71f215
fix deposited assertions
bjartek Jun 24, 2024
4b76ccf
fixed offers tests
bjartek Jun 24, 2024
ffa1ee3
remove uneeded replace and tidy
bjartek Jun 25, 2024
144cd65
remove unused forge var
bjartek Jun 25, 2024
12bca62
update overflow and fix remaining tests
bjartek Jul 23, 2024
9589b0d
added new client
bjartek Jul 23, 2024
f45fdca
fixed FindPacks
bjartek Jul 24, 2024
4d4680a
added migrationnet network
bjartek Jul 24, 2024
038e4f6
use new overflow and try to gift on migrationnet
bjartek Jul 24, 2024
20983c2
added testnet admin account
bjartek Jul 24, 2024
aa23dd4
add migrationnet
bjartek Jul 24, 2024
e84e439
debug getProfile
bjartek Jul 24, 2024
ec99139
update script
bjartek Jul 24, 2024
6d0971b
update script to include lost and found and wearables
bjartek Jul 25, 2024
2cfdfff
update to 1.0.4 with working find profile
bjartek Jul 25, 2024
e622422
remove emerald identity for now
bjartek Jul 25, 2024
f18d5c2
update client
bjartek Jul 25, 2024
4f1bda2
update client
bjartek Jul 25, 2024
1c42498
update client
bjartek Jul 25, 2024
ee0265b
fix catalog ids keys
bjartek Jul 25, 2024
b1db953
fix party favorz
bjartek Jul 30, 2024
b84b246
Merge main stable cadence (#403)
bjartek Aug 5, 2024
105a662
tid
bjartek Aug 5, 2024
32c006c
Merge branch 'main' into feat/stable-cadence
bjartek Aug 5, 2024
9777303
Feat/register with flow 1.0 (#404)
bjartek Aug 20, 2024
5eb650f
added mainnet to contracts block
bjartek Aug 20, 2024
0c9eea4
added mainnet to accounts block
bjartek Aug 20, 2024
4288a2b
added giefts contract
bjartek Aug 20, 2024
b85f24f
added first stab at porting giefts
bjartek Aug 20, 2024
c27740b
added propper address for viewresolver
bjartek Aug 20, 2024
3bc7bd4
remove dead code
bjartek Aug 31, 2024
5766c05
fix two contracts
bjartek Sep 5, 2024
206c496
bump to 1.2
bjartek Sep 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TESTNET_ACCOUNT='98ebfd2fa655cea228bd307e0e838cf3bdf08f8dde0b9baa6054c54b462b3acc'
MAINNET_FIND='98ebfd2fa655cea228bd307e0e838cf3bdf08f8dde0b9baa6054c54b462b3acc'
MAINNET_FIND_ADMIN='98ebfd2fa655cea228bd307e0e838cf3bdf08f8dde0b9baa6054c54b462b3acc'
40 changes: 12 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ on:
push:
branches:
- main
- feat/stable-cadence

name: ci
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -21,21 +22,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/cache@v2
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version: "1.22"
- 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 +39,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

44 changes: 14 additions & 30 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,42 +1,34 @@
on:
pull_request:
pull_request:
branches:
- main
- feat/stable-cadence
- main

name: pr
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=3m

tidy:
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
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version: "1.22"
- uses: zencargo/github-action-go-mod-tidy@v1
with:
go-version: 1.18
go-version: "1.22"

test:
runs-on: ubuntu-latest
Expand All @@ -47,18 +39,10 @@ jobs:
MAINNET_FIND_ADMIN: "98ebfd2fa655cea228bd307e0e838cf3bdf08f8dde0b9baa6054c54b462b3acc"
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/cache@v2
uses: actions/checkout@v4
- uses: actions/setup-go@v5
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
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"files.insertFinalNewline": true
"files.insertFinalNewline": true,
"cadence.flowCommand": "flow"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright (c) 2021 Find On FLow
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
to use, copy, modify, merge, access(all)lish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ emulator:
flow emulator -v

test:
gotessum -f testname
gotestsum -f testname

dev:
gotestsum -f testname --watch
Expand Down
Loading
Loading