Commit Graph

2058 Commits

Author SHA1 Message Date
Evan Gray 76da871c6b bridge_ui: update readme 2022-07-13 10:04:23 -04:00
claudijd 8221708ef0 Move from ADD to COPY on Dockerfiles 2022-07-13 09:27:15 -04:00
Jonathan Claudius 73307397bc
Comment Eth Governance contracts (#1325)
* Comment Eth Governance contracts

* Tweak comments per peer review

* Add replay to the list
2022-07-12 09:02:26 -04:00
kev1n-peters c97a8f6f45
cloud_functions: tokenAllowlist implementation (#1339) 2022-07-11 12:56:30 -05:00
Csongor Kiss fb026f598d
CI: build foundry from source at pinned commit (#1348) 2022-07-11 17:24:01 +01:00
Csongor Kiss c634690fa4 ethereum: Update truffle config to most recent deploy params
Also rename chains to be in line with the naming convention used elsewhere
2022-07-11 11:38:31 -04:00
Jonathan Claudius 38a2aba318
Add unit tests for db (#1062)
* Add unit tests for db

* Fix error checks and clean up tempdirs

* Add string explainer in the absence of a panic

* Remove unnecessary comment

* Fix NoError suggestion

* Add linter exception for panic test
2022-07-11 11:36:32 -04:00
Csongor Kiss 9e52ce4c0d CI: build&publish latest guardiand docker image from dev.v2 2022-07-11 11:21:50 -04:00
Evan Gray 59fd0d36c7 node: optional chains in tilt 2022-07-11 10:35:00 -04:00
Kevin Peters 83499fcda0 devnet: Fix WETH token address 2022-07-08 09:48:42 -04:00
Csongor Kiss b067e41120
CI: pin foundry version (#1344)
The latest nightly broke the ugprade test, not yet sure how. For now,
just pin the older version
2022-07-08 14:19:07 +01:00
chase-45 850dd33ba4 added arg to algorand startup 2022-07-07 22:55:55 -04:00
Csongor Kiss 9b4ac93c0a
solana: fix network handling in verify script (#1340) 2022-07-07 07:21:33 +01:00
Jonathan Claudius ce87cb6a6e
Add Kudelski Security Audit Report (#1336)
* Add Kudelski Security Audit Report

* Reorder audit scopes for consistency

* Fix a typo in Neodyme audit bullet
2022-07-06 15:06:14 -04:00
Jonathan Claudius 0919f29dc3
Docker FROM image pinning (#1337)
* Add script to check docker pinning project wide

* Add workflow to run check-docker-pin

* Pin Docker image refs which were unpinned

* Add exceptions to the pin checking logic

* Fixes to check-docker-pin

* Clean up find command

* Bash optimizations

* Switch to env shebang

* Switch from find to git ls-files and add justification for ignore choices
2022-07-06 15:05:30 -04:00
Csongor Kiss f856240792
node: Prepare development binary release (#1332)
* node: Shrink final docker image size

* Tiltfile: guardiand should run the build stage

* node: allow building without -race

* node: Support development builds

A development build must use the --unsafeDevMode flag.

* CI: build docker image

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-07-06 19:27:49 +01:00
bruce-riley d7b7cefa99
Guardian support for Injective (#1327) 2022-07-06 10:19:57 -04:00
Csongor Kiss e8620ccea9 clients/js: Dump payload in case of parse failure 2022-07-05 19:24:58 +01:00
Csongor Kiss 3b6292af29 clients/js: touch up README a little
commit-id:429c7d93
2022-07-05 19:24:58 +01:00
Csongor Kiss b5997a10f0 scripts/devnet-consts: use native format for addresses
commit-id:c8c78ae8
2022-07-05 19:24:58 +01:00
Csongor Kiss 3a182ec6f6 CI: test CLI parser
commit-id:5f865212
2022-07-05 19:24:58 +01:00
Csongor Kiss fa3cec16f6 clients/js: Add support for NFT bridge transfers
commit-id:6b11415c
2022-07-05 19:24:58 +01:00
Csongor Kiss 465916c3f8 clients/js: Add support for AttestMeta
commit-id:67ad91cc
2022-07-05 19:24:58 +01:00
Csongor Kiss 1b4c97cd67 clients/js: Add support for parsing payload3 + test parser
commit-id:d9fb5d95
2022-07-05 19:24:58 +01:00
Csongor Kiss 33fce26f35 clients/js: Add support for parsing token bridge transfers
commit-id:00a4fb9e
2022-07-05 19:24:58 +01:00
Csongor Kiss 96560a98f8 clients/js: Make address handling nicer
commit-id:1d3ce65d
2022-07-05 19:24:58 +01:00
Csongor Kiss 3641682c63 scripts/guardian-set-init.sh: use prebuilt CLI executable
instead of invoking with 'ts-node'. This way the script runs 10 times
faster, 40s->4s.

commit-id:36bf9853
2022-07-05 18:43:58 +01:00
Csongor Kiss f26ecbae7d scripts/guardian-set-init.sh: make script run on darwin
The version of 'sed' shipped on macOS needs a little more handholding
than gnu sed

commit-id:324ce8b7
2022-07-05 18:43:58 +01:00
kev1n-peters 6b20aab8ab
cloud_functions: Added new chains (#1333) 2022-07-05 18:56:43 +02:00
kev1n-peters 670f703e94
bridge_ui: disable aUSD transfers from acala to karura (#1335) 2022-07-05 18:35:17 +02:00
kev1n-peters 260b0c7c0b
cloud_functions: Override terra-classic LUNA CoinGeckoId (#1319) 2022-06-30 15:50:22 -05:00
Csongor Kiss 47318c2a03
solana: Add "msg.sender" and remove fee from payload3 (#1279)
* solana: Add "msg.sender" and remove fee from payload3

* solana: update payload3 instruction to include the sender account

* solana: allow sending payload 3s to program ids directly

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-06-30 18:37:46 +01:00
Csongor Kiss 58cd031ea8 ethereum: Add verify script to match up the deployed bytecode with the
local build

Also include this step in the generated governance verification instructions
2022-06-30 13:57:02 +01:00
Csongor Kiss 9a42aacf0f clients/js: add command to return all evm chains
Also add an option to 'evm info' to return the implementation only. This
is an optimisation to make this query faster when we don't care about
the rest
2022-06-30 13:57:02 +01:00
Csongor Kiss 4471712b0e clients/js: fix acala and karura RPC 2022-06-30 13:57:02 +01:00
Josh Siegel c16e89036d algoOptin: optin change @ gusc1a-ossdev-jsl5 2022-06-29 18:10:12 -04:00
claudijd a4e7afc1bb Add security to readme 2022-06-29 10:25:00 -04:00
Csongor Kiss c453f4cf6d evm: Make finality a state variable 2022-06-28 21:31:23 +01:00
Jonathan Claudius 0c22d6c3d6
Add unit-test coverage for marshaling (#1205)
* Add unit-test coverage for marshalling

* Add test to see if Unmarshal will panic on a > 1000 payload

* Error instead of truncate on payloads over 1000 bytes

* Clarify intents and tests for vaa.Unmarshal
2022-06-28 14:25:13 -04:00
Jonathan Claudius 1166ecee67
Remove duplicate immunefi content (#1315) 2022-06-28 14:24:08 -04:00
Csongor Kiss 3328a86778 node: Allow "msu" in node 2022-06-28 16:41:43 +01:00
Csongor Kiss be38cf5d7e solana: Update last_lamports after transfer_fees 2022-06-28 13:08:13 +01:00
Csongor Kiss 1deb5683e2 gitignore: *.log 2022-06-28 13:08:13 +01:00
Csongor Kiss 0018bf7250 CI: add 'ethereum-upgrade' action to test contract upgrades 2022-06-27 19:19:16 +01:00
Csongor Kiss 2c9f7c239e ethereum: fix core contract upgradeability
Missed initializer
2022-06-27 19:19:16 +01:00
Csongor Kiss 7942393b18 ethereum: add 'make test-upgrade' to simulate contract upgrades against mainnet 2022-06-27 19:19:16 +01:00
Csongor Kiss 3c6e1b07d6 clients/js: Add command to hijack a mainnet fork + misc utilities
* Add command to update evm storage slot
* Add command to ecrecover
* Add command to print contract addresses
* Add command to print RPC urls
* Add command to query on-chain state of EVM contracts
* Print digest in parse VAA command
2022-06-27 19:19:16 +01:00
Csongor Kiss 22dda6ba84 ethereum: Add truffle scripts to deploy core & token bridge 2022-06-27 19:19:16 +01:00
Csongor Kiss e65176d492 clients/js: Use ankr RPC instead of infura 2022-06-27 19:19:16 +01:00
Hendrik Hofstadt f1dba4adfe
Allow account reuse for message posting (#1077)
* Implement message posting with account reuse

Change-Id: I195f493f6816048f5f8f76e1f0f6e561fa0fe692

* Use different magic for unreliable messages

* guardiand: Ignore solana instructions with empty data

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-06-27 09:57:25 +01:00