Commit Graph

2103 Commits

Author SHA1 Message Date
Bruce Riley f9697f7c58 Minor cli tweaks 2022-05-18 13:55:05 -04:00
Paul Noel f327c98646 bridge_ui: add exodus wallet adapter 2022-05-18 10:18:27 -04:00
Evan Gray 5b09707f70 relayer: support celo and klaytn 2022-05-17 14:14:43 -04:00
kev1n-peters 8f9cbb98fc
explorer: Added Aurora explorer URLs (#1197) 2022-05-17 09:23:12 -05:00
Kevin Peters 9729149375 explorer: Removed immunefi banner 2022-05-16 18:43:45 -04:00
Josh Siegel 32e428512e sdk/js: version bump and comments to 0.3.3 2022-05-16 18:41:57 -04:00
ckeun c0a26dcf74
Added fake btc on terra to tokensToSkip list (#1194) 2022-05-16 15:09:14 -05:00
Ben Guidarelli 2e4fed66c1 New ABI selector support for algorand 2022-05-16 14:54:47 -05:00
bruce-riley 018908a420
Klaytn mainnet deploy (#1185)
* Klaytn mainnet deploy
2022-05-16 10:06:17 -04:00
Evan Gray ec6428ed2d bridge_ui: add klaytn to mainnet beta 2022-05-16 10:05:54 -04:00
Kevin Peters bc4ce9cb86 cloud_functions: don't add today's totals to warm cache
Don't add today's totals to the warm cache, otherwise incomplete totals may
exist for today's date in the cache tomorrow. Only adding the totals to the
warm cache for yesterday or older fixes this.
2022-05-13 19:53:18 -04:00
Csongor Kiss 4d54fee0b9
node: New default current guardian set index (#1101)
The current guardian set index is 2, so the `guardiand` template command
should generate prototxt files accordingly.

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-05-13 19:47:45 -04:00
Jeff Schroeder da0fb0ddf7 node/hack/repair_terra: token bridge messages only
Ensure that the sequence numbers are just for the terra token bridge.
2022-05-13 15:26:14 -04:00
Jeff Schroeder f1d28915f8 node/hack/repair_terra: add a rate limiter
Otherwise the terra fcd tells us to gfy after too many requests.
2022-05-13 15:26:14 -04:00
Csongor Kiss 68693689cf node/repair: allow multiple sequences in a tx 2022-05-13 15:26:14 -04:00
Jeff Schroeder e70830002e repair_eth: work better when messages are skipped
Otherwise there can be a nil pointer deref for polygon when it skips
the VAA.
2022-05-13 13:22:55 -04:00
Bruce Riley d266438654 Celo mainnet deploy changes 2022-05-13 13:11:28 -04:00
Kevin Peters 4d43eb5552 bridge_ui: Changed Karura and Acala testnet metamask chain IDs 2022-05-13 10:25:34 -04:00
Evan Gray e8f5578339 bridge_ui: add celo to mainnet beta 2022-05-12 11:59:04 -04:00
Evan Gray 60471e0754 bridge_ui: update sdk to 0.3.1 2022-05-12 11:59:04 -04:00
Evan Gray c4c2692931 bridge_ui: update Karura and Acala network ids 2022-05-12 11:59:04 -04:00
Paul Noel bd66778ce3
bridge_ui: changed formatting for token picker (#1165)
* bridge_ui: changed formatting for token picker

* bridge_ui: remove BigNumber import

* bridge_ui: add back >8 chars balance case

* bridge_ui: fix unit test
2022-05-12 11:58:45 -04:00
Josh Siegel ac9b4a5d05 algo/rollback: handle rollbacks gracefully @ gusc1a-ossdev-jsl5 2022-05-12 09:10:10 -05:00
Josh Siegel c9d7a617ee Rewrite algorand guardian watcher to directly hit the node instead of depending on indexer 2022-05-12 06:50:07 -05:00
Hendrik Hofstadt ee4583099f solana: token bridge transfer with payload 2022-05-11 21:24:36 -04:00
Csongor Kiss d8e7a5f93f terra/token_bridge: transfer with payload
Also rename terra token-bridge package so it's unique Otherwise cargo
can't find it externally, and confuses it with the solana one.
2022-05-11 21:24:36 -04:00
Csongor Kiss b23895684a whitepapers: include transfers with payload in token bridge
commit-id:0300d782
2022-05-11 21:24:36 -04:00
Evan Gray 73e15db866 eth: token bridge transfer with payload 2022-05-11 21:24:36 -04:00
kev1n-peters 08ea624f52
explorer: Added Fantom and Aurora chains to message search selection (#1156) 2022-05-11 09:58:28 -05:00
Josh Siegel c731363d1f algo/payload3: updates after feedback @ gusc1a-ossdev-jsl5 2022-05-11 07:29:56 -05:00
Josh Siegel 0e35c001c7 algo/payload3: lets not comment this out @ gusc1a-ossdev-jsl5 2022-05-11 07:29:56 -05:00
Josh Siegel 4e53392819 1) Add payload3 support into typescript
2) Add tests for payload3
3) Change the contract API for payload3 so that the destination is the appId instead of the app address
   and no longer part of the data
4) add a testApp into devnet
2022-05-11 07:29:56 -05:00
Josh Siegel 34ea483dbe algo/tilt: Fix algod validator @ gusc1a-ossdev-jsl5 2022-05-11 07:29:11 -05:00
bruce-riley 87e2e4cf64
CLI changes for klatyn, celo and moonbeam (#1159)
* CLI changes for klatyn, celo and moonbeam

* Replacing SDK dependency

* Same for the lock file

* More package file stuff

* Pick up new SDK version
2022-05-10 13:05:43 -04:00
bruce-riley c7ba459de8
Moonbeam to testnet (#1150)
* Moonbeam to testnet

* Fix typo

* Shouldn't touch the CLI with this PR

* Update SDK version
2022-05-10 11:23:07 -04:00
Jonathan Claudius 7a8bd94d00
Add SECURITY.md (#1157)
* Add SECURITY.md

* Update formatting

* Remove extra word

* Fix typos in SECURITY.md

* More tweaks to SECURITY.md
2022-05-09 14:54:02 -04:00
Chirantan Ekbote 82bdad094a solana: Run nft-bridge tests in CI 2022-05-10 00:58:43 +09:00
Chirantan Ekbote defd16e084 solana: nft-bridge: Add tests
The integration tests were previously just copied over from the
token-bridge directory and not changed at all (they still referenced the
token-bridge crate).

Clean up the files and add tests for basic functionality like sending
and receiving native + wrapped NFTs.
2022-05-10 00:58:43 +09:00
Chirantan Ekbote 66f031c51b Run token-bridge tests in CI
Update the dockerfile, tiltfile, and makefile so that the token-bridge
tests are included when running in CI.
2022-05-10 00:58:43 +09:00
Chirantan Ekbote ff40fa34b8 solana: token-bridge: Fix tests
Refactor the tests so that we can run them with `cargo test-bpf`.
2022-05-10 00:58:43 +09:00
Chirantan Ekbote 06c79838bd solana: bridge: Delete makefile
The tests no longer need a running instance of the test validator so
this is no longer necessary.
2022-05-10 00:58:43 +09:00
Chirantan Ekbote 589c8023d0 Add test target to solana Makefile 2022-05-10 00:58:43 +09:00
Chirantan Ekbote efdc560976 Run solana tests in Tilt
Refactor the solana Dockerfile so that the solana release installation
is a separate stage and have the builder stage derive from it.  Add a
new "ci_tests" stage that also derives from the solana stage but runs
the integration tests instead.

Invoke the solana ci_tests stage from the Tiltfile when ci_tests are
enabled.
2022-05-10 00:58:43 +09:00
Chirantan Ekbote 24dd6ed48b solana: bridge: Fix tests
Fix all the tests for the solana bridge program so that we can start
running it in CI.

Use the `solana-program-test` crate as the test framework. Previously,
running the tests required spinning up a test validator and manually
deploying the program there. Now developers can just do `cargo test-bpf`
to run the tests without needing any additional setup (beyond installing
the solana tools). This also lets us split out the tests so that they
can be run separately rather than having to run everything sequentially
in a single integration test.
2022-05-10 00:58:43 +09:00
Csongor Kiss 1c006f9bed
cli: Refactor js cli to support all contracts + add improvements (#1100)
* cli: Refactor js cli to support all contracts + add improvements

* Fix path in Makefile

* Don't be strict

* Fix registration VAA deserialisation

* Add karura gas calculation logic

* cli: fix after sdk rebase

* cli: improve makefile

* cli: depend on @certusone/wormhole-sdk locally instead of importing relative paths

* cli: add polygon overrides

* client: update for devnet

* fix tx signing in solana cli

* client: alias network

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-05-05 20:51:24 -04:00
Evan Gray c626e591e8 bridge_ui: add karura mainnet relayer 2022-05-05 14:40:54 -04:00
Csongor Kiss 7f427133cc
sdk: improve type safety + add documentation (#1102)
* sdk/js: improve type safety + add documentation

* sdk/js: add support for chain names

* sdk/js: fix boolean conditional bug in transferFromSolana

* sdk/js: remove unsafe ChainId coercions in sdk

* sdk/js: Chain id 0

This is a legit chain id that some governance VAAs target

* sdk/js: Add mainnet and testnet contract addresses

* sdk/js: bump version to 0.3.0

* sdk/js: limit minor version changes

* sdk/js: update contracts and add devnet

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-05-05 12:35:11 -04:00
Paul Noel c13bdff820
algo/tests: enable relayer test (#1140)
* algo/tests: enable relayer test

* algo/tests: increase timeout

* algo/tests: split tests into unit and integration

* algo/tests: move tests around

* algo/tests: remove file

* algo/tests: make it not optimize in dev mode @ gusc1a-ossdev-jsl5

* algo/tests: another test fix @ gusc1a-ossdev-jsl5

Co-authored-by: Josh Siegel <jsiegel@jumptrading.com>
2022-05-05 08:23:42 -05:00
Leo 2a83ea406b node/pkg/ethereum: move up nil check for TransactionReceipt
This fixes a null pointer dereference for a nil tx.

commit-id:a6a356b8
2022-05-05 09:04:54 -04:00
kev1n-peters 2a863a7ca3
cloud_functions: Added tokens to skip (#1152) 2022-05-04 22:11:33 +00:00