Commit Graph

2377 Commits

Author SHA1 Message Date
Kevin Peters e21d701443 ethereum: Changed invalid fork error message 2022-09-09 13:16:27 -05:00
Kevin Peters b7535a8e5b ethereum: Added isFork() method 2022-09-09 13:16:27 -05:00
Kevin Peters b1081d7d93 ethereum: Simplified forked chain check
No longer need to return uint16 max in chainId() for forked chains
2022-09-09 13:16:27 -05:00
Kevin Peters 3f9c80a554 ethereum: Fixed comment typo 2022-09-09 13:16:27 -05:00
Kevin Peters ae04a305f3 ethereum: fixed tests 2022-09-09 13:16:27 -05:00
Kevin Peters cacf054f0b ethereum: Added RecoverChainId Governance Message
Used to set the `chainId` and `evmChainId` for "bad-fork" chains
2022-09-09 13:16:27 -05:00
Kevin Peters 9d477e0585 ethereum: EVM fork protection
Added a `uint256 evmChainId` state variable to the Core, Token and NFT Bridge
contracts. `evmChainId` is compared to `block.chainid` in the `chainId`
function. When they don't match, a "bad fork" Chain ID is returned,
otherwise the Wormhole Chain ID is returned.
2022-09-09 13:16:27 -05:00
Justin Schuldt d83e44cf6b
proto - BatchVAA gossip and publicrpc (#1563) 2022-09-09 12:30:22 -05:00
justinschuldt 266eabcf6e Tiltfile - add guardian to ci-test's resources_deps 2022-09-09 12:05:27 -05:00
justinschuldt 5a55183837 Tiltfile - add algorand to guardian resource_depends 2022-09-09 12:05:27 -05:00
Josh Siegel 6235c3b31f near/testing: improve near tests for decimal point shifts
force algorand and indexer to update to what we are about to run in production
              add checks for fees being passed for P3 messages
2022-09-08 15:08:25 -05:00
claudijd bc70663bc1 readme: Add commit conventions 2022-09-08 13:30:42 -04:00
claudijd 77c0f80e70 Add Terra limit bump 2022-09-08 09:35:15 -04:00
claudijd 48240db99a Bump Klaytn and Celo Governor limits 2022-09-08 09:35:15 -04:00
Josh Siegel 175131cca7 near/upgradeCheck: upgrade test 2022-09-07 15:09:23 -05:00
tbjump 09548300a0
comment danger of potential future VM.version increases (#1401)
comment danger of potential future VM.version increases
2022-09-07 12:33:35 -07:00
Josh Siegel 3d194cf78e near/overFlow: check for overflow 2022-09-07 10:43:04 -05:00
Bruce Riley 22b298da8e Address in client is also wrong
Change-Id: I05a4450f56139894e737550b1ab14133e7f0ff67
2022-09-07 10:42:43 -05:00
Bruce Riley df25eb737c Fix algorand token bridge in guardian
Change-Id: I1612ac29664f203407dea553a54962e5a8930c5d
2022-09-07 10:42:43 -05:00
jumpsiegel 8e86eb4350
algo/fixTest: Fix python tests (#1547) 2022-09-07 09:53:55 -05:00
Bruce Riley 69da099698 Update buf.lock 2022-09-07 10:34:18 -04:00
Josh Siegel 1860a7fc27 near/upgradePhase1: fix some upgrade issues to make it easier to migrate in the future 2022-09-07 07:28:51 -05:00
Josh Siegel ca7c018734 near/exampleFix: Fix examples 2022-09-07 07:28:36 -05:00
Chirantan Ekbote 5cc2c07157 node: Remove deprecated grpc method
This is triggering the lint check.
2022-09-07 10:02:35 +09:00
Chirantan Ekbote d0eb7dd96c node: Fix formatting with go 1.19
Produced by running `goimports -w .` in the node/ directory.
2022-09-07 10:02:35 +09:00
Chirantan Ekbote 9e92f9dbbf node: Update libp2p to v0.22.0
Needed to build with newer go toolchains (up to 1.19).  Many of the
libp2p subpackages have been merged as sub-directories of the main
libp2p package so update the imports to use the newer versions.
2022-09-07 10:02:35 +09:00
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