All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add /api/v2/transactions (32104c4 by classicalliu).
- Upgrade sdk for v0.24.0 v2 support (f955b20 by classicalliu).
- Disable recover mode and only support v0.22 and above (6cec7ca by classicalliu).
- Better expression (37758f9 by CL).
- Error: in file ./.env: environment variable name 'loop_interval ' may not contains whitespace. (c116b3b by sunfjun).
- Add /v2/api/blocks (c62ad8f by classicalliu).
- Add chinese version of readme (f2176d0 by classicalliu).
- Add api for cita rpc url and websocket url info (d9687da by classicalliu).
- Add
timestamp
,quota_used
,proposer
to blocks and addtimestamp
to transactions (02e1b38 by classicalliu). - Add sidekiq auth for production env. (1d43716 by classicalliu).
- Add sidekiq and redis to docker compose. (1dd129e by classicalliu).
- Add root url info to instead of not found (d57425b by classicalliu).
- Add timestamp in erc20 transfers (1d7aec5 by classicalliu).
- Add readme: add event log show api (b703cc6 by classicalliu).
- Add event log show api (97eea5c by classicalliu).
- Add errormessage to transactions (02b3cc6 by classicalliu).
- Change loop interval (78da98f by classicalliu).
- Change
block_number
,value
,quota_used
and so on to decimal number (d8cb2e4 by classicalliu). - Change blocks, transactions, event_logs, erc20_transfers pkey and fkey. (3927b03 by classicalliu).
- Fix docker-compose log file not found problem (e43a94c by classicalliu).
- Fix sync log not write problem add fix sync interval (7e78153 by classicalliu).
- Fix
tx.event_logs
andtx.erc20_transfers
null problem (7ecf510 by classicalliu). - Fix ws url scheme (0b1ad09 by classicalliu).
- Fix tests for
save_transaction
params (3a2eb9d by classicalliu). - Fix for old name
cita_hash
(d2c9d13 by classicalliu). - Fix bug: erc20_transfers persist (47f2330 by classicalliu).
- Remove useless balance and abi (e41229b by classicalliu).
- Remove include block from transaction controller (92fe6a2 by classicalliu).
- Remove get transaction rpc call when save transaction (947ef3b by classicalliu).
- Remove error scope in transaction receipt (e6826d2 by classicalliu).
- Format api doc (fc990c8 by classicalliu).
- Rename /v2/blocks params (f1feb43 by classicalliu).
- Transform v2/blocks keys (d8f90c3 by classicalliu).
- Update nokogiri (6546369 by classicalliu).
- Update rails to fix security problem (f7a302c by classicalliu).
- Split api doc to a single file (fbfdb73 by classicalliu).
- Replace cita doc url (be88c07 by classicalliu).
- Replace
appchain.rb
withcita-sdk-ruby
(711fc5c by classicalliu). - Update erc20 transfer api doc (d39afc5 by classicalliu).
- Lock appchain.rb version to 0.2.0 (f92ff26 by classicalliu).
- Rename
infos
toinfo
(ec42a11 by classicalliu). - Update rails version to 5.2.2 (dfe0f83 by classicalliu).
- Rjust tx value to size 64 (30fc089 by classicalliu).
- Update controllers and serializers for changed pkey (419edd2 by classicalliu).
- Using
push_bulk
to push a list of workers, it performs better (aa9b119 by classicalliu). - Return error object when rpc error in tx (5e59ab4 by classicalliu).
- Save tx and it's event logs in one db transaction (179305b by classicalliu).
- Retry when save tx or event logs failed (3722786 by classicalliu).
- Skip check queue size in test (e5e97fa by classicalliu).
- Insert block in sidekiq and handle system timeout and not ready error (3e6e43b by classicalliu).
- Don't enable experimental for secp256k1, create pids dir before start docker. (1f6b911 by classicalliu).
- Update rails to 5.2.1.1 for security. (bdedfa7 by classicalliu).
- Update readme for fix a display issue. (7b67e53 by classicalliu).
- Set default redis namespace to nil. (309ff73 by classicalliu).
- Update readme for sidekiq and redis infos. (b6dd3fd by classicalliu).
- Reset sidekiq pid path in deploy script. (be77127 by classicalliu).
- Using sidekiq to process transactions and event logs. (7c80caf by classicalliu).
- Using appchain.rb to make rpc calls and replace message decode (0066a2b by classicalliu).
- Update docker ruby version. (eab20cb by classicalliu).
- Update deploy script ruby version. (744e546 by classicalliu).
- Update ruby version to 2.5.3 and update gems. (2a6e033 by classicalliu).
- Update readme for 0.20 changes (9817876 by classicalliu).
- Rename gas_used to quota_used (727bcd3 by classicalliu).
- Update serializer chain_id (f549b8b by classicalliu).
- Update
loofah
version to 2.2.3 for security (d5506e4 by classicalliu). - Support cita 0.20 forks (version 0 & version 1) (628500b by classicalliu).
- Update homepage message (a4dcdd5 by James Chen).
- Move cors config from application.rb to initializers(rails api only standard) (1305f11 by classicalliu).
- Custom to api only structure (6bccd51 by classicalliu).
- Set max_per_page to 100 (96a2386 by classicalliu).
- Update readme: errormessage in api (e69ec83 by classicalliu).
- Update readme: add error messages (9145469 by classicalliu).
- Upgrade gem: nokogiri (00fbbba by classicalliu).
- Update ci: delete branch limit (de6fdfb by classicalliu).
- Add rubocop and fix (05a7a54 by classicalliu).
- Add an api: find transaction with hash (d58999e by classicalliu).
- Add chainid and chainname to transaction and transfer list (8c6c65e by classicalliu).
- Add erc20 event log process (be5e744 by classicalliu).
- Add block & transaction reference to event logs (92563f8 by classicalliu).
- Add event logs, sync event logs while sync transactions (2f1de8c by classicalliu).
- Add healthy check (67b1259 by classicalliu).
- Add release branch to ci (50e0d52 by classicalliu).
- Add staging and production deploy script (3eb295d by classicalliu).
- Docker support 🐳 (522afce by classicalliu).
- Fix: raise error when result is nil in fix_old task (4e94730 by classicalliu).
- Fix brakeman bug (3b5b1e9 by classicalliu).
- Fix factorybot/attributedefinedstatically (aa9ec02 by classicalliu).
- Fix two
before_script
problem in ci config (21f96a3 by classicalliu). - Fix message_spec (eaf6bb7 by classicalliu).
- Fix proposals order, may strange in microscope... (3399d2e by classicalliu).
- Fix typo: tendermint => tendermint (72dfac6 by classicalliu).
- Fix upgrade to cita v0.18 migration, drop old and create new one, for work with pg v9.4 (932a2aa by classicalliu).
- Fix test db host (64cbcce by classicalliu).
- Remove event log (no use anymore...) (f161f8a by classicalliu).
- Remove migration and model files for event logs... (446f072 by classicalliu).
- Remove metadata, it's no need to save. (d957f78 by classicalliu).
- Delete unused (commented out) gems (95ebf50 by James Chen).
- Specify rubocop version (3380c2e by James Chen).
- Bug fix: select event logs ignore case when process erc20 transfers (ce36476 by classicalliu).
- Save erc20 transfer address in lower case (1793fc3 by classicalliu).
- Update comment for before_script in .travis.yml (17b6775 by RainChen).
- Set default cita_url to localhost (ee9a505 by classicalliu).
- Update readme for update note (50d5e9b by classicalliu).
- Update gems and fix it's problems (e4c76fc by classicalliu).
- Update readme for erc20 transfers (181d2f3 by classicalliu).
- Auto run code quality audit task on ci (704b027 by RainChen).
- Set valueformat=decimal in transaction list (d2c3d61 by classicalliu).
- Set root get path to 404 no found (dd5d59f by classicalliu).
- Update readme, add event log processor info (3e7a155 by classicalliu).
- Move upgrade 0.18 script from migration to rake task and note that in readme (9d87f48 by classicalliu).
- Test event log processor (3cad25b by classicalliu).
- Rename eventlogprocess to eventlogprocessor (638246b by classicalliu).
- Cache validator counter (91efc85 by classicalliu).
- Create a contract event log by custom config (879b492 by classicalliu).
- Update readme (0c4c914 by classicalliu).
- Ignore from and to case when get transactions (1c794f6 by classicalliu).
- Upgrade to work with cita v0.18 (35b64da by classicalliu).
- Replace appchain with appchain (2c9d297 by classicalliu).
- Update readme for db data path (ca6fce6 by classicalliu).
- Set docker app lang (2b45e80 by classicalliu).
- Replace credentials with secrets... (4007801 by classicalliu).
- Optional blocks (b169240 by classicalliu).
- Update proposals algorithm (cd190f0 by classicalliu).
- Add index to block header and body (d4b0f08 by classicalliu).
- Fix pagination problem, be with only offset or limit provided (7fd6310 by classicalliu).
- Fix a bug: tendermint => tendermint (dd8aa12 by classicalliu).
- Proposals get validators from metadata (339b821 by classicalliu).
- Resort transactions in controller (3e45a80 by classicalliu).
- Add yard doc icon to readme (8d40dde by classicalliu).
- Add not found handle (bb019b7 by classicalliu).
- Add data to sync errors (c4ea95c by classicalliu).
- Add sync errors controller (f25d2b1 by classicalliu).
- Add sync error records (972f530 by classicalliu).
- Add hex utils (9b9ea8d by classicalliu).
- Add status controller (6ed8dec by classicalliu).
- Add deploy script (7ed11a5 by classicalliu).
- Add cita sync module test (eaa9724 by classicalliu).
- Add some comments (b7a2097 by classicalliu).
- Add comments to api and basic class (7690b0b by classicalliu).
- Add comments to message class (826db33 by classicalliu).
- Add yard for doc (e7b3d83 by classicalliu).
- Add codecov icon (50a3623 by classicalliu).
- Add codecov (c0e44b2 by classicalliu).
- Add rspec test suites (12de9f2 by classicalliu).
- Add statistics api (87577d8 by classicalliu).
- Add transaction controller and add index action (3ca6fc7 by classicalliu).
- Add offset and limit support to controller index action (ad04b1c by classicalliu).
- Add getblockbyhash to localinfocontroller (bdc2d8e by classicalliu).
- Add more useful columns to transaction (3f027ae by classicalliu).
- Add message model to process transaction content and get original value (4bcd15f by classicalliu).
- Add transaction_count to block and add blocks controller (f1f1b00 by classicalliu).
- Add travis ci build status to readme (0c8b25a by classicalliu).
- Add cita api (d5c9667 by classicalliu).
- Add abi model (eb47751 by classicalliu).
- Add travis ci files (66919c0 by classicalliu).
- Add balance model and fix a test bug (8242e3f by classicalliu).
- Add meta data model and persisted it (30674d4 by classicalliu).
- Add license (03aa854 by classicalliu).
- Add block and transaction model and sync them (e3d2d31 by classicalliu).
- Add pry for console and awesome print (975fc7b by classicalliu).
- Change nervos appchain link (0bc3c4c by Mine77).
- Fix concern yard doc problem (406280d by classicalliu).
- Fix license (58a9739 by classicalliu).
- Fix ci (2aa93cf by classicalliu).
- Fix a bug (e609c6e by classicalliu).
- Fix travis ci (4c871f1 by classicalliu).
- Remove test dir (45a20cd by classicalliu).
- Rename rebirth to re-birth (9dbbdfb by classicalliu).
- Update readme.md (#5) (2ba4f50 by Mine77).
- Update readme for env set (75dd4d6 by classicalliu).
- Update: add bundle step to doc (5432ff2 by Keith).
- Update readme for secp256k1 install info (41d1ca7 by classicalliu).
- Update readme for deploy and apidocs (0f37829 by classicalliu).
- Update persist comments (2a17c4a by classicalliu).
- Make save_balance and save_abi return format concord (590a223 by classicalliu).
- Rename basic to http and remove useless methods (ceca7b4 by classicalliu).
- Move local infos and split requests controllers to concerns (d1692a4 by classicalliu).
- Update codecov icon (1ddd0f8 by classicalliu).
- Update travis ci to support codecov (fe37f00 by classicalliu).
- Update ci status icon (70c6650 by classicalliu).
- Rename to rebirth (02407fe by classicalliu).
- Update ruby version to 2.5.1 (0c52de5 by classicalliu).
- Test statistics controller (984217c by classicalliu).
- Test transactions controller (d5c6b06 by classicalliu).
- Test blocks controller (d6dc29a by classicalliu).
- Test cita controller (e5a7bc7 by classicalliu).
- Test split request controller (10ed0aa by classicalliu).
- Test local info controller (c24c508 by classicalliu).
- Test message (0280738 by classicalliu).
- Update message get_from method algorithm (7bb56d8 by classicalliu).
- Save block always with transactions (d41c701 by classicalliu).
- Init issue templates (d1df18f by classicalliu).
- Save address with lower case (abi & balance) (8c9d020 by classicalliu).
- Blocks api (d9bad54 by classicalliu).
- Move controllers to root directory (d1e4c9f by classicalliu).
- Cors support (43e7af0 by classicalliu).
- Sync process (1cbd340 by classicalliu).
- Build rpc apis (d75defd by classicalliu).
- Call_rpc method support id and jsonrpc (288f73a by classicalliu).
- Save block with meta data (9919425 by classicalliu).
- Save abi (0b0b3e6 by classicalliu).
- Update ci config (2687d29 by classicalliu).
- Transfer keys methods (d3eec43 by classicalliu).
- Wrapper stub request for rpc call (0de818f by classicalliu).
- Update gems, for security problem (github notice) (189df36 by classicalliu).
- Pass all tests (for cita rpc methods name changed) (3fa595f by classicalliu).
- New api methods without prefix in cita 0.16 (4829c4a by classicalliu).
- Test cita sync api (f8fece7 by classicalliu).
- Cita sync api methods (5793798 by classicalliu).
- Config env by dotenv (f290efe by classicalliu).
- Update readme (dad0296 by classicalliu).
- Init project (1dc8f65 by classicalliu).