Commit Graph

1878 Commits

Author SHA1 Message Date
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
kev1n-peters 3ebd347181
cloud_functions: Added lightweight notional-transferred-from function (#1125) 2022-05-03 16:29:33 -05:00
kev1n-peters 3023b4a375
cloud_functions: totals cache should be overwritten for skipDates (#1147) 2022-05-03 15:40:56 -05:00
Kevin Peters ec87530bac explorer: Bumped wormhole sdk to latest, added karura icon 2022-05-03 16:12:33 -04:00
Paul Noel 3aa9abd3c6 bridge_ui: add guardianSetIndex to redeem
Change-Id: Idffa9a56ba520b3ed5dc4c3dec593db0c0a9bf58
2022-05-03 15:47:12 -04:00
kev1n-peters fb0bf2cd70
cloud_functions: Skip tokens in notional-transferred-to function (#1146) 2022-05-03 08:56:28 -05:00
Bruce Riley 7b9a6f8eb0 guardiand version is always development 2022-05-02 17:52:49 -04:00
Leopold Schabel eb3b777520 node/cmd/guardiand: improve send-observation-request arg parser
Accept chain names (i.e. "solana") and base58 tx hashes.

commit-id:d7114740
2022-05-02 14:41:55 -04:00
Paul Noel f61997e846 algo/sdkFixes: export submitVAAHeader() 2022-05-02 14:32:22 -04:00
Paul Noel d8c1be6e49 algo/sdkFixes: exposing safeBigIntToNumber() 2022-05-02 14:32:22 -04:00
Csongor Kiss a8dab4f428 algo: Update README.md
The `TmplSig` part was outdated as of the most recent changes
2022-05-02 14:29:11 -04:00
Kevin Peters b937eb2ad7 bridge_ui: added karura vaa emitter addresses 2022-05-02 14:28:36 -04:00
Evan Gray 5f41f8bfcd bridge_ui: karura mainnet beta 2022-05-02 14:28:36 -04:00
bruce-riley a94a3cf2fb
Karura mainnet deploy (#1142)
* Start of move to mainnet

* Rework to safe mode check

* Update truffle-config

* Should not check safe mode in dev mode
2022-05-02 14:28:17 -04:00
Evan Gray a200cc5bd7 bridge_ui: add klaytn and celo testnet support 2022-05-02 14:12:32 -04:00
kev1n-peters 776813fb26
bridge_ui: daily outbound volume stats, fix chart height (#1128) 2022-05-02 12:08:37 -05:00
bruce-riley 49f4a98cb2
Add missing aurora address references (#1117)
* Add missing aurora address references

Change-Id: I57a7dc7450d8527ab1ee6710dfbd6eda6da93f07

* Fix copy and paste error in comment

Change-Id: Ie7fc3cdbeab76518aad0f0220798cd1788d4be45
2022-05-02 13:06:56 -04:00
kev1n-peters 14b43e3b99
bridge_ui: Added liquidity warning for GMT and GST Solana <-> BSC transfers (#1136) 2022-05-02 08:51:15 +02:00
jumpsiegel f69c74961b
algo/testnet: Wormhole name fix (#1134)
* algo/testnet: Wormhole name fix

Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-04-29 21:19:30 -04:00
Josh Siegel d54b883009 near/constants: establish our new constants for NEAR @ gusc1a-ossdev-jsl5 2022-04-29 21:00:10 -04:00
Evan Gray 01380af744 bridge_ui: algo 2022-04-29 20:58:38 -04:00
Evan Gray 5806059af9 sdk/js: algo 2022-04-29 20:57:02 -04:00
Evan Gray 1229ca5cff algo: guardian 2022-04-29 20:56:46 -04:00
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