Commit Graph

133 Commits

Author SHA1 Message Date
Jonathan Claudius 703fbe32c7
sdk: add CalculateQuorum documentation and fuzz testing (#2996)
* sdk: Add fuzz testing and documentation for CalculateQuorum

* Use testify assertions instead of stdlib

* sdk: move unit and fuzz run into one line

* sdk: use better testify function for zero check

* sdk: drop unnecessary format string assertions

* sdk: remove obviously ignored test corpus items
2023-05-30 16:46:51 -04:00
tbjump bf5c540d3e ci: set node-test timeout to 1m 2023-05-25 10:15:14 -07:00
Bruce Riley 5762ba592a Github: Change codeowner for governor
Change-Id: I632b69ba5c609f8362ccef157858570bfb2980b6
2023-05-23 18:13:30 -04:00
Bruce Riley b419896e3b Github: Add code owners for node folder
Change-Id: I05b2f6e68d4b23713b3af55ee6516d51e3537f10
2023-05-23 12:03:54 -04:00
A5 Pickle 6f8c8430ac
solana: fix token metadata program interaction (#2913)
* testing: fix pubkey caused by 0b0b9cea70

* solana: fix token-metadata forked dependency

* sdk/js: fix tokenMetadata and Solana IDLs

* testing: fix tests; add token-metadata dependency

---------

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2023-05-15 20:55:03 +01:00
tbjump d9d5481092 node: update golang to 1.20 from 1.19 2023-05-12 05:59:53 -04:00
tbjump f7c358c7a8 ci: update golangci-lint to v1.52.2 2023-05-05 07:13:40 -07:00
bruce-riley 71a27201c7
Node: Update code owners for watchers (#2852)
Change-Id: I9eab1050c272799cb8a9d1a9259cf73dfdc2d321
2023-05-04 10:18:30 -05:00
tbjump a88982e43d upgrade to golang 1.19.9 2023-05-04 07:22:38 -07:00
tbjump 335c83f080 upgrade to golang 1.19.8 2023-05-04 07:22:38 -07:00
heyitaki 04abafb03d ci: decrease build timeout to 20min 2023-05-02 15:14:23 -04:00
A5 Pickle 760db3c810 sui: redesign Wormhole and Token Bridge contracts 2023-05-02 12:34:41 -04:00
A5 Pickle 75fe8cc9b9 update CODEOWNERS 2023-04-28 14:45:59 -07:00
pongvin e7b606d8ef Update tracking issue
closes #2538
2023-04-10 14:04:04 -04:00
Evan Gray c04a32bc55 Update CODEOWNERS 2023-03-09 10:42:57 -05:00
Jeff Schroeder 9b3458a909 github-actions: remove unused relayer image build 2023-03-08 11:30:36 -05:00
Jeff Schroeder f1daec84b0 github-actions: update go version in build.yml
https://groups.google.com/g/golang-announce/c/3-TpUx48iQY
2023-03-08 11:28:23 -05:00
Evan Gray 3ba494af96 update codeowners 2023-02-28 13:28:14 -05:00
Adam A e2b6e441d4
Update issue templates and add template list config (#2426)
closes #2425
2023-02-23 19:20:38 +00:00
A5 Pickle 302572326e Update CODEOWNERS
Closes #2419.
2023-02-23 11:43:17 -05:00
Evan Gray 30d8fb4ef7 Update CODEOWNERS 2023-01-30 21:43:22 -05:00
Evan Gray 992efa44a3 CI: split lint-and-tests 2023-01-25 11:10:16 -05:00
Chirantan Ekbote 45b3d18d80 Add codeowners for accountant 2023-01-23 09:11:39 -05:00
Csongor Kiss 91047147b0 CI: run sui tests 2023-01-20 14:57:00 +00:00
justinschuldt 9db82e310f cosmwasm - separate deploy code per chain 2023-01-19 09:32:13 -06:00
Nikhil Suri 07831437ba
wormchain: run Ignite through docker and update documentation (#2169) 2023-01-18 07:56:32 -08:00
Nikhil Suri 42b0e00dc8 ci: fix wormchain build ignite cli issue 2023-01-10 15:26:57 -06:00
heyitaki b7d870efcb docker: reorganize dockerfiles 2022-12-21 10:58:22 -08:00
Hendrik Hofstadt 6c7d44ca85
ci: Fix flaky solana tests and improve CI time (#2148)
* solana: remove sync from tests

Change-Id: I8c123ea87e78732541e5040e8653bc114ce95404

* ci: cache more rust build artifacts

Change-Id: I436f27de38651cdb2a9c73b58f20d44b4392c336
2022-12-21 14:24:50 +01:00
Kevin Peters d094e3104a Updated CODEOWNERS file 2022-12-15 14:51:06 -05:00
Kevin Peters 6bc0ef893d Updated CODEOWNERS file 2022-12-13 11:29:57 -05:00
jumpsiegel 82651e4c55
Node fix register chain vaa format error (#2100)
* Node: Fix register chain VAA format error

Change-Id: If60ae2e072da025029b8a817272d8175585baa7d

* sdk_tests: adding sdk vaa tests

* sdk/vaa: share governance serialization

Co-authored-by: Bruce Riley <briley@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-12-12 13:58:38 -06:00
Csongor Kiss 4fcd5ffcca CI: build flattened evm contracts when tag is pushed 2022-12-07 12:32:04 -05:00
Evan Gray e31f701b61 codeowners: add another fallback node reviewer 2022-12-02 17:35:02 -05:00
Evan Gray e3ec8adabd codeowners: full coverage 2022-11-30 20:16:19 -05:00
Hendrik Hofstadt ff186e441a rename dev.v2 to main
Change-Id: Idfc6f88de7ee3c190a01c2196dc0bc4da91cbe4c
2022-11-29 10:43:07 -05:00
jumpsiegel 091ee0877d
WH-1934: upgrade golang to 1.19 (#1941)
* upgrade to golang 1.19.3

Co-authored-by: tbjump <>
Co-authored-by: tbjump <unknown>
2022-11-28 07:48:27 -06:00
Evan Gray f60e6669ec node: commit proto and matching test fixes #1769 2022-10-31 12:45:30 -04:00
Chirantan Ekbote e7554f8b9e rust: Run rustfmt and clippy in CI 2022-10-28 14:35:44 -04:00
Hendrik Hofstadt 6b4de5be9d github: add CODEOWNERS for node
Change-Id: If9777816d8d0902a9f0eff23c1364ba277157f84
2022-10-26 15:26:01 -04:00
Conor Patrick 91bd9a5c36 rename all wormholechain and wormhole-chain references 2022-10-24 17:59:52 -04:00
Evan Gray 32f0159319 ci: unscoped npm package check 2022-10-20 17:11:13 -05:00
Conor Patrick 127cd32e03
add vaa-gated wasmd to wormchain (#1674)
* wormchain: add wasmd module

* wormchain: update proto

* wormchain: gate wasmd contract uploading around vaa

* wormchain: add tests around wasmd operations and guardian set upgrades

* wormchain: split wasm handlers into multiple files and permit bank methods

* wormchain: address review comments

* wormchain: use legacy keccak instead of sha3

* wormchain: add way to compute vaa hash manually

* wormchain: update proto package paths and dependencies

* wormchain: remove wasmd keeper guard

* wormchain: add CLI helpers for starting the chain

* wormchain: increase max validators and add genesis time

* wormchain: remove .pb.go from lint check

* wormchain: cleanup and address review comments

* wormchain: stop tracking .pb.go files

* wormchain: address comment to create buffer safely

Co-authored-by: Chirantan Ekbote <cekbote@jumptrading.com>

* wormchain: generate proto in ci

* wormchain: fix wrong description

* wormchain: always rebuild proto in ci

* wormchain: fix unit test compile error

* wormchain: build proto in tilt

Change-Id: Ibc4f4ff0c34108f4ecbe1af3c47373816739c669

Co-authored-by: Chirantan Ekbote <cekbote@jumptrading.com>
Co-authored-by: Hendrik Hofstadt <hendrik@nexantic.com>
2022-10-14 17:12:57 -05:00
Csongor Kiss ffa31da17c aptos: dockerfile + scripts + README 2022-10-14 12:42:44 -05:00
Chirantan Ekbote 7f4b0d1a09 Wormhole chain integration
This is a squashed commit of all the changes needed to integrate
wormhole chain into the main repo.
2022-10-03 17:34:42 +09:00
Chirantan Ekbote 3103e59217 node: Add race detection to unit tests in CI 2022-09-21 09:47:15 +09:00
Chirantan Ekbote a1576edbba Run solana checks via github actions
The current approach of running solana checks in Tilt is a bit unwieldy
and makes it hard to find errors in all the log spam.  Move the checks
into a github action instead.  This gives us more flexibility to add
formatting and linting checks and also makes it easier to quickly find
any issues in the logs.
2022-09-20 23:00:47 +09:00
Csongor Kiss 52737f8455 CI: update guardiand builder to new docker image 2022-09-15 14:35:46 +01:00
Evan Gray f28e39c490 certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
Christine Eun c62287b6e0 Removed testnet.yml 2022-08-25 17:53:19 -04:00
Csongor Kiss c585533529 CI: install foundry before running tests 2022-08-09 20:02:47 +01:00
Leopold Schabel d3440f879d
.github/workflows: clean workspace on self-hosted runners (#1413) 2022-08-09 18:14:30 +02:00
Jeff Schroeder 45de97015c
Add issue template (#1400)
Simple issue template with a few disclaimers for wormhole.
2022-08-08 09:54:59 -04:00
Csongor Kiss 1a758011e0 CI: don't build foundry from source
the upgrade script just uses docker now
2022-08-03 11:58:31 -04:00
Jeff Schroeder d9bde7e547 Build a relayer container image for each release
This, in addition to #1367, should make it easier for more people
to run their own relayer.
2022-07-19 21:15:49 -04:00
Csongor Kiss fb026f598d
CI: build foundry from source at pinned commit (#1348) 2022-07-11 17:24:01 +01:00
Csongor Kiss 9e52ce4c0d CI: build&publish latest guardiand docker image from dev.v2 2022-07-11 11:21:50 -04:00
Csongor Kiss b067e41120
CI: pin foundry version (#1344)
The latest nightly broke the ugprade test, not yet sure how. For now,
just pin the older version
2022-07-08 14:19:07 +01:00
Jonathan Claudius 0919f29dc3
Docker FROM image pinning (#1337)
* Add script to check docker pinning project wide

* Add workflow to run check-docker-pin

* Pin Docker image refs which were unpinned

* Add exceptions to the pin checking logic

* Fixes to check-docker-pin

* Clean up find command

* Bash optimizations

* Switch to env shebang

* Switch from find to git ls-files and add justification for ignore choices
2022-07-06 15:05:30 -04:00
Csongor Kiss f856240792
node: Prepare development binary release (#1332)
* node: Shrink final docker image size

* Tiltfile: guardiand should run the build stage

* node: allow building without -race

* node: Support development builds

A development build must use the --unsafeDevMode flag.

* CI: build docker image

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-07-06 19:27:49 +01:00
Csongor Kiss 3a182ec6f6 CI: test CLI parser
commit-id:5f865212
2022-07-05 19:24:58 +01:00
Csongor Kiss 0018bf7250 CI: add 'ethereum-upgrade' action to test contract upgrades 2022-06-27 19:19:16 +01:00
tbjump 4575fe05d9
Better lint and formatting (#1263)
Enforce goimports, add tooling and documentation, and run it on the repo.
2022-06-21 12:18:16 -07:00
Evan Gray c7d8075555 cosmwasm: initialize 2022-06-21 10:03:57 -04:00
tbjump 00d7ac6ab2 fix exit 2022-06-02 07:57:49 -04:00
tbjump 3ed1f11e79 fix quote 2022-06-02 07:57:49 -04:00
tbjump ba5fcc4ad8 apply gofmt and enforce it for new commits 2022-06-02 07:57:49 -04:00
Paul Noel e2687e7c36
algo/make: add Makefile and test script (#1153)
* algo/make: add Makefile and test script

* algo/make: add cleanup of sandbox

* algo/make: add python3 requirements

* algo/make: fix path

* algo/make: change pyteal version

* algo/make: propagate errors

* algo/make: add verbosity

* algo/make: fix script

* algo/make: $? check is bad

* algo/make: try using github runner with python 3.10

* algo/make: need to use the correct requirements file

* algo/make: some tests aren't running

* algo/make: attempt to fix tests

* algo/make: get workflow to work

* algo/make: fix runner

* algo/make: try to find the correct python version

* algo/make: more changes

* algo/make: move code around

* algo/make: all python test

* algo/make: remove tabs

* algo/make: combine lines

* algo/make: back to using Makefile in action

* algo/make: change path

* algo/make: test error

* algo/make: fix error example
2022-05-31 16:47:31 -04:00
bruce-riley d04328b858
Celo testnet support (#1051)
* Initial Celo support

Change-Id: Iee98ee29a8b09af9ca76945792b750d96a170702

* Watcher support

* Fix high level make file

* Remove node binary committed by mistake

* Port change from EthWatcher to CeloWatcher

* Use docker to build ABIs

* Refactor watcher to eliminate massive redunancy

* Fix lint-and-tests to handle multiple defs on link

* Minor code cleanup

* Celo should use ganache in devnet

* Prep for mainnet deploy

* Code review rework

* Remove celo from sdk package.json
2022-04-28 12:20:38 -04:00
Chirantan Ekbote e907a05b1e sdk, terra: Fix tests and add them to CI
The terra tests had bit rotted quite terribly. It seems no one has run
them in almost a year because the API changed with the 0.14 release of
cosmwasm_vm in April, 2021.

Completely remove cosmwasm_vm from dev-dependencies.  The tests aren't
doing anything that requires interacting with the wasm code and can just
test the relevant functions directly.

Once this goes in the tests should be running in the CI so hopefully no
one will be able to push any more breaking changes.

commit-id:537d95e6
2022-04-20 09:46:51 +09:00
justinschuldt 18f8337ac9 make multiple guardians the default for tilt ci 2022-04-12 20:37:52 -05:00
Chirantan Ekbote 4ef93e1619 Add `cargo check` to CI
This makes sure that the code builds successfully.

commit-id:d71c5b75
2022-04-12 13:58:37 -04:00
Evan Gray 383bcbd8c1
bridge_ui: support acala relayer (#1043)
* bridge_ui: support acala relayer

* testnet bridge_ui action

* update acala urls

* support recovery with acala relayer

* update relayer API

* karura and acala are 1 conf

* add native-ish KAR and ACA

* update testnet action

* fix ACA token name
2022-04-07 00:18:48 -04:00
Karl 6a00c3b44c
Add framework for Terra contract testing (#1050)
* Add terra integration test framework

* Update README

* Remove comment

* Update README

* Add .gitignore
2022-04-06 11:25:18 -05:00
Csongor Kiss 745d3db68d
Run ethereum tests on CI (#1028)
* Add makefile to run ethereum tests

* Run tests on CI

* single rm in make clean

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>

* Fix WETH address in bridge test

Change-Id: Idd7455cc873d2db86c2ccc130bd673b065311e67

* Don't kill ganache-cli if already running

Instead error the test

* eth: omit mainnet stuff from ci

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
Co-authored-by: Drew Sterioti <asterioti@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-03-31 00:32:27 -04:00
Evan Gray f22e7d73b9 remove dependabot 2022-03-07 21:09:47 -06:00
Leopold Schabel 4511b7576c
.github: extend concurrency group to include workflow step (#892) 2022-03-03 21:16:28 +01:00
Evan Gray 885754e723 specify dependabot dirs 2022-02-19 08:06:35 -05:00
Jeff Schroeder 65c1e4141c Ensure the k8s jobs are deleted when tearing down
Otherwise, the test resources can be left between build jobs.

This comes from the Job resource used to run the ci tests.
2022-02-13 16:07:25 -05:00
Leo cf3f6def68 .github: include workflow name in concurrency ID
This hopefully fixes PRs failing as "cancelled". Drive-by cleanup
old branch name while we're at it.

commit-id:ec0076e0
2022-02-08 12:41:48 +01:00
Leo 8e695c674a node: run all Go tests in CI
commit-id:baa9f712
2021-12-20 16:05:22 +01:00
Leo d7d0778d36 tools: remove pack
No longer required as of #584 🎉 This makes the Go dependency
optional.

Fixes #575

commit-id:27f74b14
2021-12-16 18:29:09 +01:00
Leo a3b9760aca Port CI to Github Actions
Most of the magic happens on the infra side:
https://forge.certus.one/c/infra/+/2105

commit-id:66aa537b
2021-12-13 15:38:17 +01:00