William Banfield
4763b0ee99
resurrect tx.Proof method
3 years ago
William Banfield
f7c35e70b9
remove erroneous comment over ToSliceOfBytes
3 years ago
William Banfield
cff2d43d1e
move TxsToTxRecords as helper function for state tests
3 years ago
William Banfield
ae184ba529
remove ToTxs unsued function
3 years ago
William Banfield
3de294a513
clang format intermediate file
3 years ago
William Banfield
e87cef8dd3
Merge branch 'master' into wb/abci-prepare-proposal-synchronize
3 years ago
William Banfield
9781ec60ae
update validation comment
3 years ago
Sam Kleinman
b08dd93d88
libs/log: remove Must constructor ( #8120 )
* libs/log: remove Must constructor
* Update test/e2e/node/main.go
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
* use stdlog
Co-authored-by: M. J. Fromberger <michael.j.fromberger@gmail.com>
3 years ago
William Banfield
6da708049f
Merge branch 'master' into wb/abci-prepare-proposal-synchronize
3 years ago
William Banfield
11edd067e7
add test for preserving order
3 years ago
William Banfield
e080b9c740
helper fixups
3 years ago
William Banfield
3783fbb327
change mh variable
3 years ago
William Banfield
438adcd0dd
split into smaller functions
3 years ago
William Banfield
fa9b029a26
defensive copy + layout change
3 years ago
William Banfield
1dce618a65
Apply suggestions from code review
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
William Banfield
747eb86de8
remove Get prefix
3 years ago
William Banfield
5a5167974f
remove comment incorrectly stating allocation by NewTxRecordSet
3 years ago
William Banfield
7c7307961b
remove TxRecordsToTxs
3 years ago
William Banfield
235a636af2
comment Txs sort
3 years ago
William Banfield
b1ddcb947d
Update proto/tendermint/abci/types.proto.intermediate
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
William Banfield
a843d8bf28
createProposalBlock explicit returns
3 years ago
William Banfield
889488f92c
log if part set errors
3 years ago
William Banfield
89c932352b
comment types_test
3 years ago
William Banfield
51cf3fe7db
rename to MarshalTxResults
3 years ago
William Banfield
c8844abd62
create separate removed list in kvstore
3 years ago
Sam Kleinman
a5320da5c8
node: cleanup evidence db ( #8119 )
3 years ago
William Banfield
4bf2027d3c
comment the validation logic
3 years ago
William Banfield
bef6ab6e51
remove methods from abci tx records
3 years ago
William Banfield
9082915626
implement TxRecordSet for dealing with TxRecord validation
3 years ago
William Banfield
8e5dfa55ef
rfc: RFC 015 ABCI++ Tx Mutation ( #8033 )
This pull requests adds an RFC to discuss the proposed mechanism for transaction replacement detailed in the ABCI++ specification.
3 years ago
Jordi Pinyana
70df7d9e6e
readme: add vocdoni ( #8117 )
Add Vocdoni under applications section on the README.
3 years ago
frog power 4000
98dd0d6c5a
minor typo in docs ( #8116 )
3 years ago
frog power 4000
aff1481682
Update abci++_basic_concepts_002_draft.md ( #8114 )
Minor Typo (nice doc!)
3 years ago
William Banfield
ce9b5982bc
fix all cases of CreateProposalBlock votes
3 years ago
William Banfield
64b0b0a646
mempool_test does not make new list of Tx
3 years ago
William Banfield
4655d5d9f0
trim prefix from demo app
3 years ago
William Banfield
ca1824b415
update substPrepareTx
3 years ago
William Banfield
1500369946
remove transaction hash log
3 years ago
William Banfield
dac4e84990
test only deterministic fields used in hash
3 years ago
William Banfield
0ca101912f
comment tx fix
3 years ago
William Banfield
d3c4f7c7d9
change app prepareproposal
3 years ago
William Banfield
5849b16dff
fix joined lines
3 years ago
William Banfield
232b38100b
use block.Txs
3 years ago
William Banfield
dd98161894
thread vote information through for future use by vote extensions
3 years ago
M. J. Fromberger
e9bc33d807
consensus: ensure the node terminates on consensus failure ( #8111 )
Updates #8077 . The panic handler for consensus currently attempts to effect a
clean shutdown, but this can leave a failed node running in an unknown state
for an arbitrary amount of time after the failure.
Since a panic at this point means consensus is already irrecoverably broken, we
should not allow the node to continue executing. After making a best effort to
shut down the writeahead log, re-panic to ensure the node will terminate before
any further state transitions are processed.
Even with this change, it is possible some transitions may occur while the
cleanup is happening. It might be preferable to abort unconditionally without
any attempt at cleanup.
Related changes:
- Clean up the creation of WAL directories.
- Filter WAL close errors at rethrow.
3 years ago
Thane Thomson
72bbe64da7
proto: update proto generation to use buf ( #7975 )
* Hard-code go_package option for .proto files
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Automatically relocate generated ABCI types after proto-gen
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Skip building gogoproto (i.e. only build our types)
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove unnecessary proto generation scripts
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Upgrade buf config from v1beta1 to v1
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Add simple proto generation script
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Replace buf-based protobuf generation with simple protoc-based approach
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove custom buf-based Docker image generation config and Dockerfile
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Adopt Cosmos SDK's approach to Protobuf linting and breakage checking in CI
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Suppress command echo when running proto checks
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix proto-check workflow YAML indentation
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Restore proto-format target
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Replace custom BASH script with make equivalent
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove proto linting/breaking changes CI checks after discussion today
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove dangling reference to CI workflow that no longer exists
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Update contributing guidelines relating to protos
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Use buf instead for generating protos
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove unused buf config for gogoprotobuf
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Add reminder for if we migrate fully to buf
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Restore protopackage script for #8065
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix permissions on protopackage script
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Update contributing guidelines to show building of protos using buf
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix breaking changes check and add disclaimer
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Expand on contributing guidelines for clarity
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Re-remove old proto workflows
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Add buf-based proto linting workflow in CI
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Superficially reorder proto targets
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix proto lints
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Fix GA workflow YAML indentation
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Temporarily use forked version of mlc
Use forked version of markdown-link-check until
https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/126
lands.
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Temporarily disable markdown link checker
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Remove gogo protos - superseded by version from buf registry
Signed-off-by: Thane Thomson <connect@thanethomson.com>
3 years ago
William Banfield
26c4f9088f
add error log for failure to create proposal block
3 years ago
William Banfield
46cc63dccc
types_test comment changes
3 years ago
William Banfield
8765d1e506
wip tx hashing
3 years ago
William Banfield
4d8e81a1f5
error message change
3 years ago