Commit Graph

2201 Commits

Author SHA1 Message Date
bruce-riley b357ad7061
Script to generate change registration governance (#1508)
* Script to generate change registration governance

Change-Id: If99e78b031dcd4049a9ee40b09914eeb93e7518a

* Rework from code review

Change-Id: I93cf3166c1ab961add2c524084de1981a44b194e

* Change chain_id to chain-id

Change-Id: Iae6f9854a64d8559d03c56949d03043a94dbf7f6
2022-09-06 08:20:51 -05:00
jumpsiegel 8dc459b550
near/getNearEmitter: add getEmitterAddressNear (#1519) 2022-09-06 08:04:15 -05:00
Jonathan Claudius fdc51433c6
Add new bounty and audits in progress (#1516)
* Add new bounty

* Fix typos

* Update SECURITY.md

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

* Update SECURITY.md

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

* Update SECURITY.md

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

* Update SECURITY.md

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

* Add audits in progress

Co-authored-by: Jeff Schroeder <jeffschroeder@computer.org>
2022-09-06 06:53:06 -04:00
Jeff Schroeder 811e17afb0
node: docs for running a spy against mainnet (#1511) 2022-09-03 10:59:20 -04:00
Kevin Peters eeb1682fba sdk/js-proto*: 0.0.4 version bump 2022-09-02 18:16:39 -04:00
Jeff Schroeder 214c3bc73a Fix guardiand admin list-nodes for pythnet
Thanks @maiquanghiep

Reported-By: Quang-Hiep Mai <maiquanghiepdl@gmail.com>
2022-09-01 11:24:46 -04:00
Jonathan Claudius 03746c7752
Up dailyLimit/bigTransactionSize for vaa.ChainIDCelo and vaa.ChainIDTerra (#1501) 2022-09-01 11:21:35 -04:00
Jonathan Claudius c7f3d2da80
Add Algorand audit (#1498) 2022-08-31 19:17:44 -04:00
Evan Gray a58c5ae950 ethereum: remove wormhole from token name 2022-08-31 17:21:52 -04:00
jumpsiegel 5e855b2d2c
algorand: remove wormhole from token name (#1494) 2022-08-31 12:45:27 -04:00
Josh Siegel 29ea7a3048 near/examples: add attester 2022-08-31 12:44:29 -04:00
Josh Siegel f482460876 near/examples: check these in 2022-08-31 12:44:29 -04:00
jumpsiegel 6bbbd29059
near: remove wormhole from token name (#1492) 2022-08-31 12:44:07 -04:00
Josh Siegel e4cbb67dc0 near/transfer-test: transfer test and sdk fix 2022-08-30 15:14:55 -05:00
bruce-riley bfeaa93716
node: governor auto release (#1452)
* Initial code

* Add test cases

* Get rid of excessive logging of price updates

* Add big tx size to available notional query

* Add tool to verify  price query still works

* Fix lint error

* Rename check_query.go

* Set big transaction sizes

* More rework

* Add unit-test for big transfer config

* Fix unit tests after updates for Near

* Add a couple more test cases

Co-authored-by: claudijd <jclaudius@jumptrading.com>
2022-08-30 11:28:18 -05:00
Jonathan Claudius 3044d8f4af
Add mainnet chains and token config unit-tests (#1461)
* Add mainnet chains and token config unit-tests

* Fix Imports

* Update mainnet config checks

* Fix goimports and comments

* Fixups per PR review

* Clean up from code review

* Fix linting error
2022-08-29 08:39:20 -07:00
Bruce Riley f24be29937 Raise limit for klaytn 2022-08-27 18:57:50 -04:00
Evan Gray f28e39c490 certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
bruce-riley 4a42c29c0f
Near mainnet deploy (#1467)
* Initial commit

* Updated mainnet_tokens with Near token

* Near CLI changes

* More CLI tweaks

* Revert ethers in cli

* Fix lint error

* Testnet emitter is wrong

Co-authored-by: Christine Eun <ceun@jumptrading.com>
2022-08-26 12:46:37 -04:00
Josh Siegel 0fc3e8badc near/audit2: more audit cleanup 2022-08-26 09:21:34 -05:00
Jeff Schroeder dc28f88218
Promote Pythnet to Mainnet (#1459)
* node/cmd/guardiand: pythnet for mainnet

Pythnet is a read only chain that will only use the core bridge to
transfer messages to other chains. No tokens will be transferred
to pythnet, so it has no token or nft bridge.

* node/cmd/guardiand: fix help for solana flags
2022-08-26 09:45:47 -04:00
Christine Eun c62287b6e0 Removed testnet.yml 2022-08-25 17:53:19 -04:00
Christine Eun 2d2a4b63ac bridge_ui: remove 2022-08-25 16:57:57 -04:00
Josh Siegel 0384d31a9b near/audit: Fix go lint error 2022-08-25 09:16:32 -05:00
Josh Siegel a752e1309c near/audit: audit feedback 2022-08-25 09:16:32 -05:00
Chirantan Ekbote 66bc9cb9d4 node: Deduplicate re-observation requests
Commit `1753bb3: Send re-observation request when re-broadcasting local
observations` changed the processor code to automatically send
re-observation requests.  If multiple guardians do this around the same
time that would lead to multiple re-observation requests for the same
transaction.

Deduplicate re-observation requests by keeping a cache of the requests
that were received in the last 11 minutes.  Any request that's already
in the cache will not be forwarded to the chain-specific observation
code.  The 11 minute value was chosen because the guardians will send
these requests approximately every 5 minutes.

Also move the re-observation code into a standalone function so that it
can be more easily tested.
2022-08-25 10:12:15 -04:00
Josh Siegel 0ecbe74a79 near/sdk: remove unused import @ gusc1a-ossdev-jsl5 2022-08-24 14:28:25 -05:00
Josh Siegel 93212bd4f6 near/sdk: remove line @ gusc1a-ossdev-jsl5 2022-08-24 14:28:25 -05:00
Josh Siegel dd63311d56 near/sdk: remove near util @ gusc1a-ossdev-jsl5 2022-08-24 14:28:25 -05:00
Josh Siegel 0cca6c7659 sdk/js: near support 2022-08-24 14:28:25 -05:00
Josh Siegel dd2b325784 near/contracts-2: revert this back to 2021 since 2022 breaks a lot of tools 2022-08-24 15:11:05 -04:00
Josh Siegel 4fe9841810 near: initial commit 2022-08-24 15:11:05 -04:00
kev1n-peters 536a97066e
node: configure p2p routing table with bootstrapping nodes (#1455)
Configure the bootstrapping nodes that we will connect to to seed and refresh
the Routing Table if it becomes empty.

Fixes an issue where the spy stops receiving gossiped messages after the node
is restarted, because the Routing Table becomes empty and is never refreshed.
2022-08-24 18:27:59 +02:00
Csongor Kiss 33f1b28662 scripts: Update scripts/contract-upgrade-governance.sh
Now it prints instructions on checking out the current git hash + some refactoring
2022-08-24 16:27:04 +02:00
Csongor Kiss 650beaa79a solana/terra: delete generate_governance
These are superseded by the more general script `scripts/contract-upgrade-governance.sh`
2022-08-24 16:27:04 +02:00
Chirantan Ekbote 1753bb34f0 Send re-observation request when re-broadcasting local observations
Currently if an observation hasn't reached quorum within 5 minutes, the
processor will re-broadcast the signed local observation to the other
guardians in the network. However if not enough guardians actually
observed the original tx, then no amount of re-broadcasting will help
the network reach quorum.

Fix this issue by sending a re-observation request whenever we
re-broadcast a signed local observation.  This ensures that any
guardians that missed the tx the first time it happened have a chance to
re-observe it and help the network reach quorum.
2022-08-24 17:59:42 +09:00
Chirantan Ekbote 4712a6f774 node/pkg/common: Fix race condition in PostObservationRequest
Any goroutine can push into a channel so the current implementation has
a race condition where the channel can become full immediately after the
length check, causing the subsequent send on the channel to block.

Fix this by wrapping the send on the channel with a select block.
Control will fall through to the default case only if the actual send
operation blocks, avoiding the potential race with other goroutines.
2022-08-24 17:59:42 +09:00
Josh Siegel d724d42cf1 algo/patch2: optins cannot have arguments 2022-08-23 16:07:36 -05:00
Josh Siegel d3d68fde26 algo/patch: wormhole security patches for algorand 2022-08-23 15:09:42 -05:00
Csongor Kiss ca43f8629a
terra: Check that bytes32 fits into 20 bytes before truncating (#1458) 2022-08-23 21:13:30 +02:00
Csongor Kiss fd540c91b4
ethereum: Check that bytes32 fits into 20 bytes before truncating (#1457) 2022-08-23 14:41:03 -04:00
kev1n-peters a8cc328fd0
bridge_ui: Recovery should await fetchSignedVAA fix (#1456) 2022-08-23 15:48:55 +02:00
Csongor Kiss 9510bb47d9 ethereum: Add property test on quorum
It should always be possible to reach quorum
2022-08-23 15:06:04 +02:00
Csongor Kiss 7889eb08ee ethereum: Fix test name so forge runs it 2022-08-23 15:06:04 +02:00
Paul Noel 639bd3c682
clients/js - initial algorand commit (#1445)
* clients/js - initial algorand commit

* clients/js: fix merge issue
2022-08-22 09:39:39 -05:00
Csongor Kiss cf5c390fc6 sdk/js: Use is_vaa_redeemed query in getIsTransferCompletedTerra2
This does not require a transaction simulation, and should serve as the
basis for future cosmwasm sdk functions in the `getIsTransferCompleted*`
family.
2022-08-22 16:30:23 +02:00
Csongor Kiss d10072a33e cosmwasm: Add is_vaa_redeemed query to token bridge 2022-08-22 16:30:23 +02:00
kev1n-peters 1d05da49e6
bridge_ui: Algorand beta (#1433) 2022-08-19 10:42:15 -05:00
Paul Noel bf45b02c0b
clients/js - initial near commit (#1442) 2022-08-19 10:29:57 -05:00
Paul Noel 338e6f2648 clients/js: formatting only change (prettier)
Change-Id: I0b8805e0a577f0ef8757a5468c43fcb1083c0825
2022-08-18 16:50:06 +00:00