Releases: oasisprotocol/nexus
Releases · oasisprotocol/nexus
v0.0.6
What's Changed
New features:
- Add account related txs and events by @Andrew7234 in #277
- Emerald: token queries, handle deterministic errors by @pro-wh in #265
- Implement
/emerald/transactions/{tx_hash}
by @mitjat in #286
Bugfixes: Improved handling of bigints and some other types
- bugfix: Convert bigint params to string before passing to DB by @mitjat in #272
- bugfix: openapi, Go: Various type problems by @mitjat in #283
- [api] check for divide-by-zero by @Andrew7234 in #216
Improved/guaranteed type compliance with openapi spec
- refactor: Autogenerate Go types from openapi by @mitjat in #268
- Autogenerate HTTP server from openapi spec by @mitjat in #280
- api: make epoch end height optional by @mitjat in #278
Internal cleanup:
- api: extract replyJSON method by @pro-wh in #275
- db: Add index for consensus tx hash by @mitjat in #282
Full Changelog: v0.0.5...v0.0.6
Oasis Indexer 0.0.5
What's Changed
This quickfix release includes two PRs (269,271) that aim to prevent the indexer from choking on well-formed blocks.
- evm: require ERC-20 totalSupply by @pro-wh in #269
- Emerald: fix legacy EVM and ERC capitalization by @pro-wh in #270
- bugfix: Process fee accumulator disbursements last by @mitjat in #271
Full Changelog: v.0.0.4...v0.0.5
Oasis Indexer 0.0.4
What's Changed
- Emerald: list blocks api by @pro-wh in #190
- api: specify inclusive min/max filters by @pro-wh in #200
- nit: Rename poorly named func by @mitjat in #204
- Update e2e tests documentation by @aefhm in #191
- Change delegations rounding->floor by @Andrew7234 in #210
- Emerald: store transaction result by @pro-wh in #201
- cmd: flag for wiping the db on startup by @mitjat in #214
- Strenghten sql constraints by @mitjat in #217
- bugfix: stringify big.Int and uint64 before sending to pgx by @mitjat in #221
- Small readability, logging, debugging fixes by @mitjat in #219
- Emerald: list transactions api by @pro-wh in #194
- Emerald: track tokens by @pro-wh in #213
- Emerald: add index for token holders count by @pro-wh in #215
- Emerald: add tokens api by @pro-wh in #218
- bump oasis-core to 2202.3 by @mitjat in #226
- Emerald: add tokens api spec by @pro-wh in #224
- genesis_test: Numerous improvements by @mitjat in #227
- Update concurrency of process block goroutines by @Andrew7234 in #228
- Allow partial configs, optionally run just API or just analyzers by @mitjat in #230
- Andrew7234/genesis test by @Andrew7234 in #212
- bugfix: genesis_test: Ignore expired nodes in registry by @mitjat in #231
- Update fkey constraint by @Andrew7234 in #234
- Update db types by @Andrew7234 in #237
- docker: per-user dev tags by @mitjat in #239
- openAPI: simplify stats stack, publish html version by @mitjat in #241
- db: fix permissions, search paths by @mitjat in #244
- Andrew7234/bigint by @Andrew7234 in #236
- consensus: refactor: fetch all round data at once, then process by @mitjat in #243
- Do not fetch ChainContext when known by @mitjat in #233
- consensus: Do not track runtime (un)suspensions by @mitjat in #232
- db: Rename fields txn_* -> tx_* by @mitjat in #252
- openapi: Consensus events endpoint by @mitjat in #246
- openapi: Add assorted fields required by MVP by @mitjat in #247
- event enums: Rename to conform with oasis-core by @mitjat in #253
- [db] minor type fix by @Andrew7234 in #254
- Emerald: query token name etc by @pro-wh in #229
- api: Show large numbers as strings by @aefhm in #251
- analyzer: Index all services backends' events by @aefhm in #188
- Add account on new allowance owner by @aefhm in #266
Full Changelog: v0.0.3...v.0.0.4
Oasis Indexer 0.0.3
Changelog
Bug fixes
- 07a16fb: bugfix: pipe ChainID into consensus analyzer (@mitjat)
- d7a1399: bugfix: typo in balance update (@mitjat)
- ee88f56: generator: bugfix: do not generate INSERT stmt for 0 rows (@mitjat)
Other changes
- 0553ab4: Add Docker workflow comment (@aefhm)
- 2d2f062: Add TODO for parsing migrations from genesis file (@aefhm)
- b2716be: Add e2e tests (@aefhm)
- 79f2687: Add mitjat to code owners (@aefhm)
- b9db704: Add net-runner Dockerfile (@aefhm)
- c3175fc: Add tracking of genesis processing (@mitjat)
- cde97b8: Bump golangci-lint to 1.49.0 (@aefhm)
- d07323a: Configure server ChainID (@aefhm)
- 696e0bf: Consensus, emerald: reduce logspam when caught up with blockchain (@mitjat)
- b8dfe75: Emerald: 0.01 effort paste from nexus (@pro-wh)
- b6be065: Emerald: Rename height->round, use timestamp type (@mitjat)
- 540f441: Emerald: add comment heading (@pro-wh)
- 5b3f4e4: Emerald: add missing error wrap (@pro-wh)
- ee53231: Emerald: add new inserts to QueryFactory (@pro-wh)
- 26222b3: Emerald: add note about block gas math (@pro-wh)
- e7fa5bd: Emerald: add signer_index explanation (@pro-wh)
- b1fc6b6: Emerald: adjust index methods, add block hash index (@pro-wh)
- 9700ca2: Emerald: combine block and transaction inserts (@pro-wh)
- f03af90: Emerald: don't authenticate transactions (@pro-wh)
- 092872c: Emerald: eliminate uint64 -> int64 conversions (@pro-wh)
- a73be95: Emerald: explain address_preimages (@pro-wh)
- 81f3638: Emerald: improve tx decoding error log (@pro-wh)
- 9cf4497: Emerald: merging databases (@pro-wh)
- f6a7b2b: Emerald: printf -> log (@pro-wh)
- 68d78f2: Emerald: put test data in structs (@pro-wh)
- 6e39f28: Emerald: rename loop var in long loop (@pro-wh)
- 6a77efc: Emerald: store raw tx (@pro-wh)
- 6c4b311: Emerald: store raw tx as bytea (@pro-wh)
- 209444c: Emerald: update to storage.QueryBatch (@pro-wh)
- 7c07ddf: Emerald: use bytea for address_preimages.address_data (@pro-wh)
- 42821c7: Emerald: use hex for address_preimages.address_data (@pro-wh)
- cc0126c: Extract test helper (@aefhm)
- 34b7810: Fix Docker dev configuration (@aefhm)
- 8b23cc3: Fix epoch bug (@aefhm)
- e731069: Fix missing Epoch in StakingData (@aefhm)
- 2f02784: Fix util helper (@aefhm)
- 267a554: Ignore testnet dir (@aefhm)
- 51f12ce: Improve Docker dev (@aefhm)
- dea7d09: Improve comment (@aefhm)
- dcd8a9a: Improve e2e test error assertion (@aefhm)
- 3676c1f: Improve latest Indexer status documentation (@aefhm)
- d6f78d9: Improve net-runner Dockerfile (@aefhm)
- 117ba8a: Improve testing logging (@aefhm)
- e793708: Increase e2e wait timeout (@aefhm)
- e3cdced: Makefile, READMEs: small fixes and updates (@mitjat)
- e48151c: Makefile: more robust postgres target (@mitjat)
- 21ac5ae: Makefile: psql target (@mitjat)
- b70e97f: Migration for our schema (@pro-wh)
- 5efaf8d: Move generator to oasis package (@mitjat)
- 14cbf7d: Patch gosec linting (@aefhm)
- 282084a: Patch test config (@aefhm)
- b2c9112: Remove support for CockroachDB (@mitjat)
- f60f4e0: Send generated sql to DB (@mitjat)
- 4f40268: Separated lint (@pro-wh)
- 67be187: Simplify goroutine invocations (@mitjat)
- 47979a5: Test with test chain_id (@aefhm)
- 8ff35c4: Update e2e test Docker compose path (@aefhm)
- a5d3b7b: Update http server with timeouts (@aefhm)
- 08ed050: Update ignore files (@aefhm)
- 5bf0b3e: Update latest_update time display (@aefhm)
- e42ab18: Update to golang 1.18 (@aefhm)
- b2d0cb7: Use Postgres version 13.7 in testing and dev (@aefhm)
- aa69e8e: [api] add in-memory cache (@Andrew7234)
- 7cb5eaa: [db] Log failed queries (@mitjat)
- d19ecd9: [db] Pipe postgres logs into our logging system (@mitjat)
- 4396501: add warren to codeowners (@Andrew7234)
- 6b3be0d: additional docs/comments from review (@mitjat)
- cffd113: address comments (@Andrew7234)
- dad5925: aggregate stats: Increase interval, timeout (@mitjat)
- 4fb16fd: analyzer, config: expand ChainContext description (@pro-wh)
- 4642bd8: analyzer: change RuntimeConfig fields (@pro-wh)
- c8dc908: cache block and tx endpoints (@Andrew7234)
- dde4e55: cache genesisHeight in source client (@Andrew7234)
- 090ee16: cosmetic review fixes (@mitjat)
- 7852e91: db: Merge migrations (@mitjat)
- e61b97c: db: Remove extra_data fields (@mitjat)
- 23fd45c: e2e: do not use a separate set of migrations (@mitjat)
- d2f76e6: fix address/pubkey validation; /transactions/tx spec; dedup storage.ContextKey (@Andrew7234)
- 38a6fbe: generator: Change verbiage: 'migration generator'->'genesis processor' (@mitjat)
- 5f7601a: generator: log if closing output fails (@pro-wh)
- 7f50d31: generator: produce deterministic output (@mitjat)
- a3b4620: generator: refactor into returning list of queries (@mitjat)
- c7aadad: generator: remove cmdline interface (@mitjat)
- 3207232: go mod tidy (@pro-wh)
- e02ecfa: infra: update github actions (@mitjat)
- d8d94c3: lint (@Andrew7234)
- 3bb52f8: lint (@mitjat)
- 9ff6557: lint (@mitjat)
- 850bf36: lint Id -> ID (@Andrew7234)
- add70f2: linter (@Andrew7234)
- bd4d604: more/improved logging (@mitjat)
- 70048d0: post-rebase fixes (@Andrew7234)
- 20ca204: postgres: tests: Use SkipIfShort utility func (@mitjat)
- 0fafa77: refactor sql out of api package (@Andrew7234)
- eb549f9: remove *height from openapi spec (@Andrew7234)
- 57f2a6d: revert timestamp->produced_at rename (@mitjat)
- 7e4dcb7: simplify ConsensusClient impl (@mitjat)
- fbce381: storage: log if closing batch fails (@pro-wh)
- 311bfab: strip "main" from analyzer names (@mitjat)
- b2fffe3: update docs and name (@mitjat)
Full Changelog: v0.0.2...v0.0.3
Running the indexer
https://github.com/oasislabs/oasis-indexer/blob/v0.0.3/README.md#docker-development
Oasis Indexer 0.0.2
Changelog
Other changes
- f2dca71: .github: Add Andrew7234 to CODEOWNERS (@ennsharma)
- 8d178ee: Account for network upgrade debonding (@aefhm)
- b359585: Add Epoch to StakingData (@aefhm)
- 1561535: Add TODO for inaccurate column (@aefhm)
- dcf430d: Add amount of delegated shares (@aefhm)
- 33dd0bd: Add analyzer for commission schedule (@aefhm)
- df21fae: Add back pagination to 1000 Validators (@aefhm)
- f034b59: Add blocks sanity check (@ennsharma)
- f9195e4: Add delegations and debonding balance to Account response (@aefhm)
- ebe1bf4: Add delegations and debonding delegations (@aefhm)
- 7b016d4: Add e2e guards (@ennsharma)
- 8ab3f46: Add epoch analyzer (@aefhm)
- b0458e6: Add governance checkpoint test (@ennsharma)
- e074e60: Add metadata registry entry analyzer (@aefhm)
- 8031a9f: Add migration for reserved addresses (@aefhm)
- c5c013a: Add migrations file validation (@ennsharma)
- 7cb6ad2: Add missing Height param to client returned data (@aefhm)
- 28e439a: Add ordering of Validators by voting_power (@aefhm)
- 8856131: Add reserved addresses account generation (@aefhm)
- 266eb28: Add round processing (@ennsharma)
- a2a84ac: Add runtime context to tx verification (@ennsharma)
- c065386: Add tx sender index (@ennsharma)
- 0527b5a: Add up migration for debonding delegations id column (@aefhm)
- 96dd3a8: Add validators (@aefhm)
- ba9ad43: Address review (@ennsharma)
- 73b7067: Bump go-chi/chi to v5 (@aefhm)
- ded165a: Checkpoint for the day (@ennsharma)
- de373b1: Create shim for runtime storage interface (@ennsharma)
- a079fa2: Debonding delegations totaled by end epoch (@aefhm)
- dd31614: Fix API (@aefhm)
- 5529836: Fix GetValidators return key (@aefhm)
- b5a77c7: Fix ListEpochs endpoint (@aefhm)
- e1481b2: Fix Validator node selector query (@aefhm)
- 83501c1: Fix analyzer (@aefhm)
- ca9cb87: Fix client typo (@aefhm)
- fd5dfbd: Fix commission analyzer (@aefhm)
- 2e81871: Fix debonding delegations (@aefhm)
- 9ff713c: Fix deletion of debonding delegations on reclaim (@aefhm)
- d02a1be: Fix deletion query (@aefhm)
- 0093d0b: Fix doc building command (@aefhm)
- e744df3: Fix duplicate debonding delegations (@aefhm)
- d811a90: Fix empty responses in lists (@aefhm)
- 8878c1c: Fix epoch and bound bounds (@aefhm)
- 445b3f2: Fix escrow debond calculation (@aefhm)
- 3806c4b: Fix escrow on slash (@aefhm)
- 1b47a88: Fix large number overflow (@aefhm)
- 6ebf866: Fix lint (@ennsharma)
- c3b6db7: Fix lint (@ennsharma)
- 1e47bb9: Fix negative delegation shares (@aefhm)
- 2e5abe4: Fix omission of Validators without commission schedules (@aefhm)
- c6bdaa6: Fix staking tests (@ennsharma)
- fe70a43: Fix whitespace (@aefhm)
- b61888f: Improve API documentation specificity (@aefhm)
- a76a0bd: Improve SQL style (@aefhm)
- f515752: Improve error checking (@aefhm)
- e8dc1e4: Improve style (@aefhm)
- 367f2ab: Initialize framework for aggregate statistics (@ennsharma)
- 9c74bd2: Initialize shim for emerald analyzer (@ennsharma)
- 10925cd: Initialize source storage for runtimes (@ennsharma)
- 2089889: Reference default pagination (@aefhm)
- 47ef989: Remove default pagination for Validators (@aefhm)
- c435859: Remove duplicates (@aefhm)
- d94b362: Remove reclaimed debonding delegations (@aefhm)
- 4a407de: Remove total field from Account (@aefhm)
- 66b4f4e: Rename go module (@ennsharma)
- 3e7e601: Rename migrations to address conflict (@aefhm)
- eadb1f9: Rename sender index migration correctly (@ennsharma)
- 3601231: Update API spec (@aefhm)
- 5bb63a0: Update Go dependencies (@aefhm)
- 6d71a6f: Update Go packages (@aefhm)
- 4b3bd19: Update Oasis dependencies (@aefhm)
- 28c51bf: Update README local instructions (@aefhm)
- 24b22f0: Update go.mod file (@aefhm)
- 487fae8: Update v1 API spec (@aefhm)
- eaf3515: Upgrade github.com/spf13/cobra (@aefhm)
- 528e729: Use network debonding amount estimate (@aefhm)
- e2f6674: add additional ci test guards and allowances test (@ennsharma)
- 3262c6a: add governance test (@ennsharma)
- c94e000: add some additional logging (@ennsharma)
- 58ec675: address comment (@ennsharma)
- 21f02b0: address comments (@ennsharma)
- f54699d: address comments and lint (@ennsharma)
- 6abd7d2: address lint (@ennsharma)
- 44f1bd9: api: Minor transaction endpoint fixes (@ennsharma)
- 0547171: apply lint (@ennsharma)
- dd74a6e: apply query factory suggestion (@ennsharma)
- aa0b7e2: bugfix (@ennsharma)
- 8c7341a: do with just healthcheck test (@ennsharma)
- 4748421: finish modules processors (@ennsharma)
- 11d92e9: fix 104 (@ennsharma)
- bdc020f: fix bugs (@ennsharma)
- 542317d: fix env var name (@ennsharma)
- 23bc9cc: fix metrics (@ennsharma)
- 2cf57a7: fix more bugs (@ennsharma)
- d173e25: fix openapi spec (@ennsharma)
- c6169f5: fix some bugs and add registry tests (@ennsharma)
- 59bd3e0: fix test (@ennsharma)
- f175f41: fix timestamptz (@ennsharma)
- 286bc0f: ignore lint on single case switch (@ennsharma)
- 417070e: lint (@ennsharma)
- a1021c5: make tests more ergonomic and interpretable (@ennsharma)
- 86da95f: merge (@ennsharma)
- fc28471: merge (@ennsharma)
- 699a599: merge branch (@ennsharma)
- 0fb073f: minor nits (@ennsharma)
- cf74274: nit (@ennsharma)
- 7691b26: paginate more goodly (@ennsharma)
- 57fd08f: remove pagination.Order and use defaults instead (@ennsharma)
- 3c4fcb0: remove spurious log (@ennsharma)
- db120df: resolve 101 (@ennsharma)
- 33db98a: resolve 106 (@ennsharma)
- b918b24: resolve 107 (@ennsharma)
- db39d20: resolve 108 (@ennsharma)
- 2b22f87: resolve 109 (@ennsharma)
- b0c74e7: resolve 61 (@ennsharma)
- d95922a: resolve comments (@ennsharma)
- 75e7099: resolve conflicts (@ennsharma)
- c1bf564: storage: Add oasis client test (@ennsharma)
- ec6fe05: tests: Add registry and staking basic e2es (@ennsharma)
- e555dd8: tests: Add staking genesis test with checkpointing (@ennsharma)
- f11a1b7: tests: Fix registry entities validation (@ennsharma)
- ff1cad1: tests: Fix runtime genesis test (@ennsharma)
- e8c22fd: ...
Oasis Indexer 0.0.1
Changelog
New Features
- 53ba920: feat: Deprecate (most) flags in favor of config file (#63) (@ennsharma)
- 1b74ddf: feat: document release process and improve code hygiene (#58) (@ennsharma)
Bug fixes
- ed5e392: fix: Implement log test suite (#70) (@ennsharma)
- ff1f752: fix: Implement target storage test suite (#68) (@ennsharma)
- 3acb03b: fix: Switch LICENSE to Apache2 (#72) (@ennsharma)
Other changes
- 7b0eb1e: .github: Build docker image on commits to
main
(#38) (@ennsharma) - b2075b5: API Layer (#28) (@ennsharma)
- 4ba2540: Add cockroach client (@ennsharma)
- 94fe3d2: Add connection pool boilerplate (@ennsharma)
- c60ea64: Add generator subcommand (@ennsharma)
- ac3fafc: Add gitignore file (@aefhm)
- fb83554: Add indexer Dockerfile (@ennsharma)
- 749f8f8: Add indexer dockerfile (@ennsharma)
- 457aa28: Add indexer dockerfile (@ennsharma)
- abdcaaf: Add initial migrations for target storage (@ennsharma)
- 1d09b3f: Add lint check (#45) (@ennsharma)
- 5c9d4a3: Add more boilerplate, misc stuff (@Andrew7234)
- e189fe8: Add more local instructions (@aefhm)
- 54c3599: Add oasis-2 chain migration (@ennsharma)
- d758c15: Add oasis-node client (@aefhm)
- 8843d3e: Add oasis-node client (@aefhm)
- 4b08e0d: Add prometheus pull service (@Andrew7234)
- 47eccc6: Add registry, staking, schedule, and governance analyzers (#48) (@aefhm)
- 881cb22: Add skeleton code (@ennsharma)
- 4e1c926: Add some minor comments (@ennsharma)
- 6c3102c: Add some template default metrics for db and requests (@Andrew7234)
- fa9bb62: Add target storage interface (@ennsharma)
- 0a3c212: Address review comments (@ennsharma)
- add872c: Bump Oasis SDK and core to 22 post Damask (@aefhm)
- ab2be3b: Bump config chaincontext post Damask (@aefhm)
- fd82649: Bump workable go.sum (@aefhm)
- ffaec26: Connect to CockroachDB locally in Docker (#34) (@aefhm)
- 8044067: Enable Analyzer Auto-Migration (#41) (@aefhm)
- 1fe4c6a: Enable generating migrations from file (@ennsharma)
- e08cadf: Fill in storage API (@ennsharma)
- 2a58a28: Fix (@ennsharma)
- af9a589: Fix config typo (@aefhm)
- fd32129: Fix typo in RPC endpoint (#69) (@aefhm)
- 61aabb8: Flatten go/ dir (#37) (@ennsharma)
- f30b2f5: Initial cmd shim (@ennsharma)
- 2ced1dc: Initialize storage interface (@ennsharma)
- 87ea6d5: Initialize structured logging package (@ennsharma)
- de72c57: Integrate common logging (@ennsharma)
- aa46bb2: Local Development via Docker (#30) (@aefhm)
- dda50d9: Minor local dev fix (#57) (@aefhm)
- 608db9f: Move init into command (@ennsharma)
- 6774df8: Remove processor module (@ennsharma)
- 66dc527: Update README.md (@ennsharma)
- 79725ae: Update config and readme (@ennsharma)
- b21b6b5: Use Postgres again (#47) (@aefhm)
- 5f0daae: Use config yaml for network start (@aefhm)
- 79f7385: add test migrations (@ennsharma)
- bea3dbb: address comment (@ennsharma)
- 810ddea: address comments (@Andrew7234)
- 7f27a7e: analyzer: Consensus Main (#36) (@ennsharma)
- 84a602b: api: Initialize OpenAPI spec (#42) (@ennsharma)
- 81f3257: config: Network Configuration (#39) (@ennsharma)
- f9256c3: fix bad migrations push (@ennsharma)
- dfb781a: housekeeping rearrangement (@ennsharma)
- e13ee2a: make migrations file flag (#55) (@ennsharma)
- e69b60e: make slightly nicer for extension (@ennsharma)
- ed08dc6: metrics: Add database and request metrics (#52) (@ennsharma)
- c179fd1: misc fixes (@Andrew7234)
- 1d4b775: nit (@Andrew7234)
- 4e25567: nit (@ennsharma)
- 4deff8c: nits (@ennsharma)
- 9a6c323: oasis-indexer: Misc fixes (#56) (@ennsharma)
- b9b1048: oasis-indexer: More repository cleanup (#54) (@ennsharma)
- 6bc9d8a: patch (@ennsharma)
- b005f17: remove genesis file (@ennsharma)
- 796627b: remove rpc hardcoding (@ennsharma)
- 30127fc: rename getters more idiomatically (@ennsharma)
- 58ad491: resolve conflict (@ennsharma)
Full Changelog: ...v0.0.1
Running the indexer
https://github.com/oasislabs/oasis-indexer/blob/v0.0.1/README.md#docker-development