Commit Graph

256 Commits

Author SHA1 Message Date
chase-45 6cf8f489c2 contract status scripts 2023-01-27 15:01:50 -07:00
derpy-duck 8b0a776946
Remove wormhole fee from delivery/redelivery quote (#63)
* merge

* Forge fmt
2023-01-26 17:08:42 -05:00
Joe Howarth 032a207dfa update .gitignore 2023-01-26 14:01:59 -07:00
derpy-duck 673542854d
Redelivery fixes (#61)
* smart contract changes for redelivery

* Tests pass for new Redelivery interface

* remove console logs

* forge fmt

* forwarding interface fix

* Remove the rolloverChain parameter from requestForward

Co-authored-by: chase-45 <chasemoran45@gmail.com>
2023-01-26 15:10:44 -05:00
derpy-duck 5a3ff82c43
Application Budget Bugfixes (#60)
* Application Budget Fixes and Tests

* Adding application budget to redelivery test

* Application Budget Test with Redelivery Works

* remove console log import

* Remove console logs from tests

* Remove console logs from mockrelayerintegration

* Use uint32.max and fix outOfFund error in tests

* Removed unnecessary require
2023-01-26 14:27:57 -05:00
Sebastián Nale 7cd5b5871b Fixes typo in comment. 2023-01-24 21:30:21 -03:00
Sebastián Nale 03f8928c0d Documents RelayProviderState. 2023-01-24 21:30:21 -03:00
Joe Howarth ff671332c2 run tests on main too 2023-01-20 12:47:22 -07:00
Joe Howarth eeaa91a2d4 change to main and pull_request 2023-01-20 12:47:22 -07:00
Joe Howarth 7f97d6e0a8 push only on certain branches 2023-01-20 12:47:22 -07:00
Joe Howarth e15029f6e0 save 2023-01-20 12:47:22 -07:00
Joe Howarth 46f32ba4ae refactor docker image gh action to also build on push to main 2023-01-20 12:47:22 -07:00
derpy-duck 546fc1969e
Save Gas: Remove Relay Protection on deliverSingle and redeliverSingle (#45)
* Remove replay protection on deliverSingle and redeliverSingle

* forge fmt

* redelivery fixes, events & relayer refund address

* Got tests passing again (still have to alter a few redelivery tests to validate the new emitted error)

* forge fmt

* Attempt at fixing typescript error

* Forge fmt

* Add indexed

* Fix tests to correctly obtain deliveryVaaHash due to new event structure

* forge fmt

Co-authored-by: chase-45 <chasemoran45@gmail.com>
2023-01-19 14:38:52 -05:00
derpy-duck 1e14fe901f
Change CI Forge Testing Check to run 25 times instead of 256 (#54) 2023-01-19 14:27:39 -05:00
Sebastián Claudio Nale 1e86ed1ab2 CI workflow: renames a few job actions and simplifies some paths. 2023-01-19 14:33:24 -03:00
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