Proto commits in dbpunk-labs/db3

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:2e27ee2
Author:imotai
Committer:GitHub

Feat/get (#602) * feat: add doc store * feat: add get doc by id * test: add test case

The documentation is generated from this commit.

Commit:3177dab
Author:imotai

feat: add get doc by id

The documentation is generated from this commit.

Commit:769d214
Author:imotai
Committer:GitHub

Feat/support event db mgr (#581) * feat: add doc store * feat: add index * test: add index test case * fix: update the error report * feat: upgrade version * fix: revert the key and case * feat: add delete event db * fix: revert evm key * fix: fix the meta and reconnect bug * feat: update docker release cd * feat: update the readme

Commit:33ed1aa
Author:imotai

fix: fix the meta and reconnect bug

Commit:3ba0f9b
Author:imotai
Committer:GitHub

Feat/support event db mgr (#578) * feat: add doc store * feat: add index * test: add index test case * fix: update the error report * feat: upgrade version * fix: revert the key and case * feat: add delete event db * fix: revert evm key

Commit:f785921
Author:imotai

feat: add delete event db

Commit:129d5e9
Author:imotai

feat: upgrade version

Commit:770cdab
Author:imotai

fix: update the error report

Commit:2be31b0
Author:imotai
Committer:GitHub

add index support (#573) * feat: add doc store * feat: add index * test: add index test case

Commit:1325a6f
Author:imotai

test: add index test case

Commit:91e980a
Author:imotai

feat: add index

Commit:b77f4f8
Author:imotai
Committer:GitHub

handle create database and collection from contract (#569) * feat: add doc store * feat: add hanle mint doc database * feat: add mint collection * fix: remove unused files * fix: fix compile error * fix: fmt the code style * fix: use self hosted to run job * fix: add nonce manager * fix: add more sleep * fix: remove some build steps * fix: add rust cache * fix: add tool chain

Commit:0974e4a
Author:Chen22
Committer:GitHub

feat: indexer cold start (WIP) (#566) * add unit test for upload ut * sleep 3 second before request token and print balance after upload * revert start local setting * upload logs when fail * update ar file ut with balance log * upload logs when test coverage fail * change test task order * fix contract.log * revert ci workflow * ignore ut for cicd * ignore test in ci feature enable * support indexer cold start * fix indexer recover * fix: format the code * fix fetch block * remove unused code --------- Co-authored-by: imotai <codego.me@gmail.com>

Commit:e628ee4
Author:imotai
Committer:GitHub

Multi chains setup support (#559) * feat: add doc store * feat: add system proto for data rollup node and data index node * feat: add system store * feat: add config update * feat: add system to indexer * add system sdk * feat: add setup sdk * feat: update the setup config * fix: fix the setup bug * feat: add event processor * feat: add meta store event processor * fix: fix storage node test case * fix: fix typescript test case * fix: fix the register data network case * fix: remove llvm * fix: add more sleep * fix: adjust the case * test: add rollup executor smoke test

Commit:e7aca6d
Author:Chen22
Committer:GitHub

support apply mutation with docid (#557) * support apply mutation with docid * support update store state with given doc idS * add version id * parse ar file with v1 version * fix compile error

Commit:5692a30
Author:imotai
Committer:GitHub

reduce the build time (#552) * feat: add doc store * feat: add doc order and event recover * feat: add recover * feat: add start block * fix: fix the recover bug * fix: remove unused module * fix: remove docker cd * fix: print the test environment output log * fix: start localnet for every step * fix: add cd for cargo test * feat: remove kill process * feat: update start local net * fix: fix the test case * fix: fix the java ut case

Commit:51decb5
Author:imotai

fix: remove unused module

Commit:f1ac0b0
Author:imotai
Committer:GitHub

Feat/recover id event jobs (#549) * feat: add doc store * feat: add doc order and event recover * feat: add recover * feat: add start block

Commit:533b73c
Author:imotai

feat: add recover

Commit:0cc9a4f
Author:imotai

feat: add doc order and event recover

Commit:4209cc6
Author:imotai
Committer:GitHub

Feat/sdk readonly client (#536) * feat: add doc store * feat: support readonly client * fix: fix the comment * feat: add database counter * feat: update the typescript sdk * fix: fix test case * fix: fix the test case * feat: fix the project bug * test: add more query test * fix: fix query test case * fix: fix test case * fix: fix sdk compile error * feat: add cloud sandbox * feat: update readme * feat:add collection persistence

Commit:5df94d2
Author:imotai
Committer:GitHub

Feat/database data improvement (#531) * feat: add doc store * feat: support readonly client * fix: fix the comment * feat: add database counter * feat: update the typescript sdk * fix: fix test case * fix: fix the test case * feat: fix the project bug * test: add more query test * fix: fix query test case * fix: fix test case

Commit:e1250ba
Author:imotai
Committer:GitHub

Feat/improve data browser (#527) * feat: add doc store * fix: use onebox docker image * fix: adjust the steps * fix: debug the return code * feat: add force compile * fix: add force compile * fix: add echo log * feat: add artifacts dir * feat: adjust the test * feat: add docker release cd * feat: add abi * fix: fmt the code style * feat: remove stare command * feat: add network * feat: recover from local system * test: add recover ut * feat: add mutation state * feat: add export * fix: revert the test case * feat: update sdk version

Commit:2819d09
Author:imotai
Committer:GitHub

Feat/one box test env (#516) * feat: add doc store * fix: use onebox docker image * fix: adjust the steps * fix: debug the return code * feat: add force compile * fix: add force compile * fix: add echo log * feat: add artifacts dir * feat: adjust the test * feat: add docker release cd * feat: add abi * fix: fmt the code style * feat: remove stare command * feat: fix node key case * feat: update ci yml * fix: fix the tail error * feat: update start localnet * feat: update ci * feat: add nohup * feat: update stop logic

Commit:e4feeb1
Author:imotai
Committer:GitHub

Fix/fix setup does not work bug (#514) * feat: add doc store * fix: remove mac build * fix: add deploy token * fix the rollup bug * fix: fix the code style error

Commit:e4069c6
Author:imotai
Committer:GitHub

add admin permission controller (#501) * feat: add doc store * feat: merge sdk into db3 * fix: fix the contract test case * fix: fix the test case * fix: add protobuf generator * fix: add protobuf generator * feat: add record arweave tx to smart contract * fix: fix the case * feat: add new readme * fix: remove the test large case * feat: add arch png * feat: update docker cd

Commit:1e3241d
Author:imotai

fix: fix the contract test case

Commit:ef455d3
Author:imotai

feat: merge sdk into db3

Commit:b92fc3b
Author:imotai
Committer:GitHub

create index for smart contract (#498) * feat: add doc store * feat: add event processor * feat: remove chain id * feat: add get contract sync status * feat: add get sync status * feat: add get database api * feat: add get database * feat: remove ut * fix: resolve the code style error

Commit:5e5488e
Author:imotai

feat: add get database api

Commit:780b178
Author:imotai

feat: add get contract sync status

Commit:6473b92
Author:imotai

feat: remove chain id

Commit:99f9e80
Author:imotai

feat: add event processor

Commit:387e24d
Author:imotai
Committer:GitHub

add account to rollup node and index node (#494) * feat: add doc store * feat: add key store * feat: add retry to subscribe the message * feat: add setup rollup * feat: update cicd * feat: add docker build * feat: add test latest * feat: add a standalone docker build * feat: add docker files * fix: update the docker cd name * feat: add indexer system status * feat: add setup function * feat: add setup with permission control * feat: add meta store client * feat: update cicd * fix: update cicd * fix: fix the typo

Commit:c054449
Author:imotai

feat: add setup function

Commit:c81c2ae
Author:imotai

feat: add indexer system status

Commit:0c3cb32
Author:imotai

feat: add retry to subscribe the message

Commit:728e233
Author:imotai

feat: add key store

Commit:ae7a0bd
Author:Chen22
Committer:GitHub

feat/add ownership verify (#493) * add ownership verify * change doc id string and return doc id * change log level * fix update ids * add mutation after verify mutation * change ownership mapping from db_doc_key to owner * fix: fix the warning --------- Co-authored-by: imotai <codego.me@gmail.com>

Commit:2b233f4
Author:Chen22

change ownership mapping from db_doc_key to owner

Commit:66b60b6
Author:Chen22

add ownership verify

Commit:e8f0eca
Author:imotai
Committer:GitHub

Feat/query (#488) * feat: add doc store * feat: add metadata management * feat: use doc store to store document * feat: refactor the doc store * add query function * fix: fix the test case * feat: add delete and update docs * feat: add run query rpc * fix: fix the protobuf error * feat: add query function * fix: update start localnet script * feat: add idx to query parameter * feat: format the code

Commit:330d0db
Author:imotai

feat: add idx to query parameter

Commit:7d358a4
Author:imotai

fix: fix the protobuf error

Commit:7ea422b
Author:imotai

feat: merge from main

Commit:d560e6d
Author:imotai

feat: add run query rpc

Commit:a6c1b01
Author:imotai
Committer:GitHub

Feat/query (#485) * feat: add doc store * feat: add metadata management * feat: use doc store to store document * feat: refactor the doc store * add query function * fix: fix the test case * feat: add delete and update docs

Commit:1aec3f4
Author:imotai

feat: add delete and update docs

Commit:8c0e9f6
Author:imotai

feat: add add doc method

Commit:8f81a1a
Author:Chen22
Committer:GitHub

support subscribe store mutation and apply mutation (#487)

Commit:265cea1
Author:Chen22

support subscribe store mutation and apply mutation

Commit:58c1307
Author:imotai

feat: use doc store to store document

Commit:5d4c6a6
Author:imotai

feat: add metadata management

Commit:ed46efe
Author:Chen22
Committer:GitHub

support get block api in light storage (#483) * support get block api in light storage * rust fmt * fix compile failure and ut

Commit:582ac0c
Author:Chen22

rust fmt

Commit:598bc86
Author:Chen22

support get block api in light storage

Commit:76d441d
Author:imotai
Committer:GitHub

feat: add doc store (#482) * feat: add doc store * fix: add doc store file * feat: remove mutex

Commit:3c03fd0
Author:imotai

feat: add doc store

Commit:07b06ec
Author:imotai
Committer:GitHub

feat: add garbage collection function (#479) * feat: add garbage collection function * fix: resolve the code style * fix: add min data byte size and min gc round offset parameter * feat: add scan gc records function * fix: fix the edge condition bug * feat: add get rollup record * fix: fix test case * feat: recover block id * feat: move upload to ar_fs * fix: fix the test case error

Commit:98987d6
Author:Chen22
Committer:GitHub

support storage light subscribe (#478) * support storage light subscribe * fix message event broadcast and add unit test * fix log

Commit:6ce329b
Author:imotai
Committer:GitHub

Feat/apply mutation (#476) * feat: add compress function * feat: support upload data to arweave * fix: fix add rollup record test case * fix: fix the code style error * feat: add scan rollup records * feat: add scan rollup records * fix: fix test case * feat: add database and collection management * feat: add rpc for get database by owner * feat: add nonce to mutation header * fix: fix the duplicated tx id bug * fix: add db owner key v2 * feat: add get collection of database

Commit:abad032
Author:imotai
Committer:GitHub

sync data to arweave (#475) * feat: add compress function * feat: support upload data to arweave * fix: fix add rollup record test case * fix: fix the code style error * feat: add scan rollup records * feat: add scan rollup records * fix: fix test case

Commit:d020ad9
Author:imotai
Committer:GitHub

feat: add get mutation header (#474) * feat: add get mutation header * fix: improve the var name * feat: add scan and get mutation * feat: add scan mutation headers

Commit:5c0d765
Author:imotai
Committer:GitHub

add db3 light version (#468) * feat: add mutation store case * feat: add storage light node rpc * feat: add signature validation * feat: remove nonce in mutation * feat: update storage proto * feat: remove bridge and faucet * feat: fix test case * fix: fix bson case error * feat: add add_database * feat: remove bridge build

Commit:8d40c5f
Author:imotai

feat: update facuet

Commit:6115513
Author:Chen22
Committer:GitHub

Feat/support indexer query (#456) * apply database mutation in indexer * ignore indexer dir * better log * refactor: add mutation util to reuse mutation parse and verify logic * add unit test for mutation util * rust fmt * support database query api in indexer * resolve comment * remove unused import * start db3 indexer for ci * remove indexer start in ci

Commit:544df60
Author:imotai
Committer:GitHub

feat: add faucet state (#458) * feat: add faucet state * fix: fix the interval of request faucet

Commit:9eec75e
Author:Chen22
Committer:GitHub

Feat/standalone indexer fetch block (#448) * db3 indexer phase 1: add indexer subscribe db3 event message * log event message status * log block event * add fetch_block_by_height api in sdk * use info instead of print * resolve pr comment 1. use db3_storage_grpc_url instead of public_grpc_url 2. support turn on/off log 3. ignore mutation event log * rust fmt * fetch block and parse it then add database mutation into pending queue * rust fmt * move fetch block api to storesdk

Commit:2d70cdc
Author:Chen22
Committer:GitHub

Feat/console composite filter (#428) * support composite filter with and and eq * support composite filter with and and eq in cmdline

Commit:01d8483
Author:Chen22

support composite filter with and and eq

Commit:e90b460
Author:imotai
Committer:GitHub

feat: add db owner index (#385) * feat: add db owner index * fix: add db_owner_key.rs file * feat: add new subcommand my-db * fix: fix test error * feat: fix unstable root hash bug led by hashmap * test: add test case * test: fix get my database case

Commit:21f2638
Author:imotai

feat: fix unstable root hash bug led by hashmap

Commit:baee6e7
Author:imotai

feat: add new subcommand my-db

Commit:d00a613
Author:imotai

feat: add db owner index

Commit:a2475cb
Author:imotai
Committer:GitHub

feat: add disable query session flag (#377) * feat: add disable query session flag * feat: add dev network genesis.json * fix: add join devnet

Commit:96c9bba
Author:imotai
Committer:GitHub

feat: event push support (#360) * feat: add event subsriber * fix: handle the subscribe request * fix: remove the info log * feat: add sub command subscribe * fix: add collection and database to event

Commit:e9a8803
Author:imotai

feat: add sub command subscribe

Commit:12e532d
Author:imotai

feat: add event subsriber

Commit:75783b3
Author:imotai
Committer:GitHub

Support typed data (#343) * fix: replace tx with mutation * feat: add typed data verify * feat: support typed data * fix: remove install open jdk * fix: fix warning * fix: move doc check to test * fix: update case * fix: add some log * feat: meta mask test passed

Commit:e2a3cbe
Author:imotai

fix: update case

Commit:4dc7ab8
Author:imotai

feat: support typed data

Commit:bc3220d
Author:imotai

feat: add typed data verify

Commit:6c0a806
Author:imotai

fix: replace tx with mutation

Commit:7027402
Author:imotai
Committer:GitHub

demo: add evm chain bridge and facuet (#319) * feat: add solidity template * feat: add sample contract * test: add smart contract ut * fix: add deploy scripts * fix: fix warning * feat: add event store * test: add event store test * add mint credit mutation * fix: add watcher * feat: add store progress * feat: mint credits flow passed * feat: add faucet node * fix: merge from main * feat: add fund faucet function * feat: add faucet and deposit command

Commit:9d2693f
Author:imotai
Committer:GitHub

Merge branch 'main' into 203-wip-use-ethereum-as-the-settlement-chain

Commit:65c22bd
Author:imotai

feat: add faucet node

Commit:e659c11
Author:Chen22
Committer:GitHub

add update mask and cmd update-doc with mask (#333)

Commit:07ded00
Author:imotai

feat: mint credits flow passed

Commit:7e2fcad
Author:imotai

feat: add store progress

Commit:d119a28
Author:imotai

fix: merge from main

Commit:3fe5a39
Author:Chen22

add update mask and cmd update-doc with mask

Commit:c758a5b
Author:imotai

fix: add watcher

Commit:676b9f9
Author:imotai

add mint credit mutation

Commit:05ba3d6
Author:Chen22
Committer:GitHub

feat: add update doc method in db_store (#322) * bson into comparison bytes and support int comparison * revert some changes * remove unused import * fix ut * support query with field filter eq * support run query rpc 1. remove ListDocuments api and add RunQuery instead 2. invoke RunQuery for show-doc cmd 3. support limit * rust fmt * support run_query sdk and show-dow --filter cmd * add update_document method in db_store and UT * fix comment * add DocumentAction UpdateDocument Action

Commit:308b90c
Author:Chen22

add DocumentAction UpdateDocument Action

Commit:85c526b
Author:Chen22
Committer:GitHub

feat: simple run query (#320) * bson into comparison bytes and support int comparison * revert some changes * remove unused import * fix ut * support query with field filter eq * support run query rpc 1. remove ListDocuments api and add RunQuery instead 2. invoke RunQuery for show-doc cmd 3. support limit * rust fmt * support run_query sdk and show-dow --filter cmd

Commit:7b48f42
Author:imotai

feat: add event store

Commit:3ee766f
Author:Chen22

Sync main

Commit:ec3d85c
Author:Chen22

support run query rpc 1. remove ListDocuments api and add RunQuery instead 2. invoke RunQuery for show-doc cmd 3. support limit

Commit:0b9ee2d
Author:Chen22

support query with field filter eq