Go to file
bruce-riley 499c8424e4
Node: Initial guardiand changes for accounting (#2181)
* node: guardiand support for accounting

Change-Id: I97fe1f6d6d71a5803881ff4c793e3c30f22b14d8

* Node: Tie accounting into the guardian

Change-Id: I31600d18176f516b75b3eb046fd7ac6e54e1b133

* Node: accounting tests and metrics

Change-Id: Ieb139772edf464ed1ab202861babeaf0f857ad6b

* Node: minor tweak to accounting metrics

Change-Id: Iad2b7e34870734f0c5e5d538c0ac86269a9a4728

* Node: load accounting key

Change-Id: I228ce23e63b556d751000b97097202eda48650aa

* More work in progress

Change-Id: I85088d26c05cf02d26043cf6ee8c67efd13f2ea4

* Node: send observations to accounting contract

Change-Id: Ib90909c2ee705d5e2a7e6cf3a6ec4ba7519e2eb1

* Node: Fix lint error in accounting tests

Change-Id: Id73397cf45107243a9f68ba82bed3ccf2b0299b5

* Node: Need to copy libwasmvm.so

Change-Id: I2856c8964ca082f1f4014d6db9fb1b2dc4e64409

* Node: Rename wormchain to wormconn

Change-Id: I6782be733ebdd92b908228d3984a906aa4c795f7

* Node: moving accounting check after governor

Change-Id: I064c77d30514715c6f8b6b5da50806a5e1adf657

* Node: Add accounting status to heartbeat

Change-Id: I0ae3e476386cfaccc5c877ee1351dbe41c0358c7

* Node: start of accounting integration work

Change-Id: I8ad206eb7fc07aa9e1a2ebc321f2c490ec36b51e

* Node: More broadcast tx stuff

Change-Id: Id2cc83df859310c013665eaa9c6ce3033bb1d9c5

* Node: Can actually send a request to accounting

Change-Id: I6af5d59c53939f58b2f13ae501914bef260592f2

* Node: More accounting tx broadcast stuff

Change-Id: If758e49f8928807e87053320e9330c7208aad490

* Node: config changes for accounting

Change-Id: I2803cceb188d04c557a52aa9aa8ba7296da8879f

* Node: More accounting changes

Change-Id: Id979af0ec6ab8484bc094072f3febf39355351ca

* Node/Acct: Use new observation request format

* Node/acct: use new contract interface

* Node/acct: fix minor copy/paste error

* Node: Clean up comments and lint errors

* Node: disable accounting in dev by default

* Node: Fix test failure

* Remove test code

* Switch messages to debug, rename Run()

* check for "out of gas"

* Use worker routine to submit observations

* Rename mutex to reflect what it protects

* Create handleEvents func

* Remove FinalizeObservation

* Node/Acct: Trying to use tm library for watcher

* Node/acct: switch watcher to use tm library

* Node/Acct: Need separate WS parm for accounting

* Node/Acct: Fix compile error in tests

* Node/Acct: Minor rework

* Node: add wormchain as a dep to remove stale code

* Node/Acct: GS index is not correct in requests

* Node/Acct: Peg connection error metric

* Node/Acct: Add wormchain to node docker file

* Node/Acct: Fix for double base64 decode

* Node/Acct: Change public key to sender address

* Node/Acct: Fix lint error

* Node/Acct: key pass phrase change

* Node/Acct: Pass guardian index in obs req

* Node/Acct: No go on submit observation

* Node/Acct: Don't double encode tx_hash

* Node/Acct: Remove unneeded base64 encoding

* Node/Acct: handle submit channel overflow

* Node/Acct: Added a TODO to document a review issue

* Node/Acct: Fix for checking if channel is full

Co-authored-by: Conor Patrick <conorpp94@gmail.com>
2023-01-16 06:33:01 -06:00
.github ci: fix wormchain build ignite cli issue 2023-01-10 15:26:57 -06:00
.run Commit .run IntelliJ shortcuts to repo 2020-11-23 17:21:41 +01:00
algorand algo/fix: switch to using last round 2022-12-02 09:51:51 -05:00
aptos aptos/nft-bridge: Tilt integration 2023-01-12 02:46:42 +00:00
bitcoin WH-1934: upgrade golang to 1.19 (#1941) 2022-11-28 07:48:27 -06:00
clients aptos/nft-bridge: mainnet deploy 2023-01-12 02:46:42 +00:00
cosmwasm cosmwasm: accounting: Use cw_transcode for events 2023-01-16 09:28:43 +09:00
dashboards add Prometheus + Grafana for Guardian metrics 2022-08-04 16:03:56 -04:00
devnet Node: Initial guardiand changes for accounting (#2181) 2023-01-16 06:33:01 -06:00
docs Added option to fund predefined dev accounts in Algorand deployment (#1997) 2022-11-28 08:12:10 -06:00
ethereum tilt: eth speedup (#2214) 2023-01-11 12:59:43 -05:00
lp_ui js: make packages comply with ci rule 2022-10-20 17:11:13 -05:00
near WH-2023: light weight near sdk tests needed resolveJsonModule @ Closes #2023 (#2024) 2022-11-29 11:29:00 -06:00
node Node: Initial guardiand changes for accounting (#2181) 2023-01-16 06:33:01 -06:00
proto node: add admin command to sign existing VAAs (#2183) 2023-01-10 17:54:35 +01:00
relayer/spy_relayer rename dev.v2 to main 2022-11-29 10:43:07 -05:00
scripts aptos/nft-bridge: mainnet deploy 2023-01-12 02:46:42 +00:00
sdk sdk: Add Aptos NFT bridge address (#2244) 2023-01-13 15:03:15 -06:00
solana docker: reorganize dockerfiles 2022-12-21 10:58:22 -08:00
spydk/js rename dev.v2 to main 2022-11-29 10:43:07 -05:00
sui WH-1945: Tilt integration @ Closes #1945 (#1950) 2022-11-17 12:43:15 -06:00
terra Fix: minor typo 2023-01-11 14:25:55 -05:00
testing testing: fix tests 2022-12-14 11:00:20 -06:00
third_party Move from ADD to COPY on Dockerfiles 2022-07-13 09:27:15 -04:00
tilt_modules Devnet arguments for BigTable connection. 2021-08-05 12:53:56 +00:00
tools WH-1934: upgrade golang to 1.19 (#1941) 2022-11-28 07:48:27 -06:00
whitepapers add links referencing sections 2022-12-12 18:29:17 -05:00
wormchain Node: Initial guardiand changes for accounting (#2181) 2023-01-16 06:33:01 -06:00
.dockerignore tilt: ignore wormchain gentx folder to make deployment robust 2022-12-12 16:59:26 -05:00
.gitignore aptos: dockerfile + scripts + README 2022-10-14 12:42:44 -05:00
.golangci.yml WH-1934: upgrade golang to 1.19 (#1941) 2022-11-28 07:48:27 -06:00
.spr.yml rename dev.v2 to main 2022-11-29 10:43:07 -05:00
CONTRIBUTING.md rename dev.v2 to main 2022-11-29 10:43:07 -05:00
DEVELOP.md WH-1934: upgrade golang to 1.19 (#1941) 2022-11-28 07:48:27 -06:00
Dockerfile.const WH-1848: fix up cache @ Closes #1848 2022-11-02 16:05:29 -05:00
Dockerfile.proto WH-1934: upgrade golang to 1.19 (#1941) 2022-11-28 07:48:27 -06:00
LICENSE staging/algorand: apply global Apache 2 license 2022-02-05 09:30:28 -05:00
Makefile guardiand version is always development 2022-05-02 17:52:49 -04:00
Makefile.help Add scripts and readme to deploy and verify terra contracts 2022-04-05 17:42:07 +02:00
README.md Add security to readme 2022-06-29 10:25:00 -04:00
SECURITY.md Update SECURITY.md (#2206) 2023-01-11 07:01:15 -08:00
Tiltfile Node: Initial guardiand changes for accounting (#2181) 2023-01-16 06:33:01 -06:00
buf.gen.web.yaml sdk/js: publish separate proto packages 2022-07-13 10:04:23 -04:00
buf.gen.yaml node: rename bridge/ to node/ 2021-08-26 11:36:36 +02:00
buf.lock Update buf.lock 2022-09-07 10:34:18 -04:00
buf.yaml certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
generate-abi-celo.sh certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00
generate-abi.sh certusone -> wormhole-foundation 2022-08-26 12:48:14 -04:00

README.md

Banner

This monorepo contains the reference implementation of the Wormhole protocol.

To learn about how to use and build on Wormhole read the Docs or take a look at the xApp Book.


See Live Contracts for current testnet and mainnet deployments of the Wormhole smart contracts.

See DEVELOP.md for instructions on how to set up a local devnet, CONTRIBUTING.md for instructions on how to contribute to this project, and SECURITY.md for more information about our security audits and bug bounty program.

See docs/operations.md for node operator instructions.

This software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Or plainly spoken - this is a very complex piece of software which targets a bleeding-edge, experimental smart contract runtime. Mistakes happen, and no matter how hard you try and whether you pay someone to audit it, it may eat your tokens, set your printer on fire or startle your cat. Cryptocurrencies are a high-risk investment, no matter how fancy.