Commit Graph

86 Commits

Author SHA1 Message Date
Paul Noel ec3a8b4749 scripts: adding ubuntu to dev setup 2023-07-14 13:04:23 -04:00
Hernán Di Pietro fd37be7199
tilt: algorand changes for 3.16.2 (#3114)
* Changes for 3.16.2 Tilt / Devnet.

* Updated constants in test file

* modified python script to 3.16.2

* More AppID Changes.

* Found more AppIds to replace.

* testApp fixed to 1008.
2023-06-28 11:37:41 -04:00
derpy-duck 3c0fecc3fa
Relayer: Generic Relayer Guardian Changes for Merging into Main (#3041)
* 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

* gRelayer: ethereum folder changes for generic-relayer-merge

* add eth-devnet

* Adds .github because workflow needs to install forge

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* update package.json and package-lock.json

* Remove unnecessary types from package.json

* ts-node

* gRelayer: ethereum folder changes for generic-relayer-merge

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* update package.json and package-lock.json

* remove these changes

* Relayer: Natspec documentation in IWormholeRelayer (#3032)

* WIP

* Fixes

* Updated interfaces

* remove bash

* Forward uses same refund chain id and refund address (#3034)

* WIP

* Fixes

* Forward uses same refund chain id and refund address

* Updated interfaces

* Adds .github because workflow needs to install forge

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* SDK minus payload tests

* Rename sdk relayer folder and file

* modify index.ts

* modify path

* sdk-ci-tests need to install forge

* don't wait for nonexistent relayer engine

* Add three governance VAA actions for generic relayers

* demandOption and const

* Remove forge build warnings

* Add note to interface for resend

* Verify additional VAAs in SDK

* via-ir on unless in Tilt

* Correct IWormholeReceiver interface

* Wormhole message fee now part of quoteDeliveryPrice (#3043)

* Fix to PR 3043

* Remove compiler warning

* Remove files

* remove generic relayer docker

* Fix typo

* Relayer/address drew review (#3060)

* Fix typo in Create2Factory

* Add event for contract upgrades

* Prevent registering contract if it is already registered

* Prevent allowing unset chainId for default delivery provider governance VAA

* memory to calldata for external functions in WormholeRelayerSend

* continue memory to calldata for external functions

* Fix pricing in delivery provider

* Sanity check new default delivery provider isn't 0 address

* Don't save vaaKey as local variable

* cache the length of array rather than iterate every time for vaaKeys

* Replacing memory with calldata in few locations

* Remove stale file DeliveryProviderMessages

* Remove batch VAA sender script

* Remove batch VAA from WormholeSimulator

* Wait for a confirmation in deploy scripts

* remove unnecessary comments

* Fix Delivery Provider Pricing and add a test

* remove console logs

* Revert "continue memory to calldata for external functions"

This reverts commit f322afb6c0.

* Revert "memory to calldata for external functions in WormholeRelayerSend"

This reverts commit 42fcaad884.

* Revert "Don't save vaaKey as local variable"

This reverts commit a9172379c5.

* Revert "cache the length of array rather than iterate every time for vaaKeys"

This reverts commit d61380a9b0.

* Revert "Replacing memory with calldata in few locations"

This reverts commit 94e47b6e72.

* Revert "Fix typo in Create2Factory"

This reverts commit a9f7bdf461.

* Update contract addresses for via-ir

* Update register chain test to only do one registration

* Slight improvements to delivery provider implementation

* typed errors for delivery provider

* Update SDK to have via-ir devnet address

* Fix test

* enable VIA-IR in CI and not in Tilt

* Fix chain id

* get register chain test to work

* correct contract address for via ir

* update sdk consts for via ir address

* base 32 address

* merge

* -f to -r

* relay provider -> delivery provider

* fix await

* Readme changes
2023-06-14 10:27:00 -04:00
tbjump aa081a5ef4 address reviewer feedback (will squash on merge) 2023-06-08 13:42:35 -07:00
tbjump a77fb68c78 scripts/update-guardian-set: move new-guardianset.prototxt to /tmp/
before it created it in the current folder, causing Tilt to reload resources and ultimately failing ci tests
2023-06-08 13:42:35 -07:00
tbjump 89a054cdfb node: update golang to 1.20.5 from 1.20.4 2023-06-07 13:16:31 -07:00
heyitaki 0ecc427d6f docker: build CLI in shared image
Co-authored-by: Evan Gray <battledingo@gmail.com>
2023-06-01 15:33:07 +01:00
heyitaki 4f13263089 clients/js: refactor worm info 2023-06-01 15:33:07 +01:00
tbjump d9d5481092 node: update golang to 1.20 from 1.19 2023-05-12 05:59:53 -04:00
Jeff Schroeder afc174e8ca scripts: fix install-foundry
The latest update to the github actions runner sets the XDG_CONFIG_HOME
directory to /home/runner/.config. When this variable is set, the curl |
bash installer installs foundryup to that path. This was resulting in
foundryup being installed to /home/runner/.config/.foundry/bin/foundryup
and breaking this script.

With this change, it correctly installs to:
    /home/runner/.foundry/bin/foundryup

Also ensure XDG_CONFIG_HOME is unset when running foundryup so forge is
installed in the right location as well.
2023-05-04 17:30:46 -04:00
tbjump db0c1193e0 scripts/scope checkers: reduce false negatives 2023-05-04 13:45:56 -07:00
tbjump a88982e43d upgrade to golang 1.19.9 2023-05-04 07:22:38 -07:00
tbjump 04bcfe3ed9 lint: upgrade golangci-lint to v1.52.2 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 412680fba5 sui: update devnet addresses 2023-05-02 15:14:23 -04:00
heyitaki ed733f8e73 sdk/js: add Sui support
Co-authored-by: Evan Gray <battledingo@gmail.com>
Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
2023-05-02 15:14:23 -04:00
bruce-riley caa71f18a6
Deploy base to testnet (#2422)
* Deploy base to testnet

* Shouldn't add testnet evmChainId to impl

* Add base to rpc dump command

* Oops, wrong branch!
2023-02-23 15:42:30 -05:00
bruce-riley 9aeb704e58
Deploy: Make contract upd script support pyth (#2349)
* Deploy: Make contract upd script support pyth

Change-Id: I9c40498ef9849979f89e8d48d60333932f8a696f

* Deploy: Tweak the wording

Change-Id: Iddaca17b74ab2c9aa3a1386280457e02433a6593
2023-02-10 11:15:05 -05:00
Evan Gray 7f9a03254a test: accountant e2e 2023-01-31 11:09:43 -05:00
Justin Schuldt e09a2616bf
wormchain: contracts env data (#2297) 2023-01-27 14:27:21 -05:00
Csongor Kiss 500f70c858 CI: update scripts/check-docker-pin.sh to allow sui 2023-01-20 14:57:00 +00:00
justinschuldt 9db82e310f cosmwasm - separate deploy code per chain 2023-01-19 09:32:13 -06:00
Justin Schuldt ff7273cc5d
tilt: two wormchain nodes for devnet (#2228) 2023-01-18 17:15:23 -05:00
Nikhil Suri 07831437ba
wormchain: run Ignite through docker and update documentation (#2169) 2023-01-18 07:56:32 -08:00
Csongor Kiss 88d13e694b aptos/nft-bridge: mainnet deploy 2023-01-12 02:46:42 +00:00
Csongor Kiss fe5ca53a98 aptos/nft-bridge: Tilt integration
aptos: update Docker image
2023-01-12 02:46:42 +00:00
heyitaki b7d870efcb docker: reorganize dockerfiles 2022-12-21 10:58:22 -08:00
Paul Noel 8d92d23d48
cosmwasm: update verify script (#1936)
* cosmwasm: update script

* scripts: update governance script

* cosmwasm: remove commented code

* cosmwasm: redirect to stderr
2022-11-28 15:24:25 -06: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
Csongor Kiss 0fea135ebe scripts: add arbitrum&optimism to governance script 2022-11-16 17:09:51 +00:00
Evan Gray 83e0f053f8 remove explorer related code 2022-10-31 13:22:51 -04:00
Evan Gray 090a8e0c74 relayer: fix ci 2022-10-27 14:04:38 -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
Csongor Kiss 500654cf02 scripts: uppercase digest in governance generator
the injection command prints out in this format, so it's easier to read
for guardians this way
2022-10-17 23:35:17 -04:00
Csongor Kiss 3877f6f3c3 tilt: register aptos on other chains 2022-10-15 15:17:36 +01: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
Paul Noel 066a2a56aa
clients/js: upgrade to latest wormhole-sdk (#1675)
* clients/js: upgrade to latest wormhole-sdk

* scripts: account for secp256k1 log msg
2022-10-06 11:24:43 -04:00
Chirantan Ekbote d577b931a4 wormchain: Fix formatting and add to lint.sh 2022-10-03 17:34:42 +09: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
Josh Siegel 5d71e619c1 algo/builds: algorand mainnet builds 2022-09-20 10:37:59 -05:00
Chirantan Ekbote 87c89745fb scripts: Add go sdk to lint.sh 2022-09-15 14:35:46 +01:00
Josh Siegel 1003ab163e near/governance: add in support for near 2022-09-12 19:59:25 -05:00
bruce-riley b357ad7061
Script to generate change registration governance (#1508)
* Script to generate change registration governance

Change-Id: If99e78b031dcd4049a9ee40b09914eeb93e7518a

* Rework from code review

Change-Id: I93cf3166c1ab961add2c524084de1981a44b194e

* Change chain_id to chain-id

Change-Id: Iae6f9854a64d8559d03c56949d03043a94dbf7f6
2022-09-06 08:20:51 -05:00
Josh Siegel 4fe9841810 near: initial commit 2022-08-24 15:11:05 -04:00
Csongor Kiss 33f1b28662 scripts: Update scripts/contract-upgrade-governance.sh
Now it prints instructions on checking out the current git hash + some refactoring
2022-08-24 16:27:04 +02:00
Csongor Kiss 3e051e97b6 ethereum: Init foundry project and add installer for native solc 2022-08-09 20:02:47 +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 b5997a10f0 scripts/devnet-consts: use native format for addresses
commit-id:c8c78ae8
2022-07-05 19:24:58 +01:00