Commit Graph

241 Commits

Author SHA1 Message Date
Sebastián Claudio Nale 9716ac6289 CI workflow: installs Foundry through official GH action.
This caches a particular release across action runners, lowering the
chance of running into a 403 unauthorized access in GitHub.
2023-01-19 14:33:24 -03:00
agodnic 87cfc41bf5
Replace strings with typed errors (#37)
* Replace strings with typed errors

Replace strings with typed errors in `ethereum/contracts/relayProvider/*.sol`.

* Rename misleading identifier

* Update forge assertions to use typed errors

Update RelayProvider unit tests to use typed errors.

* Replace strings with typed errors

Replace strings with typed errors in `ethereum/contracts/coreRelayer/*.sol`.

* Update forge assertions to use typed errors

Update CoreRelayer unit tests to use typed errors.

* `forge fmt`
2023-01-19 09:59:35 -05:00
derpy-duck 9d51fd54ae
Fix bug related to refunding of application budget if delivery fails (#42)
* Fix bug related to refunding of application budget if delivery doesn't succeed

* forge fmt

* Fix some yul error

* forge fmt
2023-01-18 21:35:52 -05:00
derpy-duck 177862cd78
Allow governance to update asset conversion buffer, and also remove t… (#44)
* Allow governance to update asset conversion buffer, and also remove the dependency on source chain for asset conversion buffer

* forge fmt
2023-01-18 18:51:06 -05:00
Joe Howarth 7357f20f64 remove extra docker-publish gh action; use published image in simple-gr.yaml 2023-01-18 14:59:05 -07:00
Joe Howarth 5419023df9 add env vars 2023-01-18 14:59:05 -07:00
Joe Howarth 00f1198021 trim docker push job 2023-01-18 14:59:05 -07:00
Joe Howarth 0677d278d7 docker publish 2023-01-18 14:59:05 -07:00
Joe Howarth 31b87eb4ca save 2023-01-18 14:59:05 -07:00
Joe Howarth 330b76fb8c save 2023-01-18 14:59:05 -07:00
Joe Howarth d49fcb128e fix configure relay provider 2023-01-18 13:28:53 -07:00
Joe Howarth 4cdeca0d34 improve deployment 2023-01-18 13:28:53 -07:00
Joe Howarth c119f88024 save 2023-01-18 13:28:53 -07:00
Joe Howarth cd1ee566c0 ck sdk/src/index.ts from improve-dockerfile 2023-01-18 13:05:33 -07:00
Joe Howarth bbb01efff6 include updated_make_ethers_types 2023-01-18 13:05:33 -07:00
Joe Howarth a9a1bbae2a update relayer_engine stuff 2023-01-18 13:05:33 -07:00
derpy-duck 9e3453709f forge fmt 2023-01-18 13:05:33 -07:00
derpy-duck 04999b89eb fix typecheck errors 2023-01-18 13:05:33 -07:00
Joe Howarth da21f00fbb update script 2023-01-17 15:19:08 -07:00
Joe Howarth 4443138296 improve contract deployment infra for bsc and polygon t
estnet deploys
2023-01-17 15:19:08 -07:00
Sebastián Claudio Nale a7fb5b46e9 Adds `skipLibCheck: true` to ethereum tsconfig. 2023-01-17 15:11:41 -07:00
Sebastián Claudio Nale ce4eaf75e2 Updates sdk package-lock.
This allows `npm ci` to work.
2023-01-17 15:11:41 -07:00
Sebastián Claudio Nale 740a77d26c Adds some more granularity to `make build` rule in `ethereum`.
This allows using the checkout action in the CI workflow.
2023-01-17 15:11:41 -07:00
Sebastián Claudio Nale ef844a465f Ensures test build and common build are the same.
This avoids unnecessary recompilation in CI pipeline.
2023-01-17 15:11:41 -07:00
Sebastián Claudio Nale 75f3a1a7a3 Github actions workflow that tests and typechecks. 2023-01-17 15:11:41 -07:00
Agustin Godnic 0df6c6fbf0 Fix typo in `ethereum/Makefile`
Ran into this while compiling the project from scratch.
2023-01-17 15:11:41 -07:00
Joe Howarth ee829d12bf First k8s deployment 2023-01-17 11:02:12 -07:00
Joe Howarth f088551a55 remove useless relayer service 2023-01-17 11:02:12 -07:00
Joe Howarth 7c2c68be3b remove nested sdk 2023-01-17 11:02:12 -07:00
Joe Howarth 03f09c9a1a first k8s deployment w/ relayer engine and redis 2023-01-17 11:02:12 -07:00
scnale 4a57a6c371
Replaces "bare" with named parameters in struct constructor calls. (#35) 2023-01-13 15:27:59 -05:00
derpy-duck f8a75595b8
Forward should be payable right? (#38)
* Forward should be payable right?

* fix spacing
2023-01-13 15:26:20 -05:00
derpy-duck 53d67259f8
Remove wormhole message fee from calculateTargetGasDeliveryAmount (#41) 2023-01-13 15:26:04 -05:00
derpy-duck 034a7dd831
Deliver single and request delivery forge tests (#36)
* Tests for 7 errors messages in deliverSingle and 3 error meessages n requestDelivery

* Update forge tests to use new CoreRelayer governance

* Remove console.sol import

* Remove console logs

* Changing limit from 2^62-1 to 2^63-1

* Testing changing wormhole fees for all current tests

* Run forge fmt, remove [fuzz] params

* remove whitespace
2023-01-11 14:11:43 -05:00
Joe Howarth b146a7ac82 clarfiying comment 2023-01-11 11:38:45 -07:00
Joe Howarth a61dc90043 constants for db keys 2023-01-11 11:38:45 -07:00
Joe Howarth cc240bbd08 optimistic pre-fetch 2023-01-11 11:38:45 -07:00
Joe Howarth 704d080075 vaa fetching background job 2023-01-11 11:38:45 -07:00
Joe Howarth 121ad6d84b test against testnet 2023-01-11 11:38:45 -07:00
Joe Howarth 50bd76f01d Wait for signed relayer VAA, then fetch others based off that 2023-01-11 11:38:45 -07:00
Joe Howarth 0e2e6dc7f2 commit testnet contract addresses 2023-01-09 14:50:44 -07:00
Joe Howarth cef9610d8c Fix deployment scripts to work against testnet 2023-01-09 14:50:44 -07:00
Joe Howarth cd1f2fce37 testnet config entries 2023-01-09 14:50:44 -07:00
chase-45 12a09d8b24 upgrade script by VAA for core relayer 2023-01-09 14:50:44 -07:00
chase-45 5bd7ba46ab CoreRelayerLibrary for governance + ts scripts for vaa registrations 2023-01-09 14:50:44 -07:00
chase-45 cd26ace599 core relayer contracts upgrade via governance 2023-01-09 14:50:44 -07:00
chase-45 b50fd28283 make tilt-deploy works again 2023-01-09 14:50:44 -07:00
chase-45 2b511f97c0 Upgrade script for RelayProvider 2023-01-09 14:50:44 -07:00
chase-45 e2dbc6f5f5 README file for ts tooling 2023-01-09 14:50:44 -07:00
chase-45 7005533a23 refactoring & cleanup in ts tooling 2023-01-09 14:50:44 -07:00