Commit Graph

9978 Commits

Author SHA1 Message Date
William Banfield cdaf6cbfa9 readability fixups 2022-03-02 09:50:14 -05:00
William Banfield 927a423c17 Update internal/consensus/mempool_test.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-02 09:49:17 -05:00
William Banfield 01a1379dbf Update internal/state/execution_test.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-02 09:49:10 -05:00
William Banfield c3ee75413d Update internal/state/indexer/block/kv/kv.go
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
2022-03-02 09:44:15 -05:00
William Banfield 5721a13ab1 remove validate precommit 2022-03-01 18:57:32 -05:00
William Banfield 4e859073c6 lint++ 2022-03-01 18:39:48 -05:00
William Banfield ef41b126d9 fix message test 2022-03-01 18:39:08 -05:00
William Banfield 5425c83f1b finish Update refactor 2022-03-01 18:20:33 -05:00
William Banfield 750551e855 make state update a public method 2022-03-01 17:49:58 -05:00
William Banfield 69599dbed7 update signature for state update function 2022-03-01 17:43:08 -05:00
William Banfield 9528a22b37 use abci responses for hash creation 2022-03-01 16:57:54 -05:00
William Banfield 2d2114463b remove overuse of abciresponses variable 2022-03-01 15:40:32 -05:00
William Banfield 52815091b3 remove finalize block helper function 2022-03-01 15:19:10 -05:00
William Banfield 844f1075fb fixups 2022-03-01 14:58:51 -05:00
William Banfield d31d222e83 lint fixups 2022-03-01 14:53:59 -05:00
William Banfield 95b6c7ab77 merge fixups 2022-03-01 14:52:42 -05:00
William Banfield fafdc320b0 state tests passing 2022-03-01 14:46:13 -05:00
William Banfield dcf47ec76f fixup last commit test 2022-03-01 14:46:13 -05:00
William Banfield 8103b94044 wip on test fix 2022-03-01 14:46:13 -05:00
William Banfield c941d8e0e9 add test case to ensure call to finalize block 2022-03-01 14:46:13 -05:00
William Banfield 5e210ce5d8 remove assertion that finalize block being generated for psql indexer 2022-03-01 14:46:13 -05:00
William Banfield 1eac8534a0 change out event type for psql indexer 2022-03-01 14:46:13 -05:00
William Banfield 8a9f722caa remove most references to endblock 2022-03-01 14:46:13 -05:00
William Banfield 8d79f3bf7c remove most remaining references to BeginBlock 2022-03-01 14:46:13 -05:00
William Banfield e7c0a18212 renmae deterministicDeliverTx 2022-03-01 14:46:13 -05:00
William Banfield 1b4daf7c5f name begin/end_events 2022-03-01 14:46:13 -05:00
William Banfield 1fb789e7b7 remove needless nil variable 2022-03-01 14:46:13 -05:00
William Banfield eca41af266 update comment 2022-03-01 14:46:13 -05:00
William Banfield 42a01cc966 reorder block fields for aesthetics 2022-03-01 14:46:13 -05:00
William Banfield a97c1819c3 remove unhelpful comment 2022-03-01 14:46:13 -05:00
William Banfield 520ce222ab light.go comment change 2022-03-01 14:46:13 -05:00
William Banfield ecb13bb4fd remove useless panic test 2022-03-01 14:46:13 -05:00
William Banfield 83fc8c4601 variable renames for finalize 2022-03-01 14:46:13 -05:00
William Banfield 21df89b60f consensus: rename deliver tx helper 2022-03-01 14:46:13 -05:00
William Banfield 0cd4c3f2c8 abci: rename abci-cli command 'add_tx' from 'deliver_tx' 2022-03-01 14:46:13 -05:00
William Banfield 077b1d5617 remove no longer relevant begin block test 2022-03-01 14:46:13 -05:00
William Banfield b44b7e468c fix abci protobuf to contain vote 2022-03-01 14:46:13 -05:00
William Banfield afbaa86a63 cleanup remaining struct problems 2022-03-01 14:46:13 -05:00
William Banfield 855cb51189 more delivertx changes 2022-03-01 14:46:13 -05:00
William Banfield 9474faf879 fix abci protobuf to contain ExecTxResult 2022-03-01 14:46:13 -05:00
William Banfield a341046b28 update sites of DeliverTx 2022-03-01 14:46:11 -05:00
William Banfield 1aa5dda364 block events and tx fixups 2022-03-01 14:42:44 -05:00
William Banfield e3ff082f21 rename Txs -> TxResults 2022-03-01 14:42:41 -05:00
William Banfield 984f52ff9d build latest abci protos 2022-03-01 14:34:50 -05:00
Callum Waters ea46a4e9d1 github: add Informal code owners (#8042) 2022-03-01 15:58:23 +01:00
Sam Kleinman 21087563eb consensus: validator set changes test cleanup (#8035)
This is mostly an extremely small change where I double a somewhat
arbitrarly set timeout from 1m to 2m for an entire test. When I put
these timeouts in the test, they were arbitrary based on my local
performance (which is quite fact,) and I expected that they'd need to
be tweaked in the future.

A big chunk of this PR is reworking a collection of helper functions
that produce somewhat intractable messages when a test fails, so that
the error messages take up less vertical space, hopefully without
losing any debugability.
2022-03-01 13:42:00 +00:00
Sam Kleinman a965f03c15 statesync: avoid compounding retry logic for fetching consensus parameters (#8032)
We're waiting between trying witnesses (which shouldn't be neccessary
because the witnesses shouldn't depend on each other,) and also
between *attempts*, and really the outer sleep should be enough.
2022-03-01 13:01:57 +00:00
Manuel Bravo 82a2ca4ba5 abci++ spec: remove new_hashes and discuss transaction traceability (#8002)
* remove new_hashes, discuss traceability

* Update spec/abci++/abci++_methods_002_draft.md

Co-authored-by: Sergio Mena <sergio@informal.systems>

* Update spec/abci++/abci++_methods_002_draft.md

Co-authored-by: Sergio Mena <sergio@informal.systems>

* Update spec/abci++/abci++_methods_002_draft.md

Co-authored-by: Sergio Mena <sergio@informal.systems>

* quote example traceability

* remove new_hashes from protobuf

Co-authored-by: Sergio Mena <sergio@informal.systems>
2022-03-01 12:41:09 +01:00
Sam Kleinman 58dc172611 p2p: plumb rudamentary service discovery to rectors and update statesync (#8030)
This is a little coarse, but the idea is that we'll send information
about the channels a peer has upon the peer-up event that we send to
reactors that we can then use to reject peers (if neeeded) from reactors.

This solves the problem where statesync would hang in test networks
(and presumably real) where we would attempt to statesync from seed
nodes, thereby hanging silently forever.
2022-02-28 20:02:54 +00:00
Sam Kleinman 9cb01168a6 Revert "build(deps): Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (#8026)" (#8034)
This reverts commit e4dced2437.
2022-02-28 14:45:53 -05:00