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

Merge wormhole contracts+history into palomadex #21

Merged
merged 1,945 commits into from
Jun 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1945 commits
Select commit Hold shift + click to select a range
108c234
dev-setup.sh: blow up if podman-docker is installed
SEJeff Feb 22, 2022
ff62a2c
Add unit-tests for payloads
Mar 6, 2022
2961462
bridge_ui: Disable transfers to and from polygon, display network upg…
kev1n-peters Mar 7, 2022
cff4954
cloud function housekeeping
justinschuldt Mar 2, 2022
062b339
add fantom addresses to cloud function
justinschuldt Mar 2, 2022
9c2485b
rm dupe bigtable docs
justinschuldt Mar 10, 2022
d96afca
cloud_functions: use lowercase emitter addresses
kev1n-peters Mar 10, 2022
fa237c7
Add some unit-test coverage for GuardianSet (#951)
Mar 11, 2022
2b64e5a
bridge_ui: be more specific about Polygon downtime (#994)
Mar 11, 2022
2b0b190
Bump Solana version to 1.9.4 in Dockerfile.client
Fire30 Mar 11, 2022
c70637d
bridge_ui: Added wrapped-fantom logo
kev1n-peters Mar 11, 2022
d233436
bridge_ui: Changed terra est. fees to be more accurate
kev1n-peters Mar 10, 2022
21e2a71
bridge_ui: enable polygon transfers
kev1n-peters Mar 15, 2022
b718225
Testnet support for Aurora (#947)
bruce-riley Mar 15, 2022
f60acc5
solitaire: Infer entry point argument type in solitaire! macro (#927)
kcsongor Mar 16, 2022
f374047
explorer animations & fixes (#1009)
timpau Mar 16, 2022
02a2397
bridge_ui: stats page null data fix
kev1n-peters Mar 16, 2022
a5dbbac
bridge_ui: Make transfers to/from chains configurable (#997)
kev1n-peters Mar 17, 2022
bbb9986
bridge_ui: fix receiving tvl for unknown chains
evan-gray Mar 16, 2022
ca0b9cd
bridge_ui: moved to webpack 5 and react-app-rewired, updated solana w…
kev1n-peters Feb 17, 2022
32634f8
bridge_ui: add Aurora to testnet
evan-gray Mar 17, 2022
9a36a0b
explorer - increase poll interval
justinschuldt Mar 17, 2022
d4aeacb
explorer - bump number of chains
justinschuldt Mar 17, 2022
6d3c94c
explorer - improve initial calls
justinschuldt Mar 17, 2022
6e32dbe
explorer - fix chainoverview update animation
justinschuldt Mar 17, 2022
57c06de
cloud functions - handle 2 digit chainIDs
justinschuldt Mar 14, 2022
bd62e1f
cloud functions - rm unsed deps (go mod tidy)
justinschuldt Mar 14, 2022
c478bdd
cloud functions - rm noisy logs
justinschuldt Mar 14, 2022
fe12f78
cloud functions - daily TVL smaller response
justinschuldt Mar 14, 2022
69c41d9
cloud functions - local dev launch config
justinschuldt Mar 14, 2022
d95e82b
cloud functions - docs update
justinschuldt Mar 14, 2022
b2d1ea3
cloud functions - 60 second context deadline
justinschuldt Mar 14, 2022
6b6d172
cloud functions - quicker initialize
justinschuldt Mar 17, 2022
f22dfce
ethereum/nft-bridge: Transfer before burn
Mar 7, 2022
6e87730
add aproval tests
calebrate Mar 7, 2022
c01dd93
Add NFT deploy script
Mar 7, 2022
8391c28
add dev tooling for clients/eth
justinschuldt Mar 16, 2022
99a02a4
fix devnet GS upgrade path
justinschuldt Mar 16, 2022
972c0aa
add ganche and devnet accounts to devnet.md
justinschuldt Mar 16, 2022
d2dcb57
send guardian set data to prometheus
justinschuldt Mar 16, 2022
b73ebd1
fix digest string represenation
justinschuldt Mar 16, 2022
90489cc
add guardian set updates to devnet
justinschuldt Mar 16, 2022
42284a2
remote devnet config - GCP VM
justinschuldt Mar 18, 2022
b7a9548
Refactor Symmetric Unit-tests to Testify (#948)
Mar 25, 2022
5355f87
Add unit test for 0 case and move to testify (#1023)
Mar 28, 2022
a709d6f
Add unit-tests for deterministic devnet keys (#1032)
Mar 28, 2022
1ae8ee4
terra: Send relayer fee to message sender
jynnantonix Mar 28, 2022
349fa42
Spy relayer cleanup (#1015)
SEJeff Mar 29, 2022
a080f6d
Added fake WFTM to tokensToSkip list
ckeun Mar 29, 2022
33e9f4d
Added fake WFTM to tokensToSkip list
ckeun Mar 29, 2022
5921150
Add unit-test for ethereum utils (#1022)
Mar 29, 2022
3ceec18
Add more comprehensive structs unit-tests (#1006)
Mar 29, 2022
4d0e3b9
terra: contracts: fix clippy warnings (#983)
jynnantonix Mar 30, 2022
8692080
Terra SDK test chage to make it pass, devnet contract address correct…
sekoje Mar 30, 2022
5e00027
Add unit-tests for registry (#1026)
Mar 30, 2022
b7ec3ac
Add unit-tests for nodekey (#1035)
Mar 30, 2022
745d3db
Run ethereum tests on CI (#1028)
kcsongor Mar 31, 2022
014b368
Don't require padding on addrs in bridge clients (#1041)
bruce-riley Mar 31, 2022
eb898b0
Aurora and Fantom handled wrong in a couple cases in guardian (#1044)
bruce-riley Apr 4, 2022
879670c
Klaytn testnet support (#1038)
bruce-riley Apr 4, 2022
e1f4b8e
Add scripts and readme to deploy and verify terra contracts
Apr 2, 2022
6a00c3b
Add framework for Terra contract testing (#1050)
karlkempe Apr 6, 2022
383bcbd
bridge_ui: support acala relayer (#1043)
evan-gray Apr 7, 2022
1792141
explorer-update
timpau Apr 6, 2022
f840d72
bridge_ui: optimized svg icons
kev1n-peters Mar 17, 2022
db67ec3
bridge_ui: Fixed broken metaplex token-metadata program url
kev1n-peters Apr 7, 2022
36cabf0
Remove dead code path (#1056)
Apr 8, 2022
8dd3536
Add README and crypto/rand for encrypt.go tool (#1057)
Apr 8, 2022
d68232c
hack/repair_solana: improve sequence guessing (#1003)
Apr 11, 2022
97aedff
node/pkg/ethereum: restart watcher if guardian set update fails (#1010)
Apr 11, 2022
763f80b
Repair eth for Aurora (#1065)
panoel Apr 11, 2022
10f00b9
Promote Aurora to Mainnet
bruce-riley Apr 9, 2022
74fdb3a
bridge_ui: add aurora to mainnet beta
evan-gray Apr 11, 2022
1fd6e14
node/pkg/ethereum: fix unreachable nil check
leoluk Apr 8, 2022
5a31620
clients/solana: allow submitting VAAs to mainnet
Apr 11, 2022
bad4f70
Adds unit-tests and functional improvements to guardian signature ver…
Apr 11, 2022
b18a6c8
Fix segfault from empty GetSignedVAARequest (#1069)
Apr 11, 2022
4e13d9d
solana/token_bridge: Add blacklisted keys
Reisen Feb 2, 2022
2b56fcc
solitaire: Fix prefunded accounts blocking creation
hendrikhofstadt Mar 17, 2022
c04d25e
Fix solana integration tests & add test for account creation
hendrikhofstadt Mar 17, 2022
ff15ca3
Document AccountState
Mar 22, 2022
4227dde
Improve and document deployment&verification workflow
Mar 23, 2022
69ac3cc
bridge_ui: update acala relayer url
evan-gray Apr 11, 2022
5e4bf02
terra-nft: Remove unused dependencies (#982)
jynnantonix Apr 12, 2022
4ef93e1
Add `cargo check` to CI
jynnantonix Mar 30, 2022
3e23db6
Add aurora
bruce-riley Apr 12, 2022
f52bd8f
add devent constants to devnet-consts.json
justinschuldt Apr 1, 2022
5893e0c
clients/token_bridge - allow multiple guardians when generating gover…
justinschuldt Apr 1, 2022
c6d2d69
clients/token_bridge - minor usage improvements
justinschuldt Apr 1, 2022
0063f6a
clients/nft_bridge - minor usability improvements
justinschuldt Apr 1, 2022
cd04836
add guardian-set-init.sh for tilt up --num=*
justinschuldt Apr 1, 2022
e36b722
eth-devnet init with multiple guardians
justinschuldt Apr 1, 2022
2e1ee8e
terra-devnet init with multiple guardians
justinschuldt Apr 1, 2022
1b7ce34
make update-guardian-set.sh idempotent
justinschuldt Apr 1, 2022
33298ca
solana-devnet init multiple guardians
justinschuldt Apr 1, 2022
648a5fa
fixes for tilt ci
justinschuldt Apr 1, 2022
18f8337
make multiple guardians the default for tilt ci
justinschuldt Apr 1, 2022
0a7168c
move guardian-set-init.sh to docker/tilt
justinschuldt Apr 8, 2022
39bc7d1
bridge_ui: use relayer fee schedule
evan-gray Apr 13, 2022
5207270
cloud functions - blacklist token from TVL calc
justinschuldt Apr 13, 2022
6e58ae5
cloud functions - tvl blacklist case insensitive
justinschuldt Apr 13, 2022
b8b90e1
bridge_ui: remove Aurora from beta
evan-gray Apr 14, 2022
0eb4fb9
cloud_functions: Added totalsOnly param to notional-tvl-cumulitive
kev1n-peters Apr 12, 2022
890f1a6
cloud functions - add aurora
justinschuldt Apr 13, 2022
8667a68
cloud functions - bump wormhole/node dep
justinschuldt Apr 14, 2022
040eace
Add to ethereum contract integration test coverage (#1053)
Apr 14, 2022
85b6dfc
sdk/js/src/token_bridge/__tests__: added more tests (#1029)
panoel Apr 14, 2022
e631e32
cloud_functions: notional-transferred skipTokens support (#1088)
kev1n-peters Apr 18, 2022
7ca287c
bridge_ui: Added legal disclaimer footer (#1080)
kev1n-peters Apr 18, 2022
0f6c1e2
Allow specifying the timestamp in governance inject
Apr 19, 2022
275fcb2
bridge_ui: MetaMask wallet_addEthereumChain support (#1085)
kev1n-peters Apr 19, 2022
3fdd9cc
solana: Merge into single workspace
jynnantonix Apr 8, 2022
e907a05
sdk, terra: Fix tests and add them to CI
jynnantonix Apr 1, 2022
5a987a8
Comment ethereum messages (#1025)
Apr 20, 2022
26f9b9d
bridge_ui,sdk: postVaa hotfix
evan-gray Apr 20, 2022
50bb184
Spy relayer fixes (#1095)
evan-gray Apr 20, 2022
da479cf
solitaire: fix initialisation check
Apr 13, 2022
a3886e3
Added fake testWETH on poly to tokensToSkip list (#1103)
ckeun Apr 22, 2022
205f47b
fix gas for NFT minting
shunjizhan Apr 24, 2022
a4854f9
Added fake voxel to tokensToSkip list
ckeun Apr 25, 2022
2c76aab
cloud_functions: Split notional-tvl into read and write (to cache) en…
kev1n-peters Apr 25, 2022
05d84b4
Add fantom to repair script (#1109)
bruce-riley Apr 26, 2022
87b3639
Add safe mode check (#1108)
bruce-riley Apr 26, 2022
76356fd
bridge_ui: Updated CoinGecko token images
kev1n-peters Apr 26, 2022
dbc0c56
+ aurora (#1112)
timpau Apr 27, 2022
a4c91d8
Minor updates to repair_eth (#1120)
SEJeff Apr 27, 2022
4ae277f
shutdown auth proof template
justinschuldt Apr 27, 2022
c5c30ab
blacklist fake sushi from TVL calc
justinschuldt Apr 28, 2022
19fb468
handle CG 401s and remove noisy logs
justinschuldt Apr 28, 2022
d04328b
Celo testnet support (#1051)
bruce-riley Apr 28, 2022
542acdf
node/hack/repair_eth: more cat & mouse for polygon
SEJeff Apr 28, 2022
0981dc1
node/hack/repair_eth: skip missed message
SEJeff Apr 28, 2022
218556a
bridge_ui - update Portal twitter (#1123)
justinschuldt Apr 29, 2022
76ade1b
cloud_functions: notional-tvl-cumulative optimizations (#1118)
kev1n-peters Apr 29, 2022
d4a4f8a
bridge_ui: stats page overhaul, added custody-addresses page
kev1n-peters Mar 18, 2022
cc72c2a
algo: contracts
evan-gray Apr 29, 2022
1229ca5
algo: guardian
evan-gray Apr 29, 2022
5806059
sdk/js: algo
evan-gray Apr 29, 2022
01380af
bridge_ui: algo
evan-gray Apr 29, 2022
d54b883
near/constants: establish our new constants for NEAR @ gusc1a-ossdev-…
jumpsiegel Apr 29, 2022
f69c749
algo/testnet: Wormhole name fix (#1134)
jumpsiegel Apr 30, 2022
14b43e3
bridge_ui: Added liquidity warning for GMT and GST Solana <-> BSC tra…
kev1n-peters May 2, 2022
49f4a98
Add missing aurora address references (#1117)
bruce-riley May 2, 2022
776813f
bridge_ui: daily outbound volume stats, fix chart height (#1128)
kev1n-peters May 2, 2022
a200cc5
bridge_ui: add klaytn and celo testnet support
evan-gray Apr 5, 2022
a94a3cf
Karura mainnet deploy (#1142)
bruce-riley May 2, 2022
5f41f8b
bridge_ui: karura mainnet beta
evan-gray May 2, 2022
b937eb2
bridge_ui: added karura vaa emitter addresses
kev1n-peters May 2, 2022
a8dab4f
algo: Update README.md
May 1, 2022
d8c1be6
algo/sdkFixes: exposing safeBigIntToNumber()
panoel May 2, 2022
f61997e
algo/sdkFixes: export submitVAAHeader()
panoel May 2, 2022
eb3b777
node/cmd/guardiand: improve send-observation-request arg parser
leoluk Apr 27, 2022
7b9a6f8
guardiand version is always development
bruce-riley May 2, 2022
fb0bf2c
cloud_functions: Skip tokens in notional-transferred-to function (#1146)
kev1n-peters May 3, 2022
3aa9abd
bridge_ui: add guardianSetIndex to redeem
panoel May 3, 2022
ec87530
explorer: Bumped wormhole sdk to latest, added karura icon
kev1n-peters May 3, 2022
3023b4a
cloud_functions: totals cache should be overwritten for skipDates (#1…
kev1n-peters May 3, 2022
3ebd347
cloud_functions: Added lightweight notional-transferred-from function…
kev1n-peters May 3, 2022
2a863a7
cloud_functions: Added tokens to skip (#1152)
kev1n-peters May 4, 2022
2a83ea4
node/pkg/ethereum: move up nil check for TransactionReceipt
May 4, 2022
c13bdff
algo/tests: enable relayer test (#1140)
panoel May 5, 2022
7f42713
sdk: improve type safety + add documentation (#1102)
kcsongor May 5, 2022
c626e59
bridge_ui: add karura mainnet relayer
evan-gray May 5, 2022
1c006f9
cli: Refactor js cli to support all contracts + add improvements (#1100)
kcsongor May 6, 2022
24dd6ed
solana: bridge: Fix tests
jynnantonix Apr 8, 2022
efdc560
Run solana tests in Tilt
jynnantonix Apr 13, 2022
589c802
Add test target to solana Makefile
jynnantonix Apr 13, 2022
06c7983
solana: bridge: Delete makefile
jynnantonix Apr 19, 2022
ff40fa3
solana: token-bridge: Fix tests
jynnantonix Apr 19, 2022
66f031c
Run token-bridge tests in CI
jynnantonix Apr 19, 2022
defd16e
solana: nft-bridge: Add tests
jynnantonix Apr 21, 2022
82bdad0
solana: Run nft-bridge tests in CI
jynnantonix Apr 21, 2022
7a8bd94
Add SECURITY.md (#1157)
May 9, 2022
c7ba459
Moonbeam to testnet (#1150)
bruce-riley May 10, 2022
87e2e4c
CLI changes for klatyn, celo and moonbeam (#1159)
bruce-riley May 10, 2022
34ea483
algo/tilt: Fix algod validator @ gusc1a-ossdev-jsl5
jumpsiegel May 11, 2022
4e53392
1) Add payload3 support into typescript
jumpsiegel May 6, 2022
0e35c00
algo/payload3: lets not comment this out @ gusc1a-ossdev-jsl5
jumpsiegel May 8, 2022
c731363
algo/payload3: updates after feedback @ gusc1a-ossdev-jsl5
jumpsiegel May 10, 2022
08ea624
explorer: Added Fantom and Aurora chains to message search selection …
kev1n-peters May 11, 2022
73e15db
eth: token bridge transfer with payload
evan-gray Dec 23, 2021
b238956
whitepapers: include transfers with payload in token bridge
kcsongor Jan 14, 2022
d8e7a5f
terra/token_bridge: transfer with payload
Apr 13, 2022
ee45830
solana: token bridge transfer with payload
hendrikhofstadt Jan 17, 2022
c9d7a61
Rewrite algorand guardian watcher to directly hit the node instead of…
jumpsiegel May 10, 2022
ac9b4a5
algo/rollback: handle rollbacks gracefully @ gusc1a-ossdev-jsl5
jumpsiegel May 12, 2022
bd66778
bridge_ui: changed formatting for token picker (#1165)
panoel May 12, 2022
c4c2692
bridge_ui: update Karura and Acala network ids
evan-gray May 12, 2022
60471e0
bridge_ui: update sdk to 0.3.1
evan-gray May 12, 2022
e8f5578
bridge_ui: add celo to mainnet beta
evan-gray May 12, 2022
4d43eb5
bridge_ui: Changed Karura and Acala testnet metamask chain IDs
kev1n-peters May 12, 2022
d266438
Celo mainnet deploy changes
bruce-riley May 12, 2022
e708300
repair_eth: work better when messages are skipped
SEJeff May 10, 2022
6869368
node/repair: allow multiple sequences in a tx
May 13, 2022
f1d2891
node/hack/repair_terra: add a rate limiter
SEJeff May 13, 2022
da0fb0d
node/hack/repair_terra: token bridge messages only
SEJeff May 13, 2022
4d54fee
node: New default current guardian set index (#1101)
kcsongor May 13, 2022
bc4ce9c
cloud_functions: don't add today's totals to warm cache
kev1n-peters May 3, 2022
ec6428e
bridge_ui: add klaytn to mainnet beta
evan-gray May 14, 2022
018908a
Klaytn mainnet deploy (#1185)
bruce-riley May 16, 2022
2e4fed6
New ABI selector support for algorand
barnjamin May 13, 2022
c0a26dc
Added fake btc on terra to tokensToSkip list (#1194)
ckeun May 16, 2022
32e4285
sdk/js: version bump and comments to 0.3.3
jumpsiegel May 16, 2022
9729149
explorer: Removed immunefi banner
kev1n-peters May 16, 2022
8f9cbb9
explorer: Added Aurora explorer URLs (#1197)
kev1n-peters May 17, 2022
5b09707
relayer: support celo and klaytn
evan-gray May 17, 2022
f327c98
bridge_ui: add exodus wallet adapter
panoel May 17, 2022
f9697f7
Minor cli tweaks
bruce-riley May 18, 2022
a5eadba
Make relayer get gas price for fantom too
bruce-riley May 18, 2022
c410b19
Update relayer examples to add klaytn and celo
SEJeff May 18, 2022
edd5185
sdk/js: algorand attest fix
evan-gray May 20, 2022
a5c7898
cloud_functions: Added fake Dai Stablecoin on BSC (#1211)
kev1n-peters May 20, 2022
d87ae5a
gosec fixes (#1201)
tbjump May 20, 2022
1c2a705
supress gosec issue (#1216)
tbjump May 23, 2022
7227f90
bridge_ui: Adding right padding to stats chart x-axis labels
kev1n-peters May 20, 2022
8c1e571
fix getUniqueClientId to actually return unique ID (#1127)
tbjump May 23, 2022
67c39e7
enable additional linters, including gosec (#1215)
tbjump May 23, 2022
ff400e9
sdk/p3: add sdk accessors for payload3 transfers
jumpsiegel May 20, 2022
7dc2b7b
scripts: automate writing contract upgrade governance proposals (#1218)
kcsongor May 23, 2022
0821f42
dev.v2: collapse the ETH methods @ gusc1a-ossdev-jsl5
jumpsiegel May 23, 2022
e63d7f5
sdk/js: Add terra support for sending payload 3
May 23, 2022
1e6611e
Add comments on vaa min length (#1206)
May 24, 2022
8049dce
Upgrade algod and indexer golang to 1.18.2 (#1225)
May 24, 2022
9e893bf
Upgrade Ubuntu version to 20.04 (#1227)
May 25, 2022
f32e6c4
Reorder quorum and verifysignatures (#1166)
May 25, 2022
38d8918
terra: fix terra test (#1231)
evan-gray May 26, 2022
90beeac
sdk/js: Fixed algo address conversion
panoel May 31, 2022
6967f44
algo - add stuff to tilt (#1230)
panoel May 31, 2022
e2687e7
algo/make: add Makefile and test script (#1153)
panoel May 31, 2022
a291709
ignore snyk cache .dccache
May 30, 2022
62968c3
bridge_ui: WalletConnect support for EVM chains
kev1n-peters May 5, 2022
bf7de6b
bridge_ui: Renamed Terra to Terra Classic, LUNA to LUNC
kev1n-peters May 30, 2022
8d37076
Move terra contracts top level, update CI.
measure-fi Jun 1, 2022
cad87b6
Satisfy cargo clippy
measure-fi Jun 1, 2022
181867d
Upgrade cw721 to cosmwasm 1.0
measure-fi Jun 2, 2022
09c3002
Migrate cw721 to cosmwasm 1.0
measure-fi Jun 2, 2022
e3e00e5
Migrate wormhole to cosmwasm 1.0
measure-fi Jun 2, 2022
ab0050c
Upgrade cw721-wrapped to cosmwasm 1.0
measure-fi Jun 2, 2022
7404ddf
Upgrade cw721-wrapped to cosmwasm 1.0
measure-fi Jun 2, 2022
92dab5b
Import cw20-legacy (wasm 1.0 version) directly
measure-fi Jun 8, 2022
7fbade9
Migrate cw20-wrapped and the wrapped cw20-legacy to cosmwasm 1.0
measure-fi Jun 8, 2022
e5a2910
Add our PR template
measure-fi Jun 9, 2022
a358248
Excise bigint from nft-bridge dependencies
measure-fi Jun 9, 2022
58be1eb
Prep wormhole repository for merge into palomadex
measure-fi Jun 9, 2022
d40655f
Merge remote-tracking branch 'remotes/wormhole/chase-import' into cha…
measure-fi Jun 9, 2022
a6a58fb
Add wormhole contracts to workspace
measure-fi Jun 9, 2022
3756218
Adjust dependencies to compile
measure-fi Jun 9, 2022
bd39bd3
Update schema generation
measure-fi Jun 9, 2022
ee3161e
Merge the test workflows.
measure-fi Jun 9, 2022
c63fe2d
satisfy cargo clippy
measure-fi Jun 9, 2022
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
56 changes: 19 additions & 37 deletions .github/workflows/tests_and_checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Contract tests and checks
name: Tests and Checks

on:
pull_request:
Expand All @@ -10,18 +10,21 @@ env:
CARGO_TERM_COLOR: always

jobs:
test_and_check:
name: Test and check
runs-on: ubuntu-latest

rust-lint-and-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
manifest:
- sdk/rust/Cargo.toml
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

- name: Checkout sources
- name: Check out source
uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: |
Expand All @@ -33,40 +36,19 @@ jobs:
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install stable toolchain
- name: Install stable rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.60.0
override: true
components: rustfmt, clippy

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9.7

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --no-fail-fast --locked
env:
RUST_BACKTRACE: 1

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

toolchain: stable
components: clippy, rustfmt
default: true

- run: cargo fetch --verbose --locked
- run: cargo check --verbose --workspace --locked --all-targets
- run: cargo test --verbose --workspace --locked --no-fail-fast
- run: cargo clippy --all --all-targets -- -D warnings
- run: cargo fmt --all -- --check
- run: ./bin/generate_schemas.sh
- name: Schema Changes
run: git diff --exit-code

22 changes: 1 addition & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1 @@
# macOS
.DS_Store

# Text file backups
**/*.rs.bk

# Build results
target/

# IDEs
.vscode/
.idea/
*.iml

# Auto-gen
.cargo-ok
/scripts/.env
/scripts/node_modules/
#/scripts/package-lock.json
/artifacts/
/contracts/**/schema/
/target
Loading