Comments (3)
- Ramp up tendermint-rs, abci, kvstore example (1d)
- Add tendermint-rs to third-party and add a test case (1d)
- add related devo documents (2hrs)
from db3.
Ramp up tendermint-rs
Version
Tendermint-Core v0.34
https://github.com/tendermint/tendermint/releases/tag/v0.34.22
v0.34.22
Special thanks to external contributors on this release: @RiccardoM
This release includes several bug fixes, tendermint/tendermint#9518 we discovered while building up a baseline for v0.34 against which to compare our upcoming v0.37 release during our QA process.
Tendermint-rs: v0.25.0
CHANGELOG
https://github.com/informalsystems/tendermint-rs/releases/tag/v0.25.0
Sep 23, 2022
This release follows from v0.23.9, with the v0.24 series skipped due to Tendermint Core informalsystems/tendermint-rs#1179. As such, it is a non-breaking change, and removes the need to pin one's tendermint-rs dependencies to a specific version (as was the case for the v0.23 series).
This release still targets compatibility with Tendermint Core v0.34, and specifically provides compatibility with v0.34.21.
Notice
We are using the romac/ibc-proxy
branch because it is based on v0.34.22 and have fixed compilation issue in kvstore test.
Branch:
https://github.com/informalsystems/tendermint-rs/tree/romac/ibc-proxy
Kv example
https://github.com/dbpunk-labs/tendermint-rs/blob/main/abci/README.md
Run example from Tendermint-rs
Set your logging level through RUST_LOG (e.g. RUST_LOG=info)
Binds to 127.0.0.1:26658
RUST_LOG=debug cargo run --bin kvstore-rs --features binary,kvstore-app
Output
2022-10-23T20:41:38.516945Z INFO tendermint_abci::server: ABCI server running at 127.0.0.1:26658
Install and start Tendermint Core
-
Download binary from https://github.com/tendermint/tendermint/releases/tag/v0.34.22
-
Reset and run your Tendermint node (binds RPC to 127.0.0.1:26657 by default)
tendermint init
tendermint unsafe_reset_all
tendermint start
tendermint console log
:tcp://127.0.0.1:26657}}"
I[2022-10-23|13:44:43.890] Timed out module=consensus dur=971.098ms height=1 round=0 step=RoundStepNewHeight
I[2022-10-23|13:44:43.945] received proposal module=consensus proposal="Proposal{1/0 (F9E9A883E8572F7488CC2711D6C41224FFC3FA8FC0F552B70EDA51D21762CA1B:1:B7D8DB87F261, -1) 7FA902DD5E8E @ 2022-10-23T20:44:43.918426Z}"
I[2022-10-23|13:44:43.969] received complete proposal block module=consensus height=1 hash=F9E9A883E8572F7488CC2711D6C41224FFC3FA8FC0F552B70EDA51D21762CA1B
I[2022-10-23|13:44:44.023] finalizing commit of block module=consensus height=1 hash=F9E9A883E8572F7488CC2711D6C41224FFC3FA8FC0F552B70EDA51D21762CA1B root= num_txs=0
I[2022-10-23|13:44:44.073] executed block module=state height=1 num_valid_txs=0 num_invalid_txs=0
I[2022-10-23|13:44:44.098] committed state module=state height=1 num_txs=0 app_hash=00
I[2022-10-23|13:44:44.147] indexed block exents module=txindex height=1
I[2022-10-23|13:44:45.023] Timed out module=consensus dur=899.997ms height=2 round=0 step=RoundStepNewHeight
I[2022-10-23|13:44:45.069] received proposal module=consensus proposal="Proposal{2/0 (9B9C116D7CCF8EB013CD0CBA260E127B97F8BCEA5D98705BA99A3B66DEC999AE:1:372A6DE32656, -1) 69229498700C @ 2022-10-23T20:44:45.044039Z}"
I[2022-10-23|13:44:45.094] received complete proposal block module=consensus height=2 hash=9B9C116D7CCF8EB013CD0CBA260E127B97F8BCEA5D98705BA99A3B66DEC999AE
I[2022-10-23|13:44:45.146] finalizing commit of block module=consensus height=2 hash=9B9C116D7CCF8EB013CD0CBA260E127B97F8BCEA5D98705BA99A3B66DEC999AE root=00 num_txs=0
I[2022-10-23|13:44:45.197] executed block module=state height=2 num_valid_txs=0 num_invalid_txs=0
I[2022-10-23|13:44:45.222] committed state module=state height=2 num_txs=0 app_hash=00
I[2022-10-23|13:44:45.272] indexed block exents module=txindex height=2
I[2022-10-23|13:44:46.146] Timed out module=consensus dur=899.046ms height=3 round=0 step=RoundStepNewHeight
I[2022-10-23|13:44:46.198] received proposal module=consensus proposal="Proposal{3/0 (2F6909866CFC148B0BAAE540766D7955583DD69823B320A8D1B7BE5FCF21BB1E:1:2F0BAF008047, -1) 3F76854064B9 @ 2022-10-23T20:44:46.172756Z}"
I[2022-10-23|13:44:46.223] received complete proposal block module=consensus height=3 hash=2F6909866CFC148B0BAAE540766D7955583DD69823B320A8D1B7BE5FCF21BB1E
I[2022-10-23|13:44:46.275] finalizing commit of block module=consensus height=3 hash=2F6909866CFC148B0BAAE540766D7955583DD69823B320A8D1B7BE5FCF21BB1E root=00 num_txs=0
tendermint-rs console log
2022-10-23T20:44:42.716899Z INFO tendermint_abci::server: Incoming connection from: 127.0.0.1:51309
2022-10-23T20:44:42.717208Z INFO tendermint_abci::server: Incoming connection from: 127.0.0.1:51310
2022-10-23T20:44:42.717199Z INFO tendermint_abci::server: Listening for incoming requests from 127.0.0.1:51309
2022-10-23T20:44:42.717378Z INFO tendermint_abci::server: Listening for incoming requests from 127.0.0.1:51310
2022-10-23T20:44:42.717508Z INFO tendermint_abci::server: Incoming connection from: 127.0.0.1:51311
2022-10-23T20:44:42.717631Z INFO tendermint_abci::server: Listening for incoming requests from 127.0.0.1:51311
2022-10-23T20:44:42.717731Z INFO tendermint_abci::server: Incoming connection from: 127.0.0.1:51312
2022-10-23T20:44:42.718648Z INFO tendermint_abci::server: Listening for incoming requests from 127.0.0.1:51312
2022-10-23T20:44:44.098202Z INFO tendermint_abci::application::kvstore: Committed height 1
2022-10-23T20:44:45.222806Z INFO tendermint_abci::application::kvstore: Committed height 2
2022-10-23T20:44:46.351557Z INFO tendermint_abci::application::kvstore: Committed height 3
2022-10-23T20:44:47.479559Z INFO tendermint_abci::application::kvstore: Committed height 4
2022-10-23T20:44:48.608862Z INFO tendermint_abci::application::kvstore: Committed height 5
2022-10-23T20:44:49.731738Z INFO tendermint_abci::application::kvstore: Committed height 6
2022-10-23T20:44:50.858732Z INFO tendermint_abci::application::kvstore: Committed height 7
2022-10-23T20:44:51.985345Z INFO tendermint_abci::application::kvstore: Committed height 8
2022-10-23T20:44:53.110166Z INFO tendermint_abci::application::kvstore: Committed height 9
2022-10-23T20:44:54.239883Z INFO tendermint_abci::application::kvstore: Committed height 10
2022-10-23T20:44:55.365054Z INFO tendermint_abci::application::kvstore: Committed height 11
2022-10-23T20:44:56.487626Z INFO tendermint_abci::application::kvstore: Committed height 12
2022-10-23T20:44:57.611543Z INFO tendermint_abci::application::kvstore: Committed height 13
2022-10-23T20:44:58.734676Z INFO tendermint_abci::application::kvstore: Committed height 14
2022-10-23T20:44:59.864944Z INFO tendermint_abci::application::kvstore: Committed height 15
2022-10-23T20:45:01.013571Z INFO tendermint_abci::application::kvstore: Committed height 16
2022-10-23T20:45:02.205199Z INFO tendermint_abci::application::kvstore: Committed height 17
2022-10-23T20:45:03.256084Z INFO tendermint_abci::application::kvstore: Committed height 18
42022-10-23T20:45:04.384976Z INFO tendermint_abci::application::kvstore: Committed height 19
2022-10-23T20:45:05.507732Z INFO tendermint_abci::application::kvstore: Committed height 20
2022-10-23T20:45:06.636507Z INFO tendermint_abci::application::kvstore: Committed height 21
Submit a key/value pair (set "somekey" to "somevalue")
> curl 'http://127.0.0.1:26657/broadcast_tx_async?tx="somekey=somevalue"'
> curl 'http://127.0.0.1:26657/abci_query?data=0x736f6d656b6579'
Reference
from db3.
- Add tendermint-rs to third-party and add a test case
- add related devo documents
Resolved by #104
Reference
- Kv store app test: https://github.com/informalsystems/tendermint-rs/blob/main/abci/tests/kvstore_app.rs
from db3.
Related Issues (20)
- Standalone indexer: subscribe store v2 mutation and apply mutation
- Light Store: support document ownership management HOT 4
- Build a fully test environment
- Recover the counter of database id from ownership column family
- Support the max delay to execute rollup
- Recover the contract event jobs after restarting the index node
- Add sdk support list in readme
- Add getDoc method for sdk
- multi-chain metadata support
- Optimize the grpc error information: return human readable error information
- Support the all solidity types for parsing the contract events
- Use contract address, network id and chain id to initialize the sdk
- The index node sends a lot of subscription message
- duplicated database bug
- upload to arweave and call smart contract atomicly
- support reconnect to the rollup node when index lost connection to the rollup node
- the rollup node lost document meta data when it was restarted
- fail to mint database and collection for Empty log from stream error
- Error batch No in the rollup list
- the backgroud rollup task exists for exceptions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db3.