Commit Graph

55 Commits

Author SHA1 Message Date
tbjump 89a054cdfb node: update golang to 1.20.5 from 1.20.4 2023-06-07 13:16:31 -07:00
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
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
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
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 992efa44a3 CI: split lint-and-tests 2023-01-25 11:10:16 -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
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
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
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
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 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
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
Csongor Kiss fb026f598d
CI: build foundry from source at pinned commit (#1348) 2022-07-11 17:24:01 +01: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 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
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
Leopold Schabel 4511b7576c
.github: extend concurrency group to include workflow step (#892) 2022-03-03 21:16:28 +01:00