Commit Graph

1877 Commits

Author SHA1 Message Date
Leo 93ee5f3d31 node: remove duplicated public RPC node definitions
commit-id:452deba7
2022-02-15 16:47:20 -05:00
Leo 632e8acbee node/hack/repair: remove state directory
commit-id:74906ad4
2022-02-15 16:47:20 -05:00
Jeff Schroeder b54b7e1183 node: add fantom support
Only run in testnet until the contracts are deployed to mainnet.
2022-02-15 13:51:11 -05:00
Evan Gray fce0708e11 feat: use sdk in js client 2022-02-14 07:56:38 -05:00
Evan Gray fd62d71f61 feat: tilt labels
fix: terra dependencies
2022-02-14 07:56:38 -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
Evan Gray bb1402367c fix: terra-contracts readiness 2022-02-14 07:56:38 -05:00
Jeff Schroeder 65c1e4141c Ensure the k8s jobs are deleted when tearing down
Otherwise, the test resources can be left between build jobs.

This comes from the Job resource used to run the ci tests.
2022-02-13 16:07:25 -05:00
Evan Gray 9ed71c0038 node: terra reobservation 2022-02-12 15:03:32 +01:00
Jeff Schroeder 7220f4d598 Update the bug bounty to $10m 2022-02-11 19:33:42 -05:00
Leo c28b492e03 node: add reobservation requests for Eth chains
commit-id:e4fa6adf
2022-02-12 01:06:06 +01:00
Leo 8f63e123a5 node/pkg/ethereum: add MessageEventsForTransaction
This retrieves a single transaction's MessagePublication events. This
has the same security assumptions than listening to the log events -
namely, ensuring the right contract has emitted them.

Tested locally with a mainnet transaction.

commit-id:64347ecc
2022-02-12 01:06:06 +01:00
rm0594 9771128e59
Create ImmuneFi Bug Bounty.MD (#832)
* Create ImmuneFi bug-bounty.md

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2022-02-11 15:38:52 -06:00
Kevin Peters b38f842e40 bridge_ui: Updated terra dependencies
Updated @terra-money/wallet-provider to 3.8.0
2022-02-11 12:34:19 -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
Davide 1406b76ddf fix: parseSequenceFromLogSolana -> Throw correct error if a Solana Tx is not found 2022-02-10 15:54:21 -05:00
Kevin Peters e30f92b3e0 solana-program 1.9.4 wasm-bindgen workaround
wasm-bindgen 0.2.74 generates JavaScript bindings for SystemInstruction
exported from solana-program 1.9.4. The generated JavaScript references
a non-existent function (wasm.__wbg_systeminstruction_free) that
leads to an attempted import error when importing the wasm packed for
bundler. SystemInstruction isn't used in the sdk, so we remove the non-existent
function reference as a workaround.
2022-02-10 15:51:11 -05:00
Evan Gray 839da68cac ci tests: support node-gyp 2022-02-10 15:37:19 -05:00
Csongor Kiss 3a24a26a7d eth deploy updates 2022-02-10 15:37:19 -05:00
Csongor Kiss 3fc065846e Add terra migrate instructions 2022-02-10 15:37:19 -05:00
Csongor Kiss 99e2d4ac09 Add terra build & deploy instructions 2022-02-10 15:37:19 -05:00
Dmitriy Fishman 0db91bf8c0 Fix a typo in operations.md 2022-02-10 14:51:02 -05:00
Evan Gray 8eb019d97f fix: tvl bad prices 2022-02-09 20:25:10 -05:00
Csongor Kiss 0f43f5fec1 sdk/js: Add Fantom & Aurora to SDK 2022-02-09 16:07:57 -05:00
Csongor Kiss 3484921b70 ethereum: Add fantom testnet & aurora testnet to truffle-config 2022-02-09 16:07:57 -05:00
lbqds 91af50ee5d Fix devnet terra lcd host 2022-02-09 12:07:38 -05:00
Csongor Kiss df0a4c088b
clients/token_bridge: add option to specify guardian secret in generate_governance_vaa (#833)
Useful for generating testnet registration VAAs

Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-02-09 12:17:17 +01:00
Evan Gray d823366cf1 fix: restore tvl quote 2022-02-08 16:22:26 -05:00
Leo 7ae4b3d6aa node: increase Polygon minimum confirmation to 512
It appears that in spite of exceeding the recommended value by 2x,
256 offers insufficient safety margin given that we saw two reorgs
of depths 178 and 187 recently: https://polygonscan.com/blocks_forked

This will increase confirmation delay from ~10 minutes to ~20 minutes.

commit-id:cf2b1503
2022-02-08 17:39:53 +01:00
Leo cf3f6def68 .github: include workflow name in concurrency ID
This hopefully fixes PRs failing as "cancelled". Drive-by cleanup
old branch name while we're at it.

commit-id:ec0076e0
2022-02-08 12:41:48 +01:00
Leo 6c02299f2b node/pkg/solana: skip failed transactions
Avoid unnecessary RPC calls/retries.

Makes no difference for safety, which relies on VAA accounts rather than
any transaction metadata.

commit-id:0cd82ed4
2022-02-08 12:41:48 +01:00
Leo 7144d6b538 node/hack: add repair script
Fetches the list of missing Solana messages, finds the corresponding
on-chain transactions, sends an ObservationRequest to the network
and waits for consensus.

Hacky one-off script with a couple of edge cases (doesn't filter
failed txs, crashes if the boundary is not a valid tx). We can later
refactor this and add it to the find-missing-messages admin command
if we keep needing it.

commit-id:9b338dfa
2022-02-08 12:41:48 +01:00
Leo 95fea79276 node/pkg/db: add db.VaaIDFromString and vaa.StringToAddress helpers
commit-id:1fb9f998
2022-02-08 12:41:10 +01: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
Evan Gray d1de172699 fix: tvl bad prices 2022-02-07 10:53:24 -05:00
Leo 3c20a0493b staging/algorand: apply global Apache 2 license
As previously discussed, staging/algorand will be relicensed as
Apache 2. Replace all license headers by the global license.

Rand Labs needs to sign off on this PR to formally relicense
their contributions.

commit-id:cd31637e
2022-02-05 09:30:28 -05:00
Csongor Kiss dc2e6d8990
solana: add correct spl_token_metadata.so (#815)
Co-authored-by: Csongor Kiss <ckiss@jumptrading.com>
2022-02-03 19:10:16 +00:00
Leo 29cd5a3934 cmd/guardiand: fix governance VAA serialization
And add some extra debug logging for governance-vaa-verify.

commit-id:10deaff4
2022-02-03 04:14:29 +01:00
Justin Schuldt 91296e6772 update Buidl copy 2022-02-02 13:57:52 -05:00
Evan Gray 135279838e audits: add neodyme audit 2022-02-02 13:45:29 -05:00
Evan Gray ea1b852b98 testing: evm rollback test 2022-02-02 13:45:17 -05:00
Hendrik Hofstadt 7edbbd3677 Update Solana to 1.9.4
Change-Id: I9c1ce5f25b21ca81599957a7faa730558d8fc03e
2022-02-02 11:31:33 -05:00
justinschuldt 79ab522f80 marketing site copy tweak 2022-02-01 10:17:42 -06:00
Justin Schuldt 497a1c6e83
Explorer v2 (#789)
* initial commit

* cleanup, spacing fixes

* update copy

* responsive footer

* logo link

* router link active underline

* fix side-by-side padding

* app card links

* initial network table

* sort guardians

* network selector

* add envs to unbreak deployment

* 404

* wip explorer

* recent messages list

* fix activeNetwork context init

* add Oasis and Avalanche utils

* add title to RecentMessages

* add explorer ChainOverviewCard

* add explorer PastWeekCard

* save exact versions of npm packages

* add explorer search functionality

* mvp

* remove dupe page

* add basic social images

* add social sharing metadata

* update development siteUrl

* test with example prod url

* fix social card name

* update number of chains

* decode payload with WASM

* updated copy

* fix index portal link

* prod .env variables

* show more recent messages for chain or contract

* fix decodePayload summary

* delete explorer v1

* fix explorer dockerfile

* fix explorer serve settings for devent

* remove proto-gen-web for explorer

* rm proto-gen-web for explorer

Co-authored-by: Evan Gray <battledingo@gmail.com>
Co-authored-by: Evan Gray <56235822+evan-gray@users.noreply.github.com>
2022-02-01 09:40:53 -06:00
Kevin Peters 613773d3fc bridge_ui: Changed title to Portal Token Bridge 2022-02-01 10:11:53 -05:00
justinschuldt 763c62b73e supply credentials file to PubSub
commit-id:563f6718
2022-02-01 10:32:58 +01:00
Csongor Kiss 60d313b23c
ethereum: Add contract verification instructions (#792) 2022-01-28 14:52:54 +01:00
Csongor Kiss 0044bb5e44 terra/token_bridge: remove migration code
This migration handler has successfuly completed (txn:
67E8FCFF48EEFE11BF6A975E621B6866BA930F9D2A85BC9AC5A70F009EE354C7) so
we can remove it.
2022-01-28 10:44:10 +00:00
Evan Gray 608c724a76 evm/token_bridge: reentrancy protection 2022-01-28 10:44:10 +00:00
Csongor Kiss 52562cacb0 terra/token_bridge: reentrancy protection
commit-id:2c0bdfaf
2022-01-28 10:44:10 +00:00