wormhole/node/pkg
Jonathan Claudius bad4f7061b
Adds unit-tests and functional improvements to guardian signature verification (#1068)
* Add more comprehensive structs unit-tests

* Make VerifySignatures fail on duplicate addresses

* Adjust duplicate detection to guard on signatures instead of addresses

* Add monotonic check in VerifySignatures

* Move logic into VerifySignatures and add more test cases

* Add a paranoid check for duplicate signers

* Make VerifySignatures unit-tests less contrived

* Add more verify signature test cases

* Refactor VerifySignatures tests

* Add VerifySignature fuzz tests

* Add tc.result checking instead of hardcoded true

* Change comparison so it throws debug on failure for fuzz tests

* Add unit-tests for observation signature logic

* Fix comment typos

* Refactor observation tests

* Add missing test case

* Fix VAAInvalidSignatures test case label

* Clean up unit-tests for observation and structs

* Change errorString convention in test

* Format Signature Verification Test Cases

* Remove unnecessary casting

* Add multi-signer same key cases

* Fix err usage in test cases

* Remove duplicate getVAA
2022-04-11 19:14:41 -04:00
..
algorand Stub out algorand support in wormhole (#611) 2021-12-22 11:22:04 -05:00
common Klaytn testnet support (#1038) 2022-04-04 18:11:03 -04:00
db node/pkg/db: add db.VaaIDFromString and vaa.StringToAddress helpers 2022-02-08 12:41:10 +01:00
devnet Add unit-tests for deterministic devnet keys (#1032) 2022-03-28 10:43:37 -04:00
ethereum node/pkg/ethereum: fix unreachable nil check 2022-04-11 17:10:14 -04:00
notify/discord node/notify/discord: mention node operator groups 2021-11-05 15:42:15 +00:00
p2p Add unit-tests for registry (#1026) 2022-03-30 09:38:37 -04:00
processor Adds unit-tests and functional improvements to guardian signature verification (#1068) 2022-04-11 19:14:41 -04:00
publicrpc node/proto: sequence number is uint64 2021-10-04 16:35:32 +02:00
readiness
reporter supply credentials file to PubSub 2022-02-01 10:32:58 +01:00
solana node/pkg/solana: skip failed transactions 2022-02-08 12:41:48 +01:00
supervisor node/pkg/supervisor: remove supervisor_test.go 2021-12-20 16:05:22 +01:00
telemetry node/pkg/telemetry: reduce log level to INFO 2022-01-25 22:36:24 +01:00
terra node: terra reobservation 2022-02-12 15:03:32 +01:00
vaa Adds unit-tests and functional improvements to guardian signature verification (#1068) 2022-04-11 19:14:41 -04:00
version
.gitignore