Commit Graph

241 Commits

Author SHA1 Message Date
Joe Howarth d34db742b1 update tilt wormhole rpc 2023-02-09 15:48:57 -07:00
Joe Howarth c4282f38cd configure relayer engine for tilt 2023-02-09 15:48:57 -07:00
derpy-duck e3c4ea0088
Add error messages to interface (#80)
* Add error messages to interface

* Make getDefaultRelayProvider view
2023-02-07 16:43:32 -05:00
Joe Howarth 84e83e1b63 fix return of consumeEvent 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 9ea639d27d update gitignore 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 004f280ced Switches config back to memoryDB 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 9fa624e552 update relayer engine version 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 323723167c adds cluster flag to config 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 338e7fdf8f typing fix 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 9fc1c410fe minor plugin fixes due to interface changes and config updates 2023-02-07 10:16:46 -07:00
Joe Howarth 06250cc3c4 reference new relayer engine package 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 74f41bab30 Updates relayer engine hash version 2023-02-07 10:16:46 -07:00
Gabriel Zimmermann 55055bd088 Adds variables to deploy memorydb to relayer engine 2023-02-07 10:16:46 -07:00
derpy-duck d59bd6d82a
Remove provider from requestMultiforward interface (#78) 2023-02-06 12:27:05 -05:00
Sebastián Claudio Nale e1b57fb4df Avoids double read on the same storage slot. 2023-02-02 17:26:23 -07:00
Joe Howarth 7fa160e50e crearted -> created
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2023-02-01 12:18:56 -07:00
Joe Howarth 813c2181ad save 2023-02-01 12:18:56 -07:00
Joe Howarth 935a6732c1 Test redelivery 2023-02-01 12:18:56 -07:00
derpy-duck fc06699266
subtract by the overhead from running gasleft() (#74)
* subtract by the overhead from running gasleft()

* Rename variable

* forge fmt

* Clamp to the upper gas limit

* Forge fmt

* Update ethereum/contracts/coreRelayer/CoreRelayer.sol

Co-authored-by: scnale <sebinale@gmail.com>

---------

Co-authored-by: scnale <sebinale@gmail.com>
2023-02-01 13:20:39 -05:00
derpy-duck 20bb4c7f8e
Think about upper limits (#68)
* Change arbitrary contraints

* higher limit asset conversion buffer

* Remove unnecessary constraints on tests, and impose lighter constraints

* Forge fmt

* change to power of 2, and remove fuzz=25 limit

* set deliver gas overhead nonzero (#71)

* Fix previous redelivery tests to test emitting of InvalidRedelivery r… (#69)

* Fix previous redelivery tests to test emitting of InvalidRedelivery rather than the old reverting

* remove extraneous comment

* forge fmt

* Actually fix contracts to work for 2^256
2023-01-31 16:23:58 -05:00
Sebastián Claudio Nale 89c83235c5 Removes `truffle compile` and npm clean install for wormhole dependency.
This speeds up the CI pipeline considerably.
2023-01-31 12:07:30 -07:00
derpy-duck f96902d430
No forwards are allowed from addresses that aren't the targetAddress (#70) 2023-01-30 17:30:22 -05:00
Joe Howarth 48defa84a0 fix up ICoreRelayer 2023-01-29 14:46:35 -05:00
Joe Howarth 3cac2165b4 update with changes from 'redelidevery-fixes' branch 2023-01-29 14:46:35 -05:00
Joe Howarth 2cf9fb0dca refactor handle workflow 2023-01-29 14:46:35 -05:00
Joe Howarth 4f9e02111d save 2023-01-29 14:46:35 -05:00
Joe Howarth 387450aa5c redelivery code drafted, testing inconclusive 2023-01-29 14:46:35 -05:00
chase-45 312df2d862 redelivery draft 2023-01-29 14:46:35 -05:00
Sebastián Claudio Nale c5a4a6c89d Adds some debugging symbols and metadata for contracts in foundry.toml 2023-01-27 18:51:26 -07:00
Joe Howarth b0644fa083 improve message test again 2023-01-27 15:01:50 -07:00
Joe Howarth 3f5588d26d improve messageTest and update configs 2023-01-27 15:01:50 -07:00
Joe Howarth feaa30abc7 update relayer engine config 2023-01-27 15:01:50 -07:00
Joe Howarth 68f23a373e set buffer and denom in configureRelayProvider 2023-01-27 15:01:50 -07:00
Joe Howarth 0095681f02 save 2023-01-27 15:01:50 -07:00
Joe Howarth 0682d34d47 Deployment 2/26 2023-01-27 15:01:50 -07:00
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