Commit Graph

1831 Commits

Author SHA1 Message Date
Evan Gray cc72c2a644 algo: contracts 2022-04-29 20:56:17 -04:00
Kevin Peters d4a4f8aab5 bridge_ui: stats page overhaul, added custody-addresses page 2022-04-29 12:10:33 -04:00
kev1n-peters 76ade1b305
cloud_functions: notional-tvl-cumulative optimizations (#1118)
Added two entry points: ComputeTvlCumulative and TvlCumulative.
The first computes the result and writes it to the results cache -
intended to be invoked periodically by a scheduled task.
The second reads from the results cache and returns it as the response.
2022-04-29 10:02:51 -05:00
Justin Schuldt 218556a8f7
bridge_ui - update Portal twitter (#1123)
* bridge_ui - update Portal twitter
2022-04-29 07:27:52 -04:00
Jeff Schroeder 0981dc19bc node/hack/repair_eth: skip missed message
Otherwise, the script will run until the max number of times and
never complete.
2022-04-29 07:21:03 -04:00
Jeff Schroeder 542acdf0d6 node/hack/repair_eth: more cat & mouse for polygon
* Added the `User-Agent` header to all requests to the block explorer
  so cloudflare's browser check is happier.
* Add an option to sleep between loops hitting the block explorer. More
  than 1 / second on polygonscan gets you blocked temporarily.

These changes are required to repair missed messages on polygon.
2022-04-29 07:21:03 -04:00
bruce-riley d04328b858
Celo testnet support (#1051)
* Initial Celo support

Change-Id: Iee98ee29a8b09af9ca76945792b750d96a170702

* Watcher support

* Fix high level make file

* Remove node binary committed by mistake

* Port change from EthWatcher to CeloWatcher

* Use docker to build ABIs

* Refactor watcher to eliminate massive redunancy

* Fix lint-and-tests to handle multiple defs on link

* Minor code cleanup

* Celo should use ganache in devnet

* Prep for mainnet deploy

* Code review rework

* Remove celo from sdk package.json
2022-04-28 12:20:38 -04:00
justinschuldt 19fb468ceb handle CG 401s and remove noisy logs 2022-04-28 08:34:54 -05:00
justinschuldt c5c30ab076 blacklist fake sushi from TVL calc 2022-04-28 08:34:04 -05:00
justinschuldt 4ae277f264 shutdown auth proof template 2022-04-28 02:32:04 -05:00
Jeff Schroeder a4c91d8f1b
Minor updates to repair_eth (#1120)
* node/hack/repair_eth: use a cookiejar for http

Otherwise, explorers like polygonscan, which implement a cloudflare WAF,
will block all requests.

* node/hack/repair_eth: add -showError flag

When an explorer is having problems or blocks a repair http request, it returns an error like:

    Failed to get current height: failed to decode response: invalid character '<' looking for beginning of value

This allows showing the actual response body to better troubleshoot the problem.
2022-04-27 14:33:43 -04:00
Adrian Timpau dbc0c56eb5
+ aurora (#1112) 2022-04-27 09:54:08 -05:00
Kevin Peters 76356fdb29 bridge_ui: Updated CoinGecko token images 2022-04-27 10:38:10 -04:00
bruce-riley 87b36399d3
Add safe mode check (#1108)
Change-Id: Ida10e1ab0c056b4ed1ce2317800235843763a7ac
2022-04-26 07:51:10 -05:00
bruce-riley 05d84b4d6f
Add fantom to repair script (#1109)
Change-Id: Ic81b1082b72bb0cd66d9f15e951f6df2b92972ad
2022-04-26 07:50:07 -05:00
Kevin Peters 2c76aabf6e cloud_functions: Split notional-tvl into read and write (to cache) entry points 2022-04-25 17:33:18 -05:00
ceun a4854f9368 Added fake voxel to tokensToSkip list 2022-04-25 10:02:02 -05:00
Shunji Zhan 205f47b509 fix gas for NFT minting 2022-04-24 07:58:27 -04:00
ckeun a3886e3c20
Added fake testWETH on poly to tokensToSkip list (#1103) 2022-04-22 09:12:54 -05:00
Csongor Kiss da479cf4c1 solitaire: fix initialisation check 2022-04-21 19:07:15 +01:00
Evan Gray 50bb184522
Spy relayer fixes (#1095)
* try catch pullAllEVMTokens

* remove some logs from walletMonitor

* redundant check fix, init s/f metrics

* fix unwrap for realz

* confirmed and rollback metrics

* fix terra balance fetching

* relayer: split out wallet monitor

* relayer: update tilt for wallet-monitor

* relayer: evm print tx hash before wait

* relayer: split out redis queue by source/target

* Update spy relayer example mainnet config files

* Includes Aurora bits in the emitter addresses, supported tokens,
  and supported chains.

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2022-04-20 19:51:12 -04:00
Evan Gray 26f9b9d752 bridge_ui,sdk: postVaa hotfix 2022-04-20 15:43:08 -04:00
Jonathan Claudius 5a987a8d2b
Comment ethereum messages (#1025)
* Add comments to Ethereum Messages.sol contract

* Remove current language, as it's a bit misleading

* Change comment formatting

* Switch to NatSpec comments

* Clean up comments for expired GuardianSet checks

* Clean up comments for expired GuardianSet checks, again
2022-04-19 21:07:08 -04:00
Chirantan Ekbote e907a05b1e sdk, terra: Fix tests and add them to CI
The terra tests had bit rotted quite terribly. It seems no one has run
them in almost a year because the API changed with the 0.14 release of
cosmwasm_vm in April, 2021.

Completely remove cosmwasm_vm from dev-dependencies.  The tests aren't
doing anything that requires interacting with the wasm code and can just
test the relevant functions directly.

Once this goes in the tests should be running in the CI so hopefully no
one will be able to push any more breaking changes.

commit-id:537d95e6
2022-04-20 09:46:51 +09:00
Chirantan Ekbote 3fdd9ccc3e solana: Merge into single workspace
Merge all the separate solana crates into a single workspace.  This is
the same thing we do for terra and will make it easier to check / lint /
test all the crates together.
2022-04-20 09:37:30 +09:00
kev1n-peters 275fcb2a36
bridge_ui: MetaMask wallet_addEthereumChain support (#1085)
* bridge_ui: MetaMask wallet_addEthereumChain support

* update karura and acala urls

Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-04-19 18:45:03 -04:00
Csongor Kiss 0f6c1e2d98 Allow specifying the timestamp in governance inject
The 'timestamp' field is now allowed in a governance prototxt, which
applies to all the messages in the struct. If the timestamp is not
specified, then it defaults to 0, which is identical to the existing
behaviour.
2022-04-19 17:52:05 +01:00
kev1n-peters 7ca287c0dc
bridge_ui: Added legal disclaimer footer (#1080) 2022-04-18 16:53:06 -05:00
kev1n-peters e631e32116
cloud_functions: notional-transferred skipTokens support (#1088) 2022-04-18 17:48:14 -04:00
Paul Noel 85b6dfc420
sdk/js/src/token_bridge/__tests__: added more tests (#1029)
* sdk/js/src/token_bridge: adding more tests

* sdk/js/token_bridge/__tests__: ci changes
2022-04-14 14:07:29 -05:00
Jonathan Claudius 040eace4f7
Add to ethereum contract integration test coverage (#1053)
* Fix assert typos

* Restructure data field and add comments

* Move magic hex into named variables

* Add README items for running tests

* Add make test to README

* Show work on core string generation

* Add action transfer fee

* Add more VM integration test cases
2022-04-14 10:11:04 -04:00
justinschuldt 8667a6894a cloud functions - bump wormhole/node dep 2022-04-14 08:52:50 -05:00
justinschuldt 890f1a6469 cloud functions - add aurora 2022-04-14 08:52:50 -05:00
Kevin Peters 0eb4fb9aae cloud_functions: Added totalsOnly param to notional-tvl-cumulitive
Consumers may only care about the totals which results in a drastically
smaller response payload size.
2022-04-13 21:09:29 -05:00
Evan Gray b8b90e1de4 bridge_ui: remove Aurora from beta 2022-04-13 21:55:47 -04:00
justinschuldt 6e58ae511d cloud functions - tvl blacklist case insensitive 2022-04-13 17:24:17 -05:00
justinschuldt 52072706a1 cloud functions - blacklist token from TVL calc 2022-04-13 16:55:53 -05:00
Evan Gray 39bc7d1ca8 bridge_ui: use relayer fee schedule 2022-04-12 22:24:43 -04:00
justinschuldt 0a7168c107 move guardian-set-init.sh to docker/tilt 2022-04-12 20:37:52 -05:00
justinschuldt 18f8337ac9 make multiple guardians the default for tilt ci 2022-04-12 20:37:52 -05:00
justinschuldt 648a5faa54 fixes for tilt ci 2022-04-12 20:37:52 -05:00
justinschuldt 33298ca722 solana-devnet init multiple guardians 2022-04-12 20:37:52 -05:00
justinschuldt 1b7ce3451e make update-guardian-set.sh idempotent 2022-04-12 20:37:52 -05:00
justinschuldt 2e1ee8ec20 terra-devnet init with multiple guardians 2022-04-12 20:37:52 -05:00
justinschuldt e36b7220b3 eth-devnet init with multiple guardians 2022-04-12 20:37:52 -05:00
justinschuldt cd04836c4b add guardian-set-init.sh for tilt up --num=* 2022-04-12 20:37:52 -05:00
justinschuldt 0063f6ab69 clients/nft_bridge - minor usability improvements 2022-04-12 20:37:52 -05:00
justinschuldt c6d2d6983c clients/token_bridge - minor usage improvements 2022-04-12 20:37:52 -05:00
justinschuldt 5893e0c870 clients/token_bridge - allow multiple guardians when generating governance VAAs 2022-04-12 20:37:52 -05:00
justinschuldt f52bd8fcd2 add devent constants to devnet-consts.json 2022-04-12 20:37:52 -05:00