Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prototype implementation of CometMock #1

Merged
merged 25 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f65452c
Add .vscode to gitignore
p-offtermatt May 4, 2023
7943472
Add initial draft
p-offtermatt May 4, 2023
30b575a
Implement RPC server draft
p-offtermatt May 5, 2023
d9ade71
Introduce abci_client class and separate packages
p-offtermatt May 5, 2023
1e1f05d
Change InitChain logic to apply state update directly instead of retu…
p-offtermatt May 5, 2023
f0134ce
Unify error messages
p-offtermatt May 5, 2023
3966728
Remove Block and start by adding ABCIQuery
p-offtermatt May 5, 2023
8048420
Implement ABCI query
p-offtermatt May 5, 2023
ab6fcf8
Fix: Do not take state as input to BeginBlock, EndBlock
p-offtermatt May 5, 2023
5d35376
Implement one flavor of broadcast
p-offtermatt May 5, 2023
478276f
Fix comment - only delivers one transaction
p-offtermatt May 5, 2023
8f94e34
Rename file and start implementing RunBlock method
p-offtermatt May 5, 2023
891621c
Add debug bin to gitignore
p-offtermatt May 8, 2023
b6350a9
Add more sophisticated state update logic
p-offtermatt May 8, 2023
fdc66d3
Properly run first empty block at startup
p-offtermatt May 8, 2023
f9d8191
Add logic to avoid errors on unequal responses from apps
p-offtermatt May 8, 2023
e181d6f
Use DeepEqual instead of !=
p-offtermatt May 8, 2023
c9213ae
Add comment for error handling
p-offtermatt May 8, 2023
b52a59f
Rename src to cometmock for better binary name
p-offtermatt May 8, 2023
e6f5e45
Fix import path
p-offtermatt May 8, 2023
749f08f
Add routes for broadcast sync and async
p-offtermatt May 9, 2023
c9faad8
Rename BroadcastTxs to BroadcastTx
p-offtermatt May 9, 2023
50e5073
Return empty answers for broadcasts
p-offtermatt May 9, 2023
9ad5abb
Return empty result for broadcast
p-offtermatt May 9, 2023
38982c4
Remove local testnet script
p-offtermatt May 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@

# Go workspace file
go.work

.vscode

**/__debug_bin
Loading