Commit Graph

86 Commits

Author SHA1 Message Date
Jeff Schroeder 887368de9b github: use go1.21.8
Except for wormchain.
2024-04-19 14:08:19 -04:00
Evan Gray 77b4ddc812 ci: switch from ganache to anvil 2024-04-12 10:13:27 -04:00
bruce-riley 86ef5bff5a
Ethereum: Move relayer (#3866)
* Ethereum: Move relayer

* JS/SDK: Handle relayer move

* More tweaks

* ci: fix relayer deploy

* Code review rework

* Hack to fix tilt

* Another hack

* ci: revert relayer addresses

* Fix sdk tests

* Move ethereum-relayer to relayer/ethereum

* Yet another fix for tilt

* Code review rework

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-04-11 08:46:36 -04:00
A5 Pickle 22e31affe2
sdk/rust: prepare to publish crate (#3849)
* sdk/rust: organize workspace

* sdk/rust: add serde_wormhole to deps

* sdk/rust: serde_wormhole -> wormhole-raw-serde

* sdk/rust: add supported-chains; serde_wormhole -> wormhole-vaas-serde

* cosmwasm: fix deps

* sdk/rust: fix fmt

* sdk/rust: jk

* sdk/rust: add desc

* sdk/rust: rm Cargo.lock

* .github: fix workflow

---------

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2024-03-25 14:09:54 -04:00
Jeff Schroeder b175dd43c8
docs: quit the spelling spam typo fix PRs with cspell magic (#3845)
* Add cspell configuration and custom dictionary

The goal is to cut down on both incoming tyops, and well meaning but
spammy tyop fix PRs.

To run cspell locally install it and run:

    cspell '**/*.md' \
        --config cspell.config.yaml \
        --words-only \
        --unique \
        --quiet | sort --ignore-case

* docs: cspell updates

* wormchain: cspell updates

* aptos: cspell updates

* node: cspell updates

* algorand: cspell updates

* whitepapers: cspell updates

* near: cspell updates

* solana: cspell updates

* terra: cspell updates

* cosmwasm: cspell updates

* ethereum: cspell updates

* clients: cspell updates

* cspell updates for DEVELOP document

* github: run cspell github action

* sdk: cspell updates

* github: only run cspell on markdown files

* algorand: EMMITTER --> EMITTER

Suggested-by: @evan-gray

* cspell: removed from dictionary

Suggested-by: @evan-gray

* aptos and node: cspell updates

Suggested-by: @evan-gray

* cosmowasm: doc updates for terra2

Suggested-by: @evan-gray

* algorand: cspell updates

Suggested-by: @evan-gray

* algorand: cspell updates

Suggested-by: @evan-gray

* cspell: updated custom word dictionary

This resorts the dictionary and adds a few new words from the
algorand/MEMORY.md document around varints and integers.

* cspell: sort the dictionary how vscode does it

On macOS the sorting is locale dependent. To do this on macOS, you have
to invert the case, do a character insensitive sort, and then invert the
case again:

    LC_COLLATE="en_US.UTF-8" cspell '**/*.md' --config cspell.config.yaml \
        --words-only \
        --unique \
        --no-progress \
        --quiet \
    | tr 'a-zA-Z' 'A-Za-z' \
    | sort --ignore-case \
    | tr 'a-zA-Z' 'A-Za-z'

This requires the `LC_COLLATE` variable to be set to `en_US.UTF-8`, or it
will not do the right thing.

* docs: grammar clean up

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-20 15:40:02 -04:00
bruce-riley 3a9dfd968b
NTT / Acct / Node: Guardian support (#3815)
* NTT/Acct/Node: Guardian changes

* Add per-emitter enforcement

* complete ntt accountant integration tests and run in parallel

* Minor tweaks

* Increase delay in tests

* fix accountant ci check

* Add CI AR address

* update prefixes

* increase timeout

* update ntt transfer wire format

* Code review rework from PR #3800

* Up tilt timeout

* Allow NTT accountant without base accountant

* Define known automatic relayer emitters

* Code review rework

---------

Co-authored-by: Evan Gray <battledingo@gmail.com>
2024-03-08 07:52:12 -06:00
Dirk Brink a048c9ac83
ci: Fix ordering of forge builds (#3765) 2024-02-02 21:06:46 -08:00
Dirk Brink bf67227460
ethereum: PUSH0 test (#3748)
* ethereum: PUSH0 test

* Echo to stderr
2024-01-30 14:35:39 -05:00
Jeff Schroeder c6afdeeb86 Update golang version to 1.20.10
This feature release mitigates CVE-2023-39325
2023-10-24 13:34:19 -04:00
Csongor Kiss c78711e5b5 CI: run ethereum tests on ubuntu-latest
ubuntu-20.04 ships with GLIBC-2.31, but the latest foundry
nightly (which these CI actions use) link against 2.33+ (perhaps foundry
should statically link against something like musl...?)

So instead we run these two tests on ubuntu-latest
2023-09-25 21:19:32 +01:00
tbjump 8c1f7d2eda upgrade to golang 1.20.8 2023-09-13 07:17:31 -07:00
tbjump 256e67df9a upgrade to golang 1.20.7 2023-08-03 09:58:14 -07:00
tbjump d16d601695 ci: increase tilt timeout to 60m 2023-08-03 12:43:36 -04:00
Kevin Peters a13e06c153 CI should run prettier@2.3.2 2023-07-25 12:54:44 -05:00
Paul Noel 6309b321e8
ci: add github workflow with prettier checks for clients/js/src and sdk/js/src (#3176)
* github: add prettier check for clients/js

* github: update workflow to include sdk/js
2023-07-12 11:30:14 -04:00
tbjump 149d898ac6 node: refactor guardiand/node.go 2023-06-26 07:07:37 -07:00
derpy-duck 82e31f6965
Relayer: Import sdk in relayer engine (#3095)
* Update relayer engine dockerfile to import SDK, and reduce timeout

* fix import

* Add ethereum config folder
2023-06-16 06:44:55 -04:00
tbjump a98406550a ci: set Tilt guardiand_loglevel=info 2023-06-15 08:33:13 -07:00
derpy-duck 10cc45aba2
Relayer/merge into wormhole relayer engine (#3042)
Note: The time limit for CI needs to be increased because now the relayer engine needs to build the SDK from source (the ethereum folder) in it's docker image.

Once the SDK is published, I can have the relayer engine docker image simply import the SDK, which should save a lot of time and allow us to reduce the CI time limit again.
2023-06-14 15:08:28 -04:00
derpy-duck 3009d002fd
Relayer: Setup for Merging into Main (#3039)
* gRelayer: surrounding files

* modification to get compilation

* restore devnet

* remove generic relayer docker

* remove wait for relayer engine

* keep build time 20

* sh -> bash

* sh -> bash

* Remove comment

* bash -> sh

* Revert "bash -> sh"

This reverts commit 5c37e92fa1.

* bash->sh
2023-06-13 15:36:13 -04:00
Ben Guidarelli 88ddb1d9e2
Docs: CLI README update (#3058) 2023-06-13 09:21:25 -04:00
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 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 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
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
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
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