Commit Graph

1799 Commits

Author SHA1 Message Date
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
Bruce Riley 3e23db6331 Add aurora
Change-Id: Ice6234c339fd59c0337640778559c9af84a3f3d6
2022-04-12 14:30:35 -04:00
Chirantan Ekbote 4ef93e1619 Add `cargo check` to CI
This makes sure that the code builds successfully.

commit-id:d71c5b75
2022-04-12 13:58:37 -04:00
Chirantan Ekbote 5e4bf02014
terra-nft: Remove unused dependencies (#982) 2022-04-12 09:36:45 +02:00
Evan Gray 69ac3cc07c bridge_ui: update acala relayer url 2022-04-11 21:33:53 -04:00
Csongor Kiss 4227dde53b Improve and document deployment&verification workflow 2022-04-11 21:29:39 -04:00
Csongor Kiss ff15ca3a67 Document AccountState
* Don't use option_env
* Fix 'cargo test' (it was failing on ambiguous module names)
2022-04-11 21:29:39 -04:00
Hendrik Hofstadt c04d25e704 Fix solana integration tests & add test for account creation
Change-Id: I222744f194f952d03bfbd3ba4469bce59c310fc0
2022-04-11 21:29:39 -04:00
Hendrik Hofstadt 2b56fcc7da solitaire: Fix prefunded accounts blocking creation
Change-Id: I8841e6595b7f8bb217991515bb9ae1ae3d4f4607
2022-04-11 21:29:39 -04:00
Reisen 4e13d9d49c solana/token_bridge: Add blacklisted keys 2022-04-11 21:29:39 -04:00
Jonathan Claudius b18a6c8c2f
Fix segfault from empty GetSignedVAARequest (#1069) 2022-04-11 19:16:59 -04:00
Jonathan Claudius bad4f7061b
Adds unit-tests and functional improvements to guardian signature verification (#1068)
* Add more comprehensive structs unit-tests

* Make VerifySignatures fail on duplicate addresses

* Adjust duplicate detection to guard on signatures instead of addresses

* Add monotonic check in VerifySignatures

* Move logic into VerifySignatures and add more test cases

* Add a paranoid check for duplicate signers

* Make VerifySignatures unit-tests less contrived

* Add more verify signature test cases

* Refactor VerifySignatures tests

* Add VerifySignature fuzz tests

* Add tc.result checking instead of hardcoded true

* Change comparison so it throws debug on failure for fuzz tests

* Add unit-tests for observation signature logic

* Fix comment typos

* Refactor observation tests

* Add missing test case

* Fix VAAInvalidSignatures test case label

* Clean up unit-tests for observation and structs

* Change errorString convention in test

* Format Signature Verification Test Cases

* Remove unnecessary casting

* Add multi-signer same key cases

* Fix err usage in test cases

* Remove duplicate getVAA
2022-04-11 19:14:41 -04:00
Csongor Kiss 5a316207dd clients/solana: allow submitting VAAs to mainnet 2022-04-11 17:36:20 -04:00
Leopold Schabel 1fd6e14885 node/pkg/ethereum: fix unreachable nil check
The program would've crashed on `l.Address` before it
could reach the nilness check.

commit-id:17b64899
2022-04-11 17:10:14 -04:00
Evan Gray 74fdb3a4eb bridge_ui: add aurora to mainnet beta 2022-04-11 17:06:10 -04:00
Bruce Riley 10f00b934b Promote Aurora to Mainnet 2022-04-11 17:05:07 -04:00
Paul Noel 763f80b45d
Repair eth for Aurora (#1065)
* node/hack/repair_eth: update for Aurora

Change-Id: Ic073cb7806ce611a0d0c742b864dfa5cd57f39da

* bridge_ui/utils: update for Aurora

Change-Id: I19089355910d1252d139267ce1398e1dcdd46095

* node/hack/repair_eth: add comments

Change-Id: I2361d317e24446590334d39bc2e52f68d75932c5

* node/hack/repair_eth: fix comments

Change-Id: I4fd3e04d74f4f0b1c3731c556a106663bb36b66d
2022-04-11 16:27:20 -04:00
Leopold Schabel 97aedff9f0
node/pkg/ethereum: restart watcher if guardian set update fails (#1010) 2022-04-11 21:07:19 +02:00
Leopold Schabel d68232c447
hack/repair_solana: improve sequence guessing (#1003) 2022-04-11 21:07:09 +02:00
Jonathan Claudius 8dd3536fb2
Add README and crypto/rand for encrypt.go tool (#1057) 2022-04-08 19:37:53 -04:00
Jonathan Claudius 36cabf0e6a
Remove dead code path (#1056) 2022-04-08 19:37:23 -04:00
Kevin Peters db67ec390a bridge_ui: Fixed broken metaplex token-metadata program url 2022-04-08 05:44:07 -04:00
Kevin Peters f840d72b41 bridge_ui: optimized svg icons 2022-04-07 21:12:22 -04:00
Adrian Timpau 1792141307 explorer-update 2022-04-07 05:25:50 -04:00
Evan Gray 383bcbd8c1
bridge_ui: support acala relayer (#1043)
* bridge_ui: support acala relayer

* testnet bridge_ui action

* update acala urls

* support recovery with acala relayer

* update relayer API

* karura and acala are 1 conf

* add native-ish KAR and ACA

* update testnet action

* fix ACA token name
2022-04-07 00:18:48 -04:00
Karl 6a00c3b44c
Add framework for Terra contract testing (#1050)
* Add terra integration test framework

* Update README

* Remove comment

* Update README

* Add .gitignore
2022-04-06 11:25:18 -05:00
Csongor Kiss e1f4b8e10b Add scripts and readme to deploy and verify terra contracts 2022-04-05 17:42:07 +02:00
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
bruce-riley eb898b0555
Aurora and Fantom handled wrong in a couple cases in guardian (#1044)
* Aurora and Fantom handled wrong in a couple cases

Change-Id: I09b7d2da46507e219bd99d945256e63fefad529c

* Original test covered upper / lower case

Change-Id: I0384b0aac6f63bf9782d393fcd4e4e67f353775a
2022-04-04 15:08:16 -04:00
bruce-riley 014b3686fe
Don't require padding on addrs in bridge clients (#1041)
Change-Id: Id32bfb90ee20d1bccc6b860de028c0bdecfd8786
2022-03-31 09:03:26 -05:00
Csongor Kiss 745d3db68d
Run ethereum tests on CI (#1028)
* Add makefile to run ethereum tests

* Run tests on CI

* single rm in make clean

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>

* Fix WETH address in bridge test

Change-Id: Idd7455cc873d2db86c2ccc130bd673b065311e67

* Don't kill ganache-cli if already running

Instead error the test

* eth: omit mainnet stuff from ci

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
Co-authored-by: Drew Sterioti <asterioti@jumptrading.com>
Co-authored-by: Evan Gray <battledingo@gmail.com>
2022-03-31 00:32:27 -04:00
Jonathan Claudius b7ec3ac0d3
Add unit-tests for nodekey (#1035)
* Add unit-tests for nodekey

* Move to deferred file clean up
2022-03-30 09:41:27 -04:00
Jonathan Claudius 5e00027a18
Add unit-tests for registry (#1026)
* Add unit-tests for registry

* Tweaks to registry unit-tests

* Remove duplicate unit-test

* Remove duplicate test case
2022-03-30 09:38:37 -04:00