William Banfield
8fe4aaad96
use legacy events field names
2022-03-04 16:28:38 -05:00
William Banfield
ab9963acb3
apply the renames to LastCommitInfo
2022-03-04 16:21:27 -05:00
William Banfield
102bda3dba
Merge remote-tracking branch 'origin/master' into wb/abci-finalize-block-synchronize
2022-03-04 16:04:53 -05:00
Sam Kleinman
0167f0d527
node: nodes should fetch state on startup ( #8062 )
2022-03-04 12:23:57 -05:00
Sam Kleinman
9d98484845
node: excise node handle within rpc env ( #8063 )
2022-03-03 15:17:45 -05:00
M. J. Fromberger
63ff2f052d
Remove now-unused and deprecated Subscribe methods. ( #8064 )
...
Both pubsub and eventbus are internal packages now, and all the existing use
has been updated to use the SubscribeWithArgs methods instead.
2022-03-03 10:03:38 -08:00
William Banfield
6dfde7ea84
delete logger
2022-03-02 17:51:54 -05:00
William Banfield
edb26469f4
swtich assertion of expectation
2022-03-02 17:51:20 -05:00
William Banfield
c96f7b0d63
fixup error messages
2022-03-02 17:27:10 -05:00
William Banfield
7648ad11c4
change absent check
2022-03-02 17:10:46 -05:00
Sam Kleinman
a3881f0fb1
consensus: improve wal test cleanup ( #8059 )
...
I believe that this gets rid of our temp-file related test errors.
2022-03-02 18:35:39 +00:00
M. J. Fromberger
af96ef2fe4
rpc: set a minimum long-polling interval for Events ( #8050 )
...
Since the goal of reading events at the head of the event log is to satisfy a
subscription style interface, there is no point in allowing head polling with
no wait interval. The pagination case already bypasses long polling, so the
extra option is unneessary.
Set a minimum default long-polling interval for the head case.
Add a test for minimum delay.
2022-03-02 08:12:18 -08:00
William Banfield
6bc343c626
remove polRound variable
2022-03-02 09:57:47 -05:00
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
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
M. J. Fromberger
a22942504c
p2p: re-enable tests previously disabled ( #8049 )
2022-03-01 12:25:11 -08: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
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
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
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
afbaa86a63
cleanup remaining struct problems
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
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