Commit Graph

32 Commits

Author SHA1 Message Date
bruce-riley 879670c0e5
Klaytn testnet support (#1038)
* Klaytn support for testnet

Change-Id: Id0647fd6c603ab298f860c2cae20481555467315

* token_bridge client changes

Change-Id: If49ba994a67041044bdec054f19e69b4cfc2785b

* Get rid of special handling

* More cleanup

* Need to add Klaytn to structs tests

* Update SDK version

* Add SDK version

* fix klaytn bridge chain id

Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-04-04 18:11:03 -04:00
Jeff Schroeder 349fa42c58
Spy relayer cleanup (#1015)
* initial spy-relayer

* Update spy_relayer Dockerfile

* added example mainnet config files

* split out private keys into its own ENV variable

* Update spy relayer supportedChains.json

To remove the `walletPrivateKey` entries. All of the private keys have
been split out into their own json file.

* fixed evm private key env parse

* missing solana accounts report 0 balance, rather than error

* wallet address is logged in debug

* spy_relayer: enabled prometheus default metrics

Also set a prefix of `relayer_`

* spy_relayer: updates to the prometheus bits

* Use a single metric registry
* Use a simpler metric name and add labels for individual wallets

* spy_relayer: human readable app mode in the metrics

[ listener | relayer | both ]

* spy_relayer: unify metrics

* remove the collection of default metrics
* hardcode the `spy_relayer_` prefix on all custom metrics

* fixed dep arrays, nullable terra token/balance info

* attempt stack debug

* debug pullTerraBalance

* provider http or ws

* update sdk

* logging for tokenAddress is 0

* fix foreign address calc

* fix calcLocalAddressesTerra

* relayer/spy_relayer: update prometheus helpers

Add / url handler for the ingress-gce stupid load balancer that
doesn't support custom url healthchecks unless you make a BackendConfig
custom resource definition.

* logging refinement

* use chain name in prometheus

* adjust retry timeout calculation

* spy_relayer: update prometheus bits

* improved error handling

* relayer ui improvements

* prep sdk release

* use latest sdk, manual redeem button

* relaying ux improvements

* gas price fix

* shortened terra success log

* use gh base relayer list

* fix prometheus urls

* Update prometheus metric name

* only show TPS warning on mainnet

* show relayer fee in source preview

* fix unwrap check

* add native bool to balance metric

* logging improvements

* add feeRecipientAddress to redeemOnSolana

* gather solana fees

* remove relayer ws support

* add nativeCurrencySymbol to ChainConfigInfo

* fix solana native symbol

* demoteWorking option, logger contexts

* scoped logging

* bridge_ui: unwrap native

* add evm wallet monitor test

* solana vaa parsing fix

* add monitorRedis

* make Jeff's brain happy

* log demoting keys

* register redisQueue metric

* human readable redisQueue metric

* fix timestamp inconsistency

* use scopedLogger for the first level of workers

* pull wallet balances in parallel

* more scoped logging

* pick a solana fee

* moving keys log improvement

* update eth gas calculations based on recent txs

* use postVaaSolanaWithRetry

* split success and failures by chain

* fix using terraCoin

* check prom every 10s

* batch getting evm token balances

* batch calcLocalAddressesEVM

* debug worker logging

* log retry number

* support Polygon?

* reset status on demotion

* enhance!

* update avax fee

Co-authored-by: Chase Moran <chasemoran45@gmail.com>
Co-authored-by: Kevin Peters <kpeters@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-03-28 23:39:08 -04:00
Evan Gray e7c61f5789 karura and acala sdk support 2022-03-03 15:49:52 -05:00
Evan Gray 075defa634 feat: improve bridge_ui tilt
properly cache npm ci in Docker container image
support hotloading outside ci
2022-02-14 07:56:38 -05:00
Kevin Peters 27e8952c8b sdk/js: Updated terra dependencies
Changed devnet terra tax rate to zero to reflect mainnet and testnet
2022-02-10 16:15:06 -05:00
chase-45 28c713a6dd
Tilt tests (#688)
* tests run in tilt / ci

* changed bridge_ui test process

* tests use kube proxy when in ci

* fix: allTests.sh permission

* fix: bridge_ui dockerfile sha for amd64

* fix: bridge_ui should use cra test

* fix: ci tests

Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-02-08 03:55:10 -05:00
Csongor Kiss cb7e90a701
sdk/js: Terra NFT bridge support (#699)
commit-id:5a5c9d29
2022-01-07 17:13:02 +01:00
Evan Gray 2998031b16 sdk/js : add parseSequencesFromLog* 2022-01-04 10:44:46 -05:00
Chase Moran 693678ef5d sdk: add postVaaSolanaWithRetry 2021-12-20 21:49:19 -05:00
Chase Moran 0b6b5f3548 sdk: initial avax support
Change-Id: I54ba771d1ad764379027cddfe500375fa440966f
2021-12-10 14:07:28 -05:00
Evan Gray 9aa2c22595 sdk/js: 0.1.3
Change-Id: Idaa3a7ca7af40a07ab8c21d247c4f50c0aaca057
2021-12-09 21:00:50 +00:00
Kevin Peters 70c173af75 sdk/js: Added getIsTransferCompleted
Change-Id: I034595b800ee2b881b9c2a9ab16d6e2a8e4a42e2
2021-12-09 20:20:43 +00:00
Evan Gray 7f5740754b sdk/js: fix files
Change-Id: Ic100c50d726f28f265e85f1fdbd773993190f213
2021-11-23 10:58:21 -05:00
Evan Gray f085e4e15c sdk/js: esm and cjs builds
Change-Id: I9ddb372ac872675f5b906d523ff5237e4f65ecb1
2021-11-21 19:18:37 -05:00
Evan Gray 0a93202f6e sdk/js: Include node target wasms in lib
Change-Id: Id29c2352a1e0e5d26739fd9a9076eae402600a9c
2021-11-15 15:34:08 +00:00
Evan Gray c824a99636 sdk/js: attempt jest tests
Change-Id: I139153994604f0048f690b011048daec4d760a55
2021-11-05 19:53:00 +00:00
Evan Gray ad33cac284 bridge_ui: prep polygon support
Change-Id: I6bd45eb0ce6b7f97ba78e8569fa05f9f027be0d5
2021-10-27 17:29:35 +00:00
Chase Moran 6a0c788804 bridge_ui: terra transaction fee modifications
Change-Id: Ie7afb2439efaa334d33264080125da9337bf914a
2021-10-22 19:59:19 +00:00
Evan Gray bdabe31b94 sdk/js: version 0.0.6
Change-Id: I9138d79fb871a09759362e2a9e72c5b0aef0d4ae
2021-10-18 12:42:47 -04:00
Evan Gray 057f9d2749 sdk/js, bridge_ui: terra npm pkg update
Change-Id: I5df1527881dca33ebeb3fcfe417a8ddf456015f3
2021-10-04 17:01:28 +00:00
Evan Gray c67410cd15 bridge_ui: support 2 step solana redeem
Change-Id: Ic2e3fdd97a8fdfb6aae7e22678f2d82a08fed174
2021-09-21 17:02:42 -04:00
Evan Gray 0453eccdbf sdk/js: version 0.0.4
Change-Id: I33e7ff07249d0b0f4197a0a9de2e7839e81001cb
2021-09-20 14:39:37 +00:00
Evan Gray 5c518be3d5 sdk/js: release 0.0.3
Change-Id: Iaf2a159782dabc2ceca0bfd2e97f1b07727fa2b0
2021-09-16 13:23:59 -04:00
Evan Gray 9ea0369ab0 nft_bridge fixes
Change-Id: I9420863384e752725cfc75c8b5a21f64be2792b1
2021-09-10 20:32:46 -04:00
Evan Gray 8974fa999d sdk/js: initial publish
Change-Id: Id3112f4013beab7e7115a1a6020749601e7eb11f
2021-09-08 11:27:12 -04:00
chase-45 fc300f47e6 bridge_ui: v1 safety checks, wallet desync fix, basic terra token picker
Change-Id: I9e45ce77c573e6940e6280b52ab2a319e6c4472f
2021-09-07 16:17:18 -04:00
Evan Gray 7589d33665 sdk/js: fix terra transfer, getOriginalAsset
Change-Id: I8c7609d133c32cea9a773e05fa6c115c4a8e8666
2021-08-31 16:06:07 +00:00
chase-45 0fab2481ca swapped in solana wallet adapter
Change-Id: I3075380313f10fdb579a4b777e0f10506e7e1ede
2021-08-20 21:59:15 -04:00
Reisen 2a317ab923 sdk: move terra functions to sdk
Change-Id: Idb255bc0c63189f69f5e79efce4a801e2aeedf46
2021-08-20 19:14:42 +00:00
Evan Gray 1175eb1315 sdk/js: move solana and eth transactions
Change-Id: I04cdb6591c21507a23b3bd809d9a8b557b860a90
2021-08-18 13:42:51 +00:00
Evan Gray 1c2e7444e8 sdk/js: migrate ethers contracts and solana wasm
Change-Id: Ibb66962eaa6bbb95d2845e4277b406bf36df7044
2021-08-18 13:41:33 +00:00
Evan Gray 9f8083566b sdk/js: begin
Change-Id: Ia0c676c051deae20449a15b4556160a8d6e24386
2021-08-15 18:17:11 -04:00